Skip to content

Commit

Permalink
Updates for 2023 (#37)
Browse files Browse the repository at this point in the history
It's time for the annual update of `ibm2ieee`

- Drop Python 3.6 support from CI workflows, since Python 3.6 is no
longer available from the `setup-python` action on `ubuntu-latest`.
- Replace '3.11-dev' with '3.11' in CI workflows.
- Drop Python 3.6 support generally, since Python 3.6 is way beyond EOL
at this point
- Update copyright headers
- Drop version-specific trove classifiers
- Bump version number, and update changelog
- Bump cibuildwheel version.

There are no changes to the core code.
  • Loading branch information
mdickinson authored Mar 31, 2023
1 parent c3644a4 commit 8cfcd9b
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-architecture: [x86, x64]
exclude:
- os: macos-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-from-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-architecture: [x86, x64]
exclude:
- os: macos-latest
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-architecture: [x86, x64]
exclude:
- os: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: python -m pip install twine

- name: Build wheels
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.12.1

- name: Check and upload wheels
env:
Expand Down
11 changes: 11 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Changelog for ibm2ieee
======================

Release 1.3.0
-------------

Release date: 2023-03-31

This minor release updates supported Python versions. There are no changes to
the functional core.

- Python 3.6 is no longer supported; the minimum required version is Python
3.7.

Release 1.2.0
-------------

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

(C) Copyright 2018-2022 Enthought, Inc., Austin, TX
(C) Copyright 2018-2023 Enthought, Inc., Austin, TX
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ Wheels are provided for common platforms and Python versions. If installing
from source, note that ibm2ieee includes a C extension, so you'll need the
appropriate compiler on your system to be able to install.

ibm2ieee requires Python >= 3.6.
ibm2ieee requires Python >= 3.7.


License
-------

(C) Copyright 2018-2022 Enthought, Inc., Austin, TX
(C) Copyright 2018-2023 Enthought, Inc., Austin, TX
All rights reserved.

This software is provided without warranty under the terms of the BSD
Expand Down
2 changes: 1 addition & 1 deletion ibm2ieee/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand Down
2 changes: 1 addition & 1 deletion ibm2ieee/_ibm2ieee.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
// (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
// All rights reserved.
//
// This software is provided without warranty under the terms of the BSD
Expand Down
2 changes: 1 addition & 1 deletion ibm2ieee/test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand Down
2 changes: 1 addition & 1 deletion ibm2ieee/test/test_ibm2ieee.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand Down
2 changes: 1 addition & 1 deletion ibm2ieee/test/test_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand Down
4 changes: 2 additions & 2 deletions ibm2ieee/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand All @@ -9,4 +9,4 @@
# Thanks for using Enthought open source!

# Version string.
version = "1.2.0"
version = "1.3.0"
10 changes: 2 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Copyright 2018-2022 Enthought, Inc., Austin, TX
# (C) Copyright 2018-2023 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
Expand Down Expand Up @@ -57,7 +57,7 @@ def get_long_description():
extras_require={
"test": ["setuptools"],
},
python_requires=">=3.6",
python_requires=">=3.7",
packages=setuptools.find_packages(),
ext_modules=[ibm2ieee_extension],
classifiers=[
Expand All @@ -66,11 +66,5 @@ def get_long_description():
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.11",
],
)

0 comments on commit 8cfcd9b

Please sign in to comment.