-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle life cycle of task package with direct-reference dependencies? #2142
Comments
Note that PyPI currently forbids this kind of dependencies (see our past experience with the parsl fork, or see e.g. pypi/warehouse#7136), therefore I think this issue only affects locally-built wheels. |
Another (side) remark: this would obviously not be an issue if Python had standard lock files. |
Easily actionable (partial) fix: if the |
Ugh, all the package management edge-cases... Yeah, I'd be fine with this just not being supported for the time being. |
This is in-place as of fractal-server 2.10.2. |
Version 0.3.0 of the APX tasks package had the following pyproject.tom: https://github.com/Apricot-Therapeutics/APx_fractal_task_collection/blob/5f5c087696b60189f09700f8fad8bb526b1e7fb4/pyproject.toml.
This included a GitHub dependency, that is, the
dev
branch of the basicpy github repository:In a fresh venv, if one installs (today) from that string and then runs pip freeze here is what you get:
Trying to reinstall the same package from the two equivalent sources leads to an error:
The situation above leads to an error when deactivating and reactivating that task environment.
The
pip freeze
output is likeWhen deactivating and reactivating this package, we hit the following
pip install
error:The text was updated successfully, but these errors were encountered: