Skip to content
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

PyPI release cannot include parsl fork from github #137

Closed
tcompa opened this issue Oct 13, 2022 · 5 comments
Closed

PyPI release cannot include parsl fork from github #137

tcompa opened this issue Oct 13, 2022 · 5 comments

Comments

@tcompa
Copy link
Collaborator

tcompa commented Oct 13, 2022

poetry publish yields

Uploading fractal-server-0.3.0.tar.gz FAILED

HTTP Error 400: Invalid value for requires_dist. Error: Can't have direct dependency: 'parsl[monitoring] @ git+https://github.com/fractal-analytics-platform/parsl.git@1.3.1-dev' | [...]
@tcompa
Copy link
Collaborator Author

tcompa commented Oct 13, 2022

This seems to be a fundamental problem with PEP440 and PyPI not accepting dependencies of this kind, see e.g.

For the time being, we'll switch to github releases (with attached binaries), so that installing the 0.3.1 version becomes

pip install https://github.com/fractal-analytics-platform/fractal-server/releases/download/0.3.1/fractal_server-0.3.1-py3-none-any.whl

Let's try to fix it in a cleaner way later on.

@jluethi
Copy link
Collaborator

jluethi commented Oct 13, 2022

That's just for the server, right? Tasks & client can still be released to pypi?

Suboptimal of course, but good that we have this backup installation procedure until there is an actual fix.

@tcompa
Copy link
Collaborator Author

tcompa commented Oct 13, 2022

That's just for the server, right?

Yes

@jacopo-exact jacopo-exact added this to the 1) slurm interoperation milestone Nov 8, 2022
@jacopo-exact
Copy link
Contributor

need to check if pre-built packages hosted as github releases are allowed

@tcompa
Copy link
Collaborator Author

tcompa commented Dec 12, 2022

Currently obsolete, as we do not depend on parsl (fork) any more.

@tcompa tcompa closed this as completed Dec 12, 2022
Repository owner moved this from TODO to Done in Fractal Project Management Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants