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

The source pypi archive is not conventional #507

Closed
hadim opened this issue Jul 31, 2020 · 5 comments · Fixed by #508
Closed

The source pypi archive is not conventional #507

hadim opened this issue Jul 31, 2020 · 5 comments · Fixed by #508

Comments

@hadim
Copy link

hadim commented Jul 31, 2020

The source archive at https://files.pythonhosted.org/packages/cb/84/b4adcce3c0d961daf5376e504826dece67ba06d9c1c92ccbaa591936b7a1/torchani-2.1.1.linux-x86_64.tar.gz is required to build a conda package of torchani (see conda-forge/staged-recipes#12242).

Its structure is not conventional: https://files.pythonhosted.org/packages/cb/84/b4adcce3c0d961daf5376e504826dece67ba06d9c1c92ccbaa591936b7a1/torchani-2.1.1.linux-x86_64.tar.gz

The source tarball should contain the source repo with setup.py file others. See this one as an example https://files.pythonhosted.org/packages/23/b0/ff0f4ffa3da1ddb242a295d5d19dd1775f567ad73a6ea7474eaa55e04836/scikit-learn-0.23.1.tar.gz

@hadim
Copy link
Author

hadim commented Aug 4, 2020

Thanks @farhadrgh . I will finish the conda package once you have released a new version to pypi. Please ping me here!

@zasdfgbnm
Copy link
Contributor

@hadim A new release is pushed to PyPI. Please test and let me know if it still has a problem :)

@hadim
Copy link
Author

hadim commented Aug 5, 2020

The package is now available on conda-forge: conda install -c conda-forge torchani (haven't tested it yet).

@isayev
Copy link
Member

isayev commented Aug 5, 2020

@hadim really cool, thanks! Does not (yet?) work on ubuntu :

conda install -c conda-forge torchani

fails with


PackagesNotFoundError: The following packages are not available from current channels:

  - torchani

but the package is there: https://anaconda.org/conda-forge/torchani

@hadim
Copy link
Author

hadim commented Aug 5, 2020

Yes, you just need to wait for the index to be updated. Check again in ~10min.

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

Successfully merging a pull request may close this issue.

3 participants