Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
requires-python = ">=3.9"
requires-python = ">=3.9,<3.14"
dependencies = [
"numpy",
"numpy<2.0", # numpy 2.0 introduces breaking changes in relation to qgis versions
"salib<1.5.1", # this is the last aversion that works with numpy <2.
"pyshp<3.0", # pin until 3.0.3 is out, there's a known bug for certain polygon types
"matplotlib",
"pyshp",
"scipy",
"cmcrameri",
"seaborn",
Expand All @@ -43,7 +44,6 @@ dependencies = [
"contextily",
"geopandas",
"fiona",
"salib"
]

# Setuptools
Expand Down Expand Up @@ -86,9 +86,12 @@ channels = ["https://prefix.dev/conda-forge"]
platforms = ["linux-64", "win-64", "osx-64"]

[tool.pixi.dependencies]
python = "<3.14"
setuptools = "*"
setuptools-scm = "*"
cibuildwheel = "*"
# FSO: remove as soon as possible
libgdal = "*"

# Feature dev
[tool.pixi.feature.dev.pypi-dependencies]
Expand All @@ -111,12 +114,17 @@ sphinxcontrib-bibtex = "*"
[tool.pixi.feature.prod.pypi-dependencies]
avaframe = "*"

#Feature py313
[tool.pixi.feature.py313.dependencies]
python = "==3.13.7"

#Feature rcs
[tool.pixi.feature.rcs.pypi-dependencies]
avaframe = "==1.13rc4"
#[tool.pixi.feature.rcs.pypi-dependencies]
#avaframe = "==1.13rc4"

#Feature qgis
[tool.pixi.feature.qgis.dependencies]
numpy = "<2.0"
qgis = "*"

#Environments
Expand All @@ -125,6 +133,7 @@ default = { features = ["dev"], solve-group = "default" }
dev = ["dev"]
doc = ["doc", "dev"]
prod = ["prod"]
rcs = ["rcs"]
#rcs = ["rcs"]
py313 = ["py313", "dev"]
qgis = ["qgis", "dev"]

Loading