From 3ae07d450a34863125545e32512cc1eeb15cc9bf Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 7 Oct 2021 00:07:59 -0400 Subject: [PATCH] Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 (#278) --- .github/workflows/build-linux-wheels.yml | 4 ++-- .github/workflows/build-macos-wheels.yml | 4 ++-- .travis.yml | 3 +-- CHANGELOG | 3 ++- docs/changelog.rst | 3 ++- setup.py | 6 +++--- 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-linux-wheels.yml b/.github/workflows/build-linux-wheels.yml index 7b1f0f0..049cf40 100644 --- a/.github/workflows/build-linux-wheels.yml +++ b/.github/workflows/build-linux-wheels.yml @@ -10,7 +10,7 @@ jobs: - name: Build manylinux1 Python wheels uses: RalfG/python-wheels-manylinux-build@e645ea95dae94f606ab25f95f44d3a2caf55764c with: - python-versions: 'cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39' + python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310' pip-wheel-args: '-w ./wheelhouse --no-deps' - name: Move to dist/ run: | @@ -32,7 +32,7 @@ jobs: - name: Build manylinux aarch64 Python wheels uses: RalfG/python-wheels-manylinux-build@v0.3.4-manylinux2014_aarch64 with: - python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39' + python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310' pip-wheel-args: '-w ./wheelhouse --no-deps' - name: Move to dist/ run: | diff --git a/.github/workflows/build-macos-wheels.yml b/.github/workflows/build-macos-wheels.yml index 5e93c1f..394377a 100644 --- a/.github/workflows/build-macos-wheels.yml +++ b/.github/workflows/build-macos-wheels.yml @@ -7,11 +7,11 @@ jobs: runs-on: macos-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Build wheels diff --git a/.travis.yml b/.travis.yml index 5971dfe..babbf91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ -dist: xenial +dist: focal language: python python: - - 3.5 - 3.6 - 3.7 - 3.8 diff --git a/CHANGELOG b/CHANGELOG index 7be3a3d..81fed0a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ v0.7 (unreleased): -- ... +- Dropped support for end-of-life Python 3.5. +- Added support for Python 3.10. (#278) v0.6.3 (released September 2, 2021): diff --git a/docs/changelog.rst b/docs/changelog.rst index 61a9dbd..fabb244 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,7 +7,8 @@ v0.7 Unreleased (`changes `__): -- ... +- Added support for Python 3.10. + (`#278 `_) v0.6.3 ------ diff --git a/setup.py b/setup.py index a8540d5..203b95a 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #! /usr/bin/env python # -# Copyright (C) 2012-2020 Ben Kurtovic +# Copyright (C) 2012-2021 Ben Kurtovic # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -87,7 +87,7 @@ setup( else [], tests_require=["pytest"], version=__version__, - python_requires=">= 3.5", + python_requires=">= 3.6", author="Ben Kurtovic", author_email="ben.kurtovic@gmail.com", url="https://github.com/earwig/mwparserfromhell", @@ -105,11 +105,11 @@ setup( "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Text Processing :: Markup", ], )