diff --git a/pyproject.toml b/pyproject.toml index a4210dcb9..e5780533a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -43,7 +44,6 @@ dependencies = [ "contextily", "geopandas", "fiona", - "salib" ] # Setuptools @@ -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] @@ -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 @@ -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"]