diff --git a/.github/workflows/build-and-deploy-on-pypi.yml b/.github/workflows/build-and-deploy-on-pypi.yml index 0f7c005..cf08f40 100644 --- a/.github/workflows/build-and-deploy-on-pypi.yml +++ b/.github/workflows/build-and-deploy-on-pypi.yml @@ -7,7 +7,6 @@ on: push: branches: - main - - update_action_setup-python jobs: build-n-publish: @@ -17,10 +16,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" - name: Install pep517 run: >- python -m diff --git a/.github/workflows/create-condalock-file.yml b/.github/workflows/create-condalock-file.yml index 35c3792..86d67d7 100644 --- a/.github/workflows/create-condalock-file.yml +++ b/.github/workflows/create-condalock-file.yml @@ -23,11 +23,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true activate-environment: activestorage-fromlock - python-version: "3.12" + python-version: "3.13" miniforge-version: "latest" use-mamba: true - name: Show conda config diff --git a/.github/workflows/install-from-condalock-file.yml b/.github/workflows/install-from-condalock-file.yml index d5ab8d8..5ff5322 100644 --- a/.github/workflows/install-from-condalock-file.yml +++ b/.github/workflows/install-from-condalock-file.yml @@ -21,14 +21,14 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage-fromlock python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/run-test-push.yml b/.github/workflows/run-test-push.yml index 1e306af..84380bc 100644 --- a/.github/workflows/run-test-push.yml +++ b/.github/workflows/run-test-push.yml @@ -13,14 +13,14 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.12"] # latest only + python-version: ["3.13"] # latest only fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage environment-file: environment.yml @@ -30,5 +30,6 @@ jobs: - run: conda --version - run: python -V - run: pip install -e . + - run: conda list - run: pytest -n 2 --junitxml=report-1.xml - uses: codecov/codecov-action@v3 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 29cc701..24aeb60 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,14 +17,14 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage environment-file: environment.yml @@ -42,14 +42,14 @@ jobs: runs-on: "macos-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] fail-fast: false name: OSX Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage environment-file: environment.yml diff --git a/.github/workflows/test_s3_minio.yml b/.github/workflows/test_s3_minio.yml index 9c5feb1..78d288a 100644 --- a/.github/workflows/test_s3_minio.yml +++ b/.github/workflows/test_s3_minio.yml @@ -20,14 +20,14 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} miniforge-version: "latest" @@ -48,7 +48,7 @@ jobs: done - name: Run Reductionist container run: docker run -it --detach --rm --net=host --name reductionist ghcr.io/stackhpc/reductionist-rs:latest - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage-minio environment-file: environment.yml diff --git a/.github/workflows/test_s3_remote_reductionist.yml b/.github/workflows/test_s3_remote_reductionist.yml index a16bd7a..bcada36 100644 --- a/.github/workflows/test_s3_remote_reductionist.yml +++ b/.github/workflows/test_s3_remote_reductionist.yml @@ -21,14 +21,14 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} miniforge-version: "latest" @@ -43,7 +43,7 @@ jobs: echo 'REMOTE_RED = True' >> activestorage/config.py - name: Ping remote Reductionist run: curl -k https://192.171.169.248:8080/.well-known/reductionist-schema - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: activestorage-minio environment-file: environment.yml diff --git a/README.md b/README.md index 55be7aa..b40355f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ pip install -e . pytest -n 2 ``` -Python versions supported: 3.9, 3.10, 3.11, 3.12. Fully compatible with `numpy >=2.0.0`. +Python versions supported: (3.9 EOL but no more testing with it), 3.10, 3.11, 3.12, 3.13. Fully compatible with `numpy >=2.0.0`. ## Active Storage Data Interface diff --git a/setup.py b/setup.py index a4949fa..280b0e9 100644 --- a/setup.py +++ b/setup.py @@ -80,9 +80,10 @@ def _ignore(path): 'Natural Language :: English', 'Operating System :: POSIX :: Linux', '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', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Atmospheric Science', 'Topic :: Scientific/Engineering :: GIS',