Skip to content

Commit b9e9b00

Browse files
Merge pull request #183 from cds-astro/support-3.13
support of python 3.13
2 parents 0f91068 + 250e616 commit b9e9b00

File tree

8 files changed

+25
-13
lines changed

8 files changed

+25
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
# CentOS 7 64 bits Docker Hub image that 'build-linux-wheels' executes in.
1414
# See https://github.com/pypa/manylinux for this particular container:
15-
# * CPython 3.8, 3.9, 3.10, 3.11 and 3.12 installed in /opt/python/<python tag>-<abi tag>
15+
# * CPython versions installed in /opt/python/<python tag>-<abi tag>
1616
container: quay.io/pypa/manylinux_2_28_x86_64:latest
1717
steps:
1818
- name: "Checkout the full project"
@@ -26,7 +26,7 @@ jobs:
2626
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN_FXP }}
2727
run: |
2828
source $HOME/.cargo/env
29-
for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do
29+
for PYBIN in /opt/python/cp*-cp3{8,9,10,11,12,13}/bin; do
3030
"${PYBIN}/pip" install --upgrade pip
3131
"${PYBIN}/pip" install maturin
3232
"${PYBIN}/maturin" publish -i "${PYBIN}/python" --skip-existing --compatibility manylinux_2_28
@@ -52,7 +52,7 @@ jobs:
5252
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN_FXP }}
5353
run: |
5454
source $HOME/.cargo/env
55-
for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do
55+
for PYBIN in /opt/python/cp*-cp3{8,9,10,11,12,13}/bin; do
5656
"${PYBIN}/pip" install --upgrade pip
5757
"${PYBIN}/pip" install maturin
5858
"${PYBIN}/maturin" publish -i "${PYBIN}/python" --skip-existing --compatibility manylinux2014
@@ -81,7 +81,7 @@ jobs:
8181
${{ env.img }} \
8282
bash -exc 'curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
8383
source $HOME/.cargo/env && \
84-
for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do
84+
for PYBIN in /opt/python/cp*-cp3{8,9,10,11,12,13}/bin; do
8585
echo "Loop on PYBIN: $PYBIN"
8686
"${PYBIN}/pip" install --upgrade pip
8787
"${PYBIN}/pip" install maturin
@@ -108,7 +108,7 @@ jobs:
108108
${{ env.img }} \
109109
bash -exc 'curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-host aarch64-unknown-linux-gnu -y && \
110110
source $HOME/.cargo/env && \
111-
for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do
111+
for PYBIN in /opt/python/cp*-cp3{8,9,10,11,12,13}/bin; do
112112
echo "Loop on PYBIN: $PYBIN"
113113
"${PYBIN}/pip" install maturin
114114
"${PYBIN}/maturin" -V
@@ -124,7 +124,7 @@ jobs:
124124
fail-fast: false
125125
matrix:
126126
os: [windows-latest]
127-
python-version: ['3.8', '3.9', '3.10', '3.11','3.12']
127+
python-version: ['3.8', '3.9', '3.10', '3.11','3.12', '3.13']
128128
steps:
129129
# Checkout the project
130130
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: "Build and test wheels"
2929
run: |
3030
source $HOME/.cargo/env
31-
for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do
31+
for PYBIN in /opt/python/cp*-cp3{8,9,10,11,12,13}/bin; do
3232
echo "Loop on PYBIN: $PYBIN"
3333
# With maturin develop, we have to use virtualenv
3434
"${PYBIN}/pip" install virtualenv
@@ -50,7 +50,7 @@ jobs:
5050
runs-on: macOS-latest
5151
strategy:
5252
matrix:
53-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
53+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
5454
steps:
5555
# Checkout the project
5656
- name: "Checkout branch ${{ github.head_ref }}"
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: windows-latest
8888
strategy:
8989
matrix:
90-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
90+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
9191
steps:
9292
# Checkout the project
9393
- name: "Checkout branch ${{ github.head_ref }}"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
## [unreleased]
1818

19+
## [0.17.1]
20+
21+
### Added
22+
23+
* build wheels for python 3.13
24+
1925
### Fixed
2026

2127
* in space MOCs: upper right corner of a zone can now have a longitude of 360° [#180]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "MOCPy"
3-
version = "0.17.0"
3+
version = "0.17.1"
44
authors = [
55
"Matthieu Baumann <[email protected]>",
66
"Thomas Boch <[email protected]>",

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"dateModified": "2023-12-04",
1010
"issueTracker": "https://github.com/cds-astro/mocpy/issues",
1111
"name": "MOCpy",
12-
"version": "0.17.0",
13-
"softwareVersion": "0.17.0",
12+
"version": "0.17.1",
13+
"softwareVersion": "0.17.1",
1414
"description": "Python library to easily create and manipulate MOCs (Multi-Order Coverage maps)",
1515
"applicationCategory": ["Astronomy", "Science"],
1616
"funding": "ESCAPE 824064, ASTERICS 653477",

conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import matplotlib as mpl
2+
3+
# chose the matplotlib backend that can only generate pngs
4+
# but not interact with the os (better for testing)
5+
mpl.use("Agg")

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
]
3031
keywords=["astronomy", "astrophysics", "HEALPix"]
3132

python/mocpy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.17.0"
1+
__version__ = "0.17.1"

0 commit comments

Comments
 (0)