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

JOSS REVIEW: Missing dependency (pypulseq==0.0.3) #24

Closed
mathieuboudreau opened this issue Aug 14, 2019 · 5 comments
Closed

JOSS REVIEW: Missing dependency (pypulseq==0.0.3) #24

mathieuboudreau opened this issue Aug 14, 2019 · 5 comments
Assignees
Labels
review comment JOSS reviewer comment

Comments

@mathieuboudreau
Copy link
Contributor

mathieuboudreau commented Aug 14, 2019

This is for openjournals/joss-reviews#1637

Per your installation instructions, I tried to installed all your requirements (using pip install -e .), however I encountered a missing dependency:

Collecting pypulseq==0.0.3 (from virtual-scanner==1.0.21)
  ERROR: Could not find a version that satisfies the requirement pypulseq==0.0.3 (from virtual-scanner==1.0.21) (from versions: 1.0.0, 1.2.1)
ERROR: No matching distribution found for pypulseq==0.0.3 (from virtual-scanner==1.0.21)

It appears that this version of pypulseq is not available on pypi: https://pypi.org/project/pypulseq/#history

Can you update your requirements file, or resolve this in another way?

@mathieuboudreau
Copy link
Contributor Author

Digging into this a bit more, I see that your requirements.txt file in your master correctly suggests version 1.0.0 of pypulseq, so it's not quite clear to me why it's trying to pull version 0.0.3. I'll look into this and report back.

@mathieuboudreau
Copy link
Contributor Author

The conflict is in your setup.py file, which doesn't call your requirements.txt file.

'pypulseq==0.0.3',

@mathieuboudreau
Copy link
Contributor Author

mathieuboudreau commented Aug 14, 2019

There is a mismatch between your setup.py file and your requirements.txt file. At the very least, this should be cleaned up so they match, but ideally you wouldn't duplicate these.

You could either suggest that the user installs the requirements.txt file using pip install -r requirements.txt, or create a setup.py file structured like this one, which calls the requirements.txt file on line 36 using lines 14-17.

@mathieuboudreau
Copy link
Contributor Author

mathieuboudreau commented Aug 14, 2019

Note that this also bug is present while installing using pypi using pip install virtual-scanner, so I would recommend using the setup.py solution I recommend above if you plan on hosting on pypi.

@sravan953
Copy link
Collaborator

There is a mismatch between your setup.py file and your requirements.txt file. At the very least, this should be cleaned up so they match, but ideally you wouldn't duplicate these.

You could either suggest that the user installs the requirements.txt file using pip install -r requirements.txt, or create a setup.py file structured like this one, which calls the requirements.txt file on line 36 using lines 14-17.

Was not aware of this, thank you very much! :)
Fixed in f3718ac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review comment JOSS reviewer comment
Projects
None yet
Development

No branches or pull requests

3 participants