Skip to content

Commit

Permalink
Remove 3.5 from the build configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jun 20, 2023
1 parent 1db0fc6 commit 2788050
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 28 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
# Jan 2023: We have pinned back from ubuntu-latest (which is
# now ubuntu 22.04) because older Python versions like
# 3.5, 3.6 and presumably 2.7 are not available in it.
os: [ubuntu-20.04, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
os: [ubuntu-latest, macos-latest]
exclude:
- os: macos-latest
python-version: 3.12-dev
Expand Down Expand Up @@ -95,12 +92,12 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
twine upload --skip-existing dist/*
# XXX: Is non-standard thread mode even needed?
test_non_standard_thread:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.5, "3.11"]
python-version: ["3.11"]
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<https://github.com/python-greenlet/greenlet/pull/327>`_; thanks go
to (at least) Michael Droettboom, Andreas Motl, Thomas A Caswell,
raphaelauv, Hugo van Kemenade, Mark Shannon, and Petr Viktorin.
- Remove support for end-of-life Python versions, including Python 2.7
and Python 3.5.


2.0.2 (2023-01-28)
Expand Down
13 changes: 0 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ environment:
PYTHON_EXE: python
GWHEEL_ONLY: true

- PYTHON: "C:\\Python35-x64"
PYTHON_ARCH: "64"
PYTHON_VERSION: "3.5.x"
PYTHON_EXE: python
GWHEEL_ONLY: true

# Untested 32-bit versions. As above, we don't expect any variance
# from the tested 32-bit versions, OR they are very EOL.

Expand All @@ -116,13 +110,6 @@ environment:
PYTHON_EXE: python
GWHEEL_ONLY: true

- PYTHON: "C:\\Python35"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.5.x"
PYTHON_EXE: python
GWHEEL_ONLY: true



cache:
- "%TMP%\\py\\"
Expand Down
8 changes: 1 addition & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def get_greenlet_version():
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand All @@ -242,17 +241,12 @@ def get_greenlet_version():
extras_require={
'docs': [
'Sphinx',
# 0.18b1 breaks sphinx 1.8.5 which is the latest version that runs
# on Python 2. The version pin sphinx itself contains isn't specific enough.
'docutils < 0.18; python_version < "3"',
],
'test': [
'objgraph',
# Sigh, all releases of this were yanked from PyPI.
#'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"',
'psutil',
],
},
python_requires=">=3.5",
python_requires=">=3.6",
zip_safe=False,
)
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[tox]
envlist =
py35,py36,py37,py38,py39,py310,py27-ns,py310-ns,py311,py311-ns,docs
py36,py37,py38,py39,py310,py27-ns,py310-ns,py311,py311-ns,docs

# XXX: Is non-standard thread mode still needed? Check on that.
[testenv]
setenv =
ns: CPPFLAGS=-DG_USE_STANDARD_THREADING=0
Expand Down

0 comments on commit 2788050

Please sign in to comment.