Skip to content

Commit

Permalink
Prepare release 0.1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
holgern committed Apr 18, 2023
1 parent 65fb44f commit 4e2ef57
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-2019, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
Expand Down
44 changes: 42 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ env:
# Run the package tests using `pytest`
# CIBW_TEST_REQUIRES: pytest
# CIBW_TEST_COMMAND: pytest

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
make_sdist:
name: Make SDist
Expand Down Expand Up @@ -47,13 +52,14 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
# Disable explicitly python 3.11 and building PyPy wheels
CIBW_SKIP: cp311-* pp*
# Disable building PyPy wheels
CIBW_SKIP: pp*
CIBW_PRERELEASE_PYTHONS: False

- uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl

build_aarch64_wheels:
name: Build wheels manylinux_aarch64
runs-on: ubuntu-latest
Expand Down Expand Up @@ -81,3 +87,37 @@ jobs:
- uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl

upload_pypi_test:
name: Upload to PyPI (test)
needs: [build_wheels, build_aarch64_wheels, make_sdist]
runs-on: ubuntu-20.04
if: github.event_name == 'push' && !(startsWith(github.ref_name, 'master'))
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true

upload_pypi:
name: Upload to PyPI (prod)
needs: [build_wheels, build_aarch64_wheels, make_sdist]
runs-on: ubuntu-20.04
if: github.event_name == 'push' && startsWith(github.ref_name, 'master')
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
14 changes: 14 additions & 0 deletions doc/release/0.1.31-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
=============================
PyEDFlib 0.1.31 Release Notes
=============================

Authors
=======

* skjerns

Issues closed for v0.1.31
-------------------------

Pull requests for v0.1.31
-------------------------
1 change: 1 addition & 0 deletions doc/source/release.0.1.31.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../release/0.1.31-notes.rst
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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

Expand Down Expand Up @@ -291,6 +291,7 @@ def install_for_development(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules"
],
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
Expand Down

0 comments on commit 4e2ef57

Please sign in to comment.