Skip to content

pyproject.toml file is missing version constraints of dependencies #1097

@bguillod

Description

@bguillod

Describe the bug
When installing climada with anything other than mamba or conda (e.g., uv in my case), the version constraints of climada's dependencies (e.g. geopandas>0.14,<1.0) are not considered and the built environment is hence not climada-compatible. Reason is, those are not aware of constraints put in requirements/env_climada.yml...
I am aware that conda is the main supported dependency management framework. However, wouldn't it make things easier to simply include not only dependencies but also their version constraints in pyproject.toml, thereby making it easier for people working with pip, uv or such alternatives that are faster than conda/mamba?

Expected behavior
Standard python package managers can install environments that include climada relatively easily.

Climada Version: 6.0.1, but this looks still applicable to the current develop branch.

System Information (please complete the following information):

  • Operating system and version: MacOS 15.6.1
  • Python version: not relevant
    (to obtain this information execute > import sys >print(sys.version))

Metadata

Metadata

Labels

dependenciesinstallationProblems encountered when trying to install climada

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions