Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements #6628

Merged
merged 10 commits into from
May 5, 2019
Merged

Update requirements #6628

merged 10 commits into from
May 5, 2019

Conversation

sharkykh
Copy link
Contributor

@sharkykh sharkykh commented Apr 30, 2019

  • Update dependency lists:
    • Remove oauth2 from requirements.txt
    • Fix adba commit
    • Fix cfscrape package name
    • Fix subliminal commit
    • Fix deluge-client module
    • Add markers for some dependencies
  • Update _check_python_version to disallow < 3.5
  • Better requirement URLs for github deps
    Use tar.gz archives from codeload.github.com instead of git.
    Should be faster and lighter.
  • Reorder columns (remove Status)
  • Sort lists by package name
  • Move all packages for Python < 3.5 into ext2:
    • Move singledispatch to ext2
    • Move backports_abc to ext2
    • Move contextlib2 to ext2 Used everywhere regardless of Python version
  • Remove markers from list
    Use folder to apply markers when generating requirements.txt
  • Update requirements.txt based off of list to only contain:
    • Packages directly imported/used by medusa
    • Git dependencies
  • Remove unreachable code. See medusa/init/__init__.py: _check_python_version executes first.
  • Fix validators version

FYI, I am using medusa_vendor_tools to parse and generate requirements.txt from this list and sort the list by the package name.

@sharkykh sharkykh force-pushed the feature/update-requirements branch 4 times, most recently from de03520 to c8986d9 Compare May 3, 2019 14:36
sharkykh added 9 commits May 4, 2019 07:47
  - Remove `oauth2` from `requirements.txt`
  - Fix `adba` commit
  - Fix `cfscrape` package name
  - Fix `subliminal` commit
  - Fix `deluge-client` module
  - Add markers for some dependencies
Use `tar.gz` archives from `codeload.github.com` instead of git.
Should be faster and lighter.
  - Move `singledispatch` to `ext2`
    Anything for Python versions below 3.4 is Python 2.7 in our case
  - Move `backports_abc` to `ext2`
    Anything for Python versions below 3.5 is Python 2.7 in our case
Use `folder` to apply markers when generating `requirements.txt`
To only contain:
  - Packages directly imported/used by `medusa`
  - Git dependencies
See `medusa/init/__init__.py`:
`_check_python_version` executes first
@sharkykh sharkykh force-pushed the feature/update-requirements branch from c8986d9 to de50d12 Compare May 4, 2019 17:56
Copy link
Contributor

@medariox medariox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@medariox medariox merged commit c24e989 into develop May 5, 2019
@medariox medariox deleted the feature/update-requirements branch May 5, 2019 12:41
Thilas pushed a commit to Thilas/Medusa that referenced this pull request Jun 5, 2019
* Update dependency lists:

  - Remove `oauth2` from `requirements.txt`
  - Fix `adba` commit
  - Fix `cfscrape` package name
  - Fix `subliminal` commit
  - Fix `deluge-client` module
  - Add markers for some dependencies

* Update `_check_python_version` to disallow `< 3.5`

* Better requirement URLs for github deps

Use `tar.gz` archives from `codeload.github.com` instead of git.
Should be faster and lighter.

* Reorder columns (remove `Status`)

* Sort lists by package name

* Move all packages for Python < 3.5 into `ext2`:

  - Move `singledispatch` to `ext2`
    Anything for Python versions below 3.4 is Python 2.7 in our case
  - Move `backports_abc` to `ext2`
    Anything for Python versions below 3.5 is Python 2.7 in our case

* Remove markers from list

Use `folder` to apply markers when generating `requirements.txt`

* Update `requirements.txt` based off of list

To only contain:
  - Packages directly imported/used by `medusa`
  - Git dependencies

* Remove unreachable code

See `medusa/init/__init__.py`:
`_check_python_version` executes first

* Fix `validators` version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants