diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3588e9b4e..1bbb74334 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -33,13 +33,13 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - py: ['3.9', '3.10', '3.11'] + py: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 with: fetch-depth: '0' # Fetch all history for all tags and branches - - uses: CagtayFabry/pydeps2env@v1.2.0 + - uses: marscher/pydeps2env@v999 with: files: 'pyproject.toml' channels: 'conda-forge defaults' @@ -47,14 +47,16 @@ jobs: build_system: 'include' - name: Setup Conda Environment - uses: mamba-org/setup-micromamba@v1.9.0 + uses: mamba-org/setup-micromamba@v2 with: + micromamba-version: "2.0.2-0" environment-file: ./environment.yml environment-name: weldx init-shell: >- bash powershell - cache-environment: true + # persist on the same day. + cache-environment-key: environment-${{ steps.date.outputs.date }} create-args: >- python=${{ matrix.py }} wheel @@ -133,13 +135,13 @@ jobs: fail-fast: false matrix: os: [windows-latest] - py: ['3.9'] + py: ['3.10'] steps: - uses: actions/checkout@v4 with: fetch-depth: '0' # Fetch all history for all tags and branches - - uses: CagtayFabry/pydeps2env@v1.2.0 + - uses: marscher/pydeps2env@v999 with: files: 'pyproject.toml' channels: 'conda-forge defaults' @@ -147,14 +149,15 @@ jobs: build_system: 'include' - name: Setup Conda Environment - uses: mamba-org/setup-micromamba@v1.9.0 + uses: mamba-org/setup-micromamba@v2 with: environment-file: ./environment.yml environment-name: weldx init-shell: >- bash powershell - cache-environment: true + # persist on the same day. + cache-environment-key: environment-${{ steps.date.outputs.date }} create-args: >- python=${{ matrix.py }} wheel diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 85288e8d4..2361c97dd 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -55,7 +55,7 @@ jobs: environment-name: weldx cache-environment: true create-args: >- - python=3.9 + python=3.10 mypy - name: activate env run: micromamba activate weldx diff --git a/CHANGELOG.md b/CHANGELOG.md index eb0a96802..aaeee5497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - pin `weldx-widgets>=0.2.3` for viz \[{pull}`939`\]. - pin `pint>=0.21` \[{pull}`941`\]. +- pin `python<3.13` \[{pull}`896`\]. ## 0.6.8 (07.06.2024) diff --git a/pyproject.toml b/pyproject.toml index 4fd4335f2..1e61ed9b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ authors = [ { name = "Volker Hirthammer", email = "volker.hirthammer@bam.de" }, { name = "Martin K. Scherer", email = "martin.scherer@bam.de" }, ] -requires-python = ">=3.9,<3.12" +requires-python = ">=3.9,<3.13" classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Education", @@ -34,6 +34,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Physics", # TODO: add more topics here! ] dynamic = [