Skip to content

Commit

Permalink
Revert "Merge pull request #633 from cherrypy/debt/drop-py37"
Browse files Browse the repository at this point in the history
This reverts commit f82aee6, reversing
changes made to 2b3b3eb.
  • Loading branch information
webknjaz committed Apr 17, 2024
1 parent 3591a1c commit 688fc83
Show file tree
Hide file tree
Showing 25 changed files with 1,792 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ env:
PRE_COMMIT_COLOR: always
PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`
PYTHONIOENCODING: utf-8
PYTHONLEGACYWINDOWSSTDIO: 1 # Python 3.6 hack
PYTHONUTF8: 1
TOX_PARALLEL_NO_SPINNER: 1
TOX_TESTENV_PASSENV: >- # Make tox-wrapped tools see color requests
Expand Down Expand Up @@ -911,13 +912,46 @@ jobs:
3.10
- 3.9
- 3.8
- pypy-3.7
- 3.7
- 3.6
- pypy-3.6
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-11.0
- macos-latest
- windows-2019
- windows-2022
exclude:
# NOTE: Windows PyPy jobs are excluded to address the tox bug
# NOTE: https://github.com/tox-dev/tox/issues/1704.
# NOTE: They should be re-added once it's fixed.
- os: windows-2022
python-version: pypy-3.6
- os: windows-2019
python-version: pypy-3.6
# NOTE: Windows PyPy 3.7 jobs are excluded because of the lack
# NOTE: of the build deps to compile cryptography.
# NOTE: They should be re-added once it's fixed.
- os: windows-2022
python-version: pypy-3.7
- os: windows-2019
python-version: pypy-3.7
# NOTE: macOS PyPy jobs are excluded because installing cryptography
# NOTE: needs openssl headers that aren't present at the moment.
# TODO: Remove the exclusions once this is addressed.
- os: macOS-11.0
python-version: pypy-3.6
- os: macos-latest
python-version: pypy-3.6
- os: macos-11.0
python-version: pypy-3.7
- os: macos-latest
python-version: pypy-3.7
# NOTE: Python 3.6 is not available for Ubuntu 22.04
- os: ubuntu-22.04
python-version: 3.6

continue-on-error: >-
${{
Expand Down Expand Up @@ -1021,6 +1055,16 @@ jobs:
--user
'${{ env.TOX_VERSION }}'
- name: Patch tox.ini for Python 3.6 under Windows
if: >-
runner.os == 'Windows'
&& matrix.python-version == '3.6'
run: >-
sed -i
's/^package_env\(\s\)\?=.*/package_env = py36-win-dummy/g'
tox.ini
shell: bash

- name: Download all the dists
uses: actions/download-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions requirements/tox-py36-cp36-darwin-x86_64.in
151 changes: 151 additions & 0 deletions requirements/tox-py36-cp36-darwin-x86_64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
# pip-compile --allow-unsafe --output-file=requirements/tox-py36-cp36-darwin-x86_64.txt --strip-extras requirements/tox-py36-cp36-darwin-x86_64.in setup.cfg
#
attrs==22.2.0
# via pytest
certifi==2022.12.7
# via requests
cffi==1.15.1
# via cryptography
chardet==4.0.0
# via requests
charset-normalizer==2.0.12
# via requests
colorama==0.4.5
# via pytest-watch
commonmark==0.9.1
# via rich
coverage==6.2
# via
# -r requirements/tox-py36-cp36-darwin-x86_64.in
# pytest-cov
cryptography==40.0.1
# via
# pyopenssl
# trustme
dataclasses==0.8
# via rich
docopt==0.6.2
# via pytest-watch
execnet==1.9.0
# via pytest-xdist
idna==3.4
# via
# requests
# trustme
importlib-metadata==4.8.3 ; python_version < "3.8"
# via
# cheroot (setup.cfg)
# pluggy
# pytest
# pytest-rerunfailures
importlib-resources==5.4.0
# via jaraco.text
iniconfig==1.1.1
# via pytest
jaraco.context==4.1.1
# via
# -r requirements/tox-py36-cp36-darwin-x86_64.in
# jaraco.text
jaraco.functools==3.4.0
# via
# cheroot (setup.cfg)
# jaraco.text
# tempora
jaraco.text==3.7.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
more-itertools==8.14.0
# via
# cheroot (setup.cfg)
# jaraco.functools
packaging==21.3
# via
# pytest
# pytest-rerunfailures
# pytest-sugar
pluggy==1.0.0
# via pytest
portend==3.0.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pprintpp==0.4.0
# via pytest-clarity
py==1.11.0
# via
# pypytools
# pytest
# pytest-forked
pycparser==2.21
# via cffi
pygments==2.14.0
# via rich
pyopenssl==23.1.1 ; implementation_name != "pypy"
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pyparsing==3.0.9
# via packaging
pypytools==0.6.2
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest==6.2.5
# via
# -r requirements/tox-py36-cp36-darwin-x86_64.in
# pytest-clarity
# pytest-cov
# pytest-forked
# pytest-mock
# pytest-rerunfailures
# pytest-sugar
# pytest-watch
# pytest-xdist
pytest-clarity==1.0.1
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-cov==2.12.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-forked==1.4.0 ; sys_platform != "win32"
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-mock==3.6.1
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-rerunfailures==10.3
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-sugar==0.9.6
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-watch==4.2.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytest-xdist==3.0.2
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
pytz==2023.3
# via tempora
requests==2.27.1
# via
# -r requirements/tox-py36-cp36-darwin-x86_64.in
# requests-toolbelt
# requests-unixsocket
requests-toolbelt==0.10.1
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
requests-unixsocket==0.3.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
rich==12.6.0
# via pytest-clarity
tempora==4.1.2
# via portend
termcolor==1.1.0
# via pytest-sugar
toml==0.10.2
# via pytest
tomli==1.2.3
# via coverage
trustme==0.9.0
# via -r requirements/tox-py36-cp36-darwin-x86_64.in
typing-extensions==4.1.1
# via
# importlib-metadata
# rich
urllib3==1.26.15
# via requests
watchdog==2.3.1
# via pytest-watch
zipp==3.6.0
# via
# importlib-metadata
# importlib-resources
1 change: 1 addition & 0 deletions requirements/tox-py36-cp36-linux-x86_64.in
151 changes: 151 additions & 0 deletions requirements/tox-py36-cp36-linux-x86_64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
# pip-compile --allow-unsafe --output-file=requirements/tox-py36-cp36-linux-x86_64.txt --strip-extras requirements/tox-py36-cp36-linux-x86_64.in setup.cfg
#
attrs==22.2.0
# via pytest
certifi==2022.12.7
# via requests
cffi==1.15.1
# via cryptography
chardet==4.0.0
# via requests
charset-normalizer==2.0.12
# via requests
colorama==0.4.5
# via pytest-watch
commonmark==0.9.1
# via rich
coverage==6.2
# via
# -r requirements/tox-py36-cp36-linux-x86_64.in
# pytest-cov
cryptography==40.0.1
# via
# pyopenssl
# trustme
dataclasses==0.8
# via rich
docopt==0.6.2
# via pytest-watch
execnet==1.9.0
# via pytest-xdist
idna==3.4
# via
# requests
# trustme
importlib-metadata==4.8.3 ; python_version < "3.8"
# via
# cheroot (setup.cfg)
# pluggy
# pytest
# pytest-rerunfailures
importlib-resources==5.4.0
# via jaraco.text
iniconfig==1.1.1
# via pytest
jaraco.context==4.1.1
# via
# -r requirements/tox-py36-cp36-linux-x86_64.in
# jaraco.text
jaraco.functools==3.4.0
# via
# cheroot (setup.cfg)
# jaraco.text
# tempora
jaraco.text==3.7.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
more-itertools==8.14.0
# via
# cheroot (setup.cfg)
# jaraco.functools
packaging==21.3
# via
# pytest
# pytest-rerunfailures
# pytest-sugar
pluggy==1.0.0
# via pytest
portend==3.0.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pprintpp==0.4.0
# via pytest-clarity
py==1.11.0
# via
# pypytools
# pytest
# pytest-forked
pycparser==2.21
# via cffi
pygments==2.14.0
# via rich
pyopenssl==23.1.1 ; implementation_name != "pypy"
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pyparsing==3.0.9
# via packaging
pypytools==0.6.2
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest==6.2.5
# via
# -r requirements/tox-py36-cp36-linux-x86_64.in
# pytest-clarity
# pytest-cov
# pytest-forked
# pytest-mock
# pytest-rerunfailures
# pytest-sugar
# pytest-watch
# pytest-xdist
pytest-clarity==1.0.1
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-cov==2.12.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-forked==1.4.0 ; sys_platform != "win32"
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-mock==3.6.1
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-rerunfailures==10.3
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-sugar==0.9.6
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-watch==4.2.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytest-xdist==3.0.2
# via -r requirements/tox-py36-cp36-linux-x86_64.in
pytz==2023.3
# via tempora
requests==2.27.1
# via
# -r requirements/tox-py36-cp36-linux-x86_64.in
# requests-toolbelt
# requests-unixsocket
requests-toolbelt==0.10.1
# via -r requirements/tox-py36-cp36-linux-x86_64.in
requests-unixsocket==0.3.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
rich==12.6.0
# via pytest-clarity
tempora==4.1.2
# via portend
termcolor==1.1.0
# via pytest-sugar
toml==0.10.2
# via pytest
tomli==1.2.3
# via coverage
trustme==0.9.0
# via -r requirements/tox-py36-cp36-linux-x86_64.in
typing-extensions==4.1.1
# via
# importlib-metadata
# rich
urllib3==1.26.15
# via requests
watchdog==2.3.1
# via pytest-watch
zipp==3.6.0
# via
# importlib-metadata
# importlib-resources
1 change: 1 addition & 0 deletions requirements/tox-py36-cp36-win32-amd64.in
Loading

0 comments on commit 688fc83

Please sign in to comment.