Skip to content

Commit

Permalink
Update to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed May 3, 2024
1 parent 1c94a86 commit 82b5b96
Show file tree
Hide file tree
Showing 7 changed files with 508 additions and 416 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## 4.3.3 / Unreleased

- Deprecate Python 3.8 (EOL: 2024-10-14)
- Build Windows installer with Python 3.12
- Update to Cheroot 10.8

## 4.3.2 / 2024-03-29

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ json5 = "*"

[requires]
# cx_Freeze 6.x does not yet support Pathon 3.12
python_version = "3.11"
python_version = "3.12"

[pipenv]
# allow_prereleases = true
884 changes: 487 additions & 397 deletions Pipfile.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/source/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ Create and Activate a Virtual Environment

Virtual environments allow us to develop and test in a sandbox, without affecting our
system otherwise. |br|
We need `Python 2.7 <https://www.python.org/downloads/>`_,
`Python 3.4+ <https://www.python.org/downloads/>`_,
and `pip <https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip>`_ on our system.
We need `Python 3.9+ <https://www.python.org/downloads/>`_,
and `pip <https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip>`_
on our system.

If you want to run tests on *all supported* platforms, install Python 3.7, 3.8,
3.9, 3.10, and 3.11.
If you want to run tests on *all supported* platforms, install Python
3.9, 3.10, 3.11 and 3.12.

On Linux/OS X, we recommend to use `pipenv <https://github.com/kennethreitz/pipenv>`_
to activate a virtual environment::
Expand Down
18 changes: 9 additions & 9 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

-r requirements.txt

cheroot~=8.5
Paste~=2.0
cheroot~=10.0
Paste~=3.0
black~=24.3
pytest~=2.7
pytest-cov~=1.8
pytest~=8.2
pytest-cov~=5.0
recommonmark
requests
ruff
setuptools~=40.2
setuptools~=69.5
#Sphinx
#sphinx_rtd_theme
stressor
tox~=3.13
twine~=1.11
WebTest~=2.0
tox~=4.15
twine~=5.0
WebTest~=3.0
wheel
yabs>=0.5
yabs>=0.6
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defusedxml~=0.7.1
Jinja2~=3.0
json5~=0.8.5
Jinja2~=3.1
json5~=0.9
python-pam~=2.0
PyYAML~=6.0
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ envlist =
py39 # EOL 2025-10-05
py38 # EOL 2024-10-14
# Deprecated:
py37 # EOL 2023-06-27
# py37 # EOL 2023-06-27
# py36 # EOL 2021-12-21
# py35 # EOL 2020-09-13
# py34 # EOL 2019-03-18
Expand Down Expand Up @@ -152,7 +152,7 @@ commands =

[testenv:bdist_msi]
description = Build MSI installer in dist/ (Windows only)
# basepython = python3.7
# basepython = python3.12
changedir = .
deps =
cx_Freeze
Expand Down

0 comments on commit 82b5b96

Please sign in to comment.