Skip to content

Commit

Permalink
release v1.4.1, updating classifiers and python_requires in setup.py (#…
Browse files Browse the repository at this point in the history
…657)

* release v1.4.1, fixing python_requires and classiers in setup.py

* drop Python 3.7 test cases

* Drop Python 3.7 tests from Appveyor as well

* Remove Python 3.7 entries in pyproject.toml

Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
  • Loading branch information
grlee77 and rgommers authored Sep 16, 2022
1 parent 401e753 commit c3fc042
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', '3.11-dev']
python-version: [3.8, 3.9, '3.10', '3.11-dev']
MINIMUM_REQUIREMENTS: [0]
USE_SCIPY: [0]
USE_SDIST: [0]
Expand All @@ -30,7 +30,7 @@ jobs:
OPTIONS_NAME: ["default"]
include:
- platform_id: manylinux_x86_64
python-version: 3.7
python-version: 3.8
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "minimum-req"
- platform_id: manylinux_x86_64
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
PIP_FLAGS: [""]
OPTIONS_NAME: ["default"]
include:
- python-version: 3.7
- python-version: 3.8
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "osx-minimum-req"
- python-version: 3.9
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ environment:
# as of Nov 2020, the default image has Visual Studio 2015, but Python 3.9
# is only available on the Visual Studio 2019 image.
matrix:
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
Expand Down
7 changes: 7 additions & 0 deletions doc/release/1.4.1-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
==============================
PyWavelets 1.4.1 Release Notes
==============================

.. contents::

This patch release updates setup.py to use `python_requires>=3.8` and adds 3.11 to the trove classifiers.
1 change: 1 addition & 0 deletions doc/source/release.1.4.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../release/1.4.1-notes.rst
1 change: 1 addition & 0 deletions doc/source/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Release Notes
release.1.2.0
release.1.3.0
release.1.4.0
release.1.4.1
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ requires = [

# numpy 1.19 was the first minor release to provide aarch64 wheels, but
# wheels require fixes contained in numpy 1.19.2
"numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
"numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'",
# aarch64 for py39 is covered by default requirement below

Expand All @@ -31,7 +30,6 @@ requires = [
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",

# default numpy requirements
"numpy==1.17.3; python_version=='3.7' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
"numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
"numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
# Note that 1.21.3 was the first version with a complete set of 3.10 wheels,
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

MAJOR = 1
MINOR = 4
MICRO = 0
MICRO = 1
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)

Expand Down Expand Up @@ -423,10 +423,10 @@ def setup_package():
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules"
],
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
Expand All @@ -441,7 +441,7 @@ def setup_package():
tests_require=['pytest'],

install_requires=["numpy>=1.17.3"],
python_requires=">=3.7",
python_requires=">=3.8",
)

if "--force" in sys.argv:
Expand Down

0 comments on commit c3fc042

Please sign in to comment.