Skip to content

Provide major version lower and upper bounds on all dependencies #2051

@markcampanelli

Description

@markcampanelli

Is your feature request related to a problem? Please describe.
To avoid pvlib breakages when its dependencies release a major version with breaking changes, pvlib should include major version lower and upper bounds on all its dependencies.

Describe the solution you'd like
In the pyproject.toml, instead of

dependencies = [
    'numpy >= 1.17.3',
    'pandas >= 1.3.0',
    ...
]

do

dependencies = [
    'numpy >=1.17.3, <2',
    'pandas >=1.3.0, <2',
    ...
]

Describe alternatives you've considered
Keep living dangerously.

Additional context
This should be done for ALL dependencies (even the optional and testing-related ones). Some dependencies are currently given no range info, so some choices would need to be made, but usually one starts with the full range within the latest major version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions