From ef3ddf3b1af4480ec130d42cc0cf0f2e2c0dd0af Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Mon, 4 Nov 2024 18:12:00 +0100 Subject: [PATCH 1/2] Add python 3.13 job, update actions --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be1bd2..32336b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,14 +19,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -36,12 +36,11 @@ jobs: run: | python --version pip install codecov pytest-cov - pip install -U pytest docutils pygments Cython matplotlib - pip install -e . + pip install -e '.[test]' pip freeze - name: Tests run: | pytest --cov=eventio --cov-report=xml - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 From 6677022df206e78036332c58e9c0d077458faf18 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Mon, 4 Nov 2024 18:13:41 +0100 Subject: [PATCH 2/2] Require python 3.10 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32336b9..4b1c377 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 7313359..898b64f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "eventio" description = "Python read-only implementation of the EventIO file format" -requires-python = '>=3.9' +requires-python = '>=3.10' dependencies = [ 'numpy >= 1.21', 'corsikaio >= 0.3.3,<0.5.0', @@ -29,10 +29,10 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics",