Skip to main content

Update requirements to latest

Project description

bumpreqs

Usage

$ pip install bumpreqs
$ python -m bumpreqs --write requirements*.txt

It will update the requirements to all use the latest versions. Most environment markers are ignored (although preserved on modified lines).

python_version and full_python_version

There is some rudimentary support that works for simple comparisons using the and operator (as in requires_python using ,). If there is any overlap between the constraint and release's requires_python, then it can be bumped.

The reason to check for any overlap rather than full overlap is because many project specify a constraint like python_version < "3.7" without a lower bound, and when checking against a release that has Requires-Python: >=3.6 the check would fail because 3.5 (or 2.1 or any other silly example) is not included. See currently open issue for future work.

License

bumpreqs is copyright Tim Hatch, and licensed under the MIT license. I am providing code in this repository to you under an open source license. This is my personal repository; the license you receive to my code is from me and not from my employer. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bumpreqs-0.9.3.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

bumpreqs-0.9.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file bumpreqs-0.9.3.tar.gz.

File metadata

  • Download URL: bumpreqs-0.9.3.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bumpreqs-0.9.3.tar.gz
Algorithm Hash digest
SHA256 fd1a6d7917e9eabb89476e7ff1edc5cf621830d68e274813acc0ac68c68af117
MD5 597b39e90be758c3f0e6b8ec209b5679
BLAKE2b-256 87a63b4468dcd1d0868c74a18170cb624d75f3becae0648ff912997d6677a409

See more details on using hashes here.

File details

Details for the file bumpreqs-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: bumpreqs-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bumpreqs-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29ae5c2a9f4abc2eb91f430fd9a682cfc210d2d36c14d262586d6218f15986c1
MD5 55f0a1663149aebc01c4cef4400b6834
BLAKE2b-256 c1f210563576d84f79626b92181702c20fc3f0332ee8c357c916ba7f2d67b5e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page