Skip to content

Commit

Permalink
Drop support for Python 3.6 since its now officialy EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
tobgu committed Jan 12, 2022
1 parent 487f28a commit 91ee4f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 20 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python: [36, 37, 38, 39, 310]
python: [37, 38, 39, 310]
bitness: [32, 64]
include:
# Run 32 and 64 bit version in parallel for Linux and Windows
Expand All @@ -44,10 +44,7 @@ jobs:
- os: macos-latest
bitness: 64
platform_id: macosx_universal2
# Python 3.6 and 3.7 did not have universal2 wheel support yet
- os: macos-latest
python: 36
platform_id: macosx_x86_64
# Python 3.7 does not have universal2 wheel support yet
- os: macos-latest
python: 37
platform_id: macosx_x86_64
Expand Down Expand Up @@ -81,15 +78,6 @@ jobs:
with:
path: ./wheelhouse/*.whl

# - name: Publish (Release)
# if: github.event_name == 'release'
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: |
# pip install twine
# twine upload wheelhouse/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.9", "3.10"]
python-version: ["3.7", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ In this regard, thaw operates as the inverse of freeze so will thaw values insid
Compatibility
-------------
Pyrsistent is developed and tested on Python 3.6+ and PyPy3.
Pyrsistent is developed and tested on Python 3.7+ and PyPy3.
Performance
-----------
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def build_extension(self, ext):
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -80,5 +79,5 @@ def build_extension(self, ext):
cmdclass={'build_ext': custom_build_ext},
packages=['pyrsistent'],
package_data={'pyrsistent': ['py.typed', '__init__.pyi', 'typing.pyi']},
python_requires='>=3.6',
python_requires='>=3.7',
)
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
# and then run "tox" from this directory.

[tox]
envlist = py36,py37,py38,py39,py310,pypy3,memorytest38,doctest38,coverage-py38
envlist = py37,py38,py39,py310,pypy3,memorytest38,doctest38,coverage-py38

[gh-actions]
python =
3.6: py36
3.7: py37
3.9: py39
3.10: py310
Expand Down

0 comments on commit 91ee4f0

Please sign in to comment.