Skip to content

Commit

Permalink
Update env
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmijn committed Dec 24, 2024
1 parent a1f0ffe commit 6e2d017
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"] #, "macos-latest", "windows-latest"]
python-version: ["3.12"] # fix tests to support older versions
os: ["ubuntu-latest"]
python-version: ["3.12"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10','3.11','3.12']
python-version: ["3.10","3.11","3.12","3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
python-version: ["3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
python-version: ["3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
python-version: ["3.12"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"] #, "macos-latest", "windows-latest"]
python-version: ["3.12"] # fix tests to support older versions
os: ["ubuntu-latest"]
python-version: ["3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
python-version: "3.13"

- name: generate env
run: |
Expand All @@ -51,8 +51,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"] #, "macos-latest", "windows-latest"]
python-version: ["3.11"] # fix tests to support older versions
os: ["ubuntu-latest"]
python-version: ["3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
sonarcloud:
env:
PYVERSION: "3.11"
PYVERSION: "3.13"

name: SonarCloud
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.12"]
python-version: ["3.13"]
include:
- os: ubuntu-latest
label: linux-64
Expand Down
19 changes: 11 additions & 8 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Global stuff
[project]
name = "delft_fiat"
version = "0.1.0"
version = "0.3.0"
description = "Pixi for Delft-FIAT."
authors = ["B.W. Dalmijn <[email protected]>"]
channels = ["conda-forge"]
Expand Down Expand Up @@ -58,7 +58,7 @@ gdal = ">=3.5"
numpy = "*"
regex = "*"
tomli = "*"
pip = ">=24.0,<25"
pip = ">=24.0"

[feature.py310.dependencies]
python = "3.10.*"
Expand All @@ -69,6 +69,9 @@ python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"

[feature.py313.dependencies]
python = "3.13.*"

[feature.all.dependencies]
setuptools = ">=61.0.0"

Expand All @@ -85,7 +88,7 @@ jupyter = "*"
jupyter-cache = "*"
matplotlib = "*"
pandas = "*"
quarto = "1.3.450"
quarto = "1.5.57"
quartodoc = ">=0.7.6"

[feature.extra.dependencies]
Expand All @@ -95,18 +98,18 @@ tomli-w = "*"
[feature.test.dependencies]
pytest = ">=2.7.3"
pytest-cov = "*"
pytest-dependency = "*"
pytest-mock = "*"
responses = "*"


## Define the environments
[environments]
build = { features = ["py312", "all", "build", "extra"], solve-group = "py312"}
default = { features = ["py312", "extra"], solve-group = "py312"}
dev = { features = ["py312", "all", "dev", "docs", "extra", "test"], solve-group = "py312" }
docs = { features = ["py312", "all", "docs", "extra"], solve-group = "py312"}
min = { features = ["py312"], solve-group = "py312"}
default = { features = ["py313", "extra"], solve-group = "py313"}
dev = { features = ["py313", "all", "dev", "docs", "extra", "test"], solve-group = "py313" }
docs = { features = ["py313", "all", "docs", "extra"], solve-group = "py313"}
min = { features = ["py313"], solve-group = "py313"}
test-py313 = {features = ["py313", "all", "extra", "test"], solve-group = "py313"}
test-py312 = {features = ["py312", "all", "extra", "test"], solve-group = "py312"}
test-py311 = {features = ["py311", "all", "extra", "test"], solve-group = "py311"}
test-py310 = {features = ["py310", "all", "extra", "test"], solve-group = "py310"}
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ extra = [
test = [
"pytest>=2.7.3",
"pytest-cov",
"pytest-dependency",
"pytest-mock",
"responses",
"delft_fiat[all,extra]",
Expand All @@ -118,7 +117,6 @@ fiat = "fiat.cli.main:main"
[tool.make_env]
channels = ["conda-forge"]
conda_only = ["libgdal-netcdf"]
deps_not_in_conda = ["pytest-dependency"]

## Some stuff for pytest and coverage
[tool.pytest.ini_options]
Expand Down

0 comments on commit 6e2d017

Please sign in to comment.