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

pip install is broken #410

Open
TTF2050 opened this issue Mar 20, 2024 · 5 comments
Open

pip install is broken #410

TTF2050 opened this issue Mar 20, 2024 · 5 comments
Assignees
Labels
bug Something isn't working packaging Python project package building sandboxes Things related to sandboxes and software stacks

Comments

@TTF2050
Copy link

TTF2050 commented Mar 20, 2024

When installing the prepackaged version via pip, setup.py refers to a file requirements_prod.txt that does not exist in the distribution tarball.

@pkausw
Copy link
Member

pkausw commented Mar 20, 2024

Hi @TTF2050 , thanks for opening this issue. Can you give us more information about the system you use to set up your analysis? E.g. operating system, flavor of shell (e.g. bash or zsh), python version, ...

@TTF2050
Copy link
Author

TTF2050 commented Mar 20, 2024

I'm using Ubuntu 22.04, python 3.10, and bash. But all of that is irrelevant. If you go to https://pypi.org/project/columnflow/, pull the tarball, and unpack it, you can see that the setup.py references a file that does not exist.

@pkausw pkausw self-assigned this Mar 20, 2024
@pkausw pkausw added fix Fixes a bug packaging Python project package building sandboxes Things related to sandboxes and software stacks labels Mar 20, 2024
@pkausw
Copy link
Member

pkausw commented Mar 20, 2024

Ah, thanks for the clarification. Indeed, this is correct and will be addressed with the next stable version that will come soon. We're also working on the general setup mechanism, which should also fix/improve this.

That being said: Please note that columnflow isn't really intended to act as a standalone package, but rather as a "backbone" for an analysis-specific setup. If you're trying to set up a new analysis, we recommend following the Quickstart instructions. If you have a more specific use case in mind, let us know - we're always happy about feedback!

@TTF2050
Copy link
Author

TTF2050 commented Mar 20, 2024

Honesty I found this accidentally while setting up the D4RL project.

@pkausw
Copy link
Member

pkausw commented Mar 20, 2024

OK! I'm not entirely sure how the project you've linked relates to columnflow - while we do support ML applications as part of our task graph, we're not focused on reinforcement learning. Apart from the fact that we'll fix the version on pypi with the next release, it might help us to further understand what you would like to do if you gave us more background information.

@pkausw pkausw added bug Something isn't working and removed fix Fixes a bug labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packaging Python project package building sandboxes Things related to sandboxes and software stacks
Projects
None yet
Development

No branches or pull requests

2 participants