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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bumpreqs-0.9.1.tar.gz
.
File metadata
- Download URL: bumpreqs-0.9.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b69ef5adc70337c9b27ac011e975416a75c54c2ceb59344fbbdc799187608ddf |
|
MD5 | a40e4837d67b5192a3624f6621bc5c55 |
|
BLAKE2b-256 | b2f03cc4a847a4a64a84bc943ce06668b4275e11462c6f507afc046e01d924b8 |
File details
Details for the file bumpreqs-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: bumpreqs-0.9.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c10a6fb3b5ca5c38e8f93717b8d3feb34ba815a4ab56d48f38c45f87f747794 |
|
MD5 | 1288e5c5328da4e7c663f05c5534ff05 |
|
BLAKE2b-256 | c5a3ffb10989644dab49c74b9badacf86c18b356c13683b290b9ea729b1ddb0f |