Skip to content

Commit 4e2ef57

Browse files
committed
Prepare release 0.1.31
1 parent 65fb44f commit 4e2ef57

File tree

5 files changed

+60
-4
lines changed

5 files changed

+60
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest, windows-2019, windows-latest, macos-latest]
9-
python-version: ["3.7", "3.8", "3.9", "3.10"]
9+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1010
steps:
1111
- uses: actions/checkout@v3
1212
- name: Setup Python

.github/workflows/wheels.yml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ env:
99
# Run the package tests using `pytest`
1010
# CIBW_TEST_REQUIRES: pytest
1111
# CIBW_TEST_COMMAND: pytest
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
15+
cancel-in-progress: true
16+
1217
jobs:
1318
make_sdist:
1419
name: Make SDist
@@ -47,13 +52,14 @@ jobs:
4752
- name: Build wheels
4853
run: python -m cibuildwheel --output-dir wheelhouse
4954
env:
50-
# Disable explicitly python 3.11 and building PyPy wheels
51-
CIBW_SKIP: cp311-* pp*
55+
# Disable building PyPy wheels
56+
CIBW_SKIP: pp*
5257
CIBW_PRERELEASE_PYTHONS: False
5358

5459
- uses: actions/upload-artifact@v2
5560
with:
5661
path: wheelhouse/*.whl
62+
5763
build_aarch64_wheels:
5864
name: Build wheels manylinux_aarch64
5965
runs-on: ubuntu-latest
@@ -81,3 +87,37 @@ jobs:
8187
- uses: actions/upload-artifact@v2
8288
with:
8389
path: wheelhouse/*.whl
90+
91+
upload_pypi_test:
92+
name: Upload to PyPI (test)
93+
needs: [build_wheels, build_aarch64_wheels, make_sdist]
94+
runs-on: ubuntu-20.04
95+
if: github.event_name == 'push' && !(startsWith(github.ref_name, 'master'))
96+
steps:
97+
- uses: actions/download-artifact@v3
98+
with:
99+
name: artifact
100+
path: dist
101+
102+
- uses: pypa/[email protected]
103+
with:
104+
user: __token__
105+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
106+
repository_url: https://test.pypi.org/legacy/
107+
skip_existing: true
108+
109+
upload_pypi:
110+
name: Upload to PyPI (prod)
111+
needs: [build_wheels, build_aarch64_wheels, make_sdist]
112+
runs-on: ubuntu-20.04
113+
if: github.event_name == 'push' && startsWith(github.ref_name, 'master')
114+
steps:
115+
- uses: actions/download-artifact@v2
116+
with:
117+
name: artifact
118+
path: dist
119+
120+
- uses: pypa/[email protected]
121+
with:
122+
user: __token__
123+
password: ${{ secrets.PYPI_API_TOKEN }}

doc/release/0.1.31-notes.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
=============================
2+
PyEDFlib 0.1.31 Release Notes
3+
=============================
4+
5+
Authors
6+
=======
7+
8+
* skjerns
9+
10+
Issues closed for v0.1.31
11+
-------------------------
12+
13+
Pull requests for v0.1.31
14+
-------------------------

doc/source/release.0.1.31.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: ../release/0.1.31-notes.rst

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
MAJOR = 0
2525
MINOR = 1
26-
MICRO = 30
26+
MICRO = 31
2727
ISRELEASED = True
2828
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
2929

@@ -291,6 +291,7 @@ def install_for_development(self):
291291
"Programming Language :: Python :: 3.7",
292292
"Programming Language :: Python :: 3.8",
293293
"Programming Language :: Python :: 3.9",
294+
"Programming Language :: Python :: 3.10",
294295
"Topic :: Software Development :: Libraries :: Python Modules"
295296
],
296297
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],

0 commit comments

Comments
 (0)