Skip to content

Exorcise git+https dependencies from pyproject.toml #9796

@pllim

Description

@pllim

"gwcs @ git+https://github.com/spacetelescope/gwcs.git@master",

jwst/pyproject.toml

Lines 35 to 37 in 37a76cf

"stdatamodels @ git+https://github.com/spacetelescope/stdatamodels.git@main",
"stcal @ git+https://github.com/spacetelescope/stcal.git@main",
"stpipe @ git+https://github.com/spacetelescope/stpipe.git@main",

"ci-watson @ git+https://github.com/spacetelescope/ci_watson.git@main",

Having these git+https hardwired as dependencies have the following cons:

  1. PyPI would reject a release unless you remember to replace them, which increases burden for release managers.
  2. They rebuild from source on local jwst installs unless you pass in --no-deps, which increases burden for developers.
  3. Complicate delivery of nightly dev wheels (BLD: Nightly dev wheels #9788).
  4. Decrease flexibility in the stack, sometimes unnecessarily.

Alternatives:

  1. Bundle the code (if you must be completely inflexible).
  2. Have flexible logic routes in this package to handle different versions/behaviors of these packages.
  3. Something else I didn't think of at the time of writing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions