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

Only showing information, not doing anything #23

Open
jonas-eschle opened this issue Jul 28, 2023 · 5 comments · May be fixed by #25
Open

Only showing information, not doing anything #23

jonas-eschle opened this issue Jul 28, 2023 · 5 comments · May be fixed by #25
Assignees
Labels
bug Something isn't working

Comments

@jonas-eschle
Copy link

Hi there, first of all, thanks a lot for the converter packages.

I tried to use it but miserably failed. When running any command, for example pip2spack create scipy (or download), it just tells me

INFO :: Package status
Available:
	scipy

INFO :: Download latest package for the scipy
     :: pip2spack ::
     :: quick tool for pip -> spack package conversion

     :: Choose operation:
		 - create -- for creation a new package
		 - update -- for update a existing package.py
     :: 
INFO :: All information are base on the pypi.org

but doesn't do anything.

What am I missing here?

@NexSabre
Copy link
Owner

Hi @jonas-eschle

Can you tell me which operation system and Python version you try to use?
I try to replicate the issue, probably some incompatibility with Py.

@jonas-eschle
Copy link
Author

Hey, thanks! Sure, Ubuntu 22.04 with Python 3.10 (and pip2spack V 1.0)

@NexSabre NexSabre linked a pull request Jul 31, 2023 that will close this issue
@NexSabre NexSabre linked a pull request Jul 31, 2023 that will close this issue
@NexSabre
Copy link
Owner

NexSabre commented Jul 31, 2023

I removed a lot of the code with the pull-request #25
Additional changes will introduce the next day.

@jonas-eschle check version 2.0.0a0 from pypi.org

pip install pip2spack==2.0.0a0 --force

The SPACK_ROOT system variable must be set for proper operation.

@NexSabre NexSabre added the bug Something isn't working label Jul 31, 2023
@NexSabre NexSabre self-assigned this Jul 31, 2023
@jonas-eschle
Copy link
Author

Thanks a lot! I tried it but it seems to add the whl url, which fails for spack. Shouldn't we add, instead of "url" just "pypi"?

@NexSabre
Copy link
Owner

NexSabre commented Jul 31, 2023

I work with the Spack, 3 years ago. I don't remember everything ;)
@jonas-eschle check the https://pypi.org/project/pip2spack/2.0.0a1/ if this does not work I need to find some time for preparations of some kind of environment.

I replaced a url with the pypi var.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants