Skip to content

Commit

Permalink
Bump minimum Python version to Python 3.8 (#264)
Browse files Browse the repository at this point in the history
This change bumps the minimum Python version to 3.8. This change is done as typing hints have been introduced and lower Python versions are deprecated. The version of shiv is changed to 1.1.0 to indicate this breaking change.
  • Loading branch information
f-ewald authored Nov 4, 2024
1 parent a48703e commit a353d10
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ shiv's primary goal is making distributing Python applications fast & easy.

📗 Full documentation can be found [here](http://shiv.readthedocs.io/en/latest/).

### sys requirements
### System Requirements

- python3.8+
- Python >= 3.8
- linux/osx/windows

### quickstart
Expand Down
2 changes: 1 addition & 1 deletion docs/cli-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Choosing a Python Interpreter Path

A good overall interpreter path as passed into :option:`--python` is ``/usr/bin/env python3``.
If you want to make sure your code runs on the Python version you tested it on,
include the minor version (e.g. ``… python3.6``) – use what fits your circumstances best.
include the minor version (e.g. ``… python3.8``) – use what fits your circumstances best.

On Windows, the Python launcher ``py`` knows how to handle shebangs using ``env``,
so it's overall the best choice if you target multiple platforms with a pure Python zipapp.
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ install_requires =
click>=6.7,!=7.0
pip>=9.0.3
setuptools
importlib_resources; python_version < "3.7"
python_requires = >=3.6
python_requires = >=3.8
include_package_data = True

[options.extras_require]
Expand Down
2 changes: 1 addition & 1 deletion src/shiv/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.8"
__version__ = "1.1.0"

0 comments on commit a353d10

Please sign in to comment.