GithubHelp home page GithubHelp logo

Comments (10)

jonathanunderwood avatar jonathanunderwood commented on May 26, 2024

OK, so basically moving to using setuptools_scm means that the release tarballs created by github are broken. On the other hand, cloning the git repo and doing a python setup.py build sdist produces a tarball which works fine, by virtue of having the version information available in the PKG_INFO file.

from sshuttle.

jonathanunderwood avatar jonathanunderwood commented on May 26, 2024

It seems to me the easiest way to fix this issue would be to make tarball releases available via PyPi as the canonical location for sources, rather than the github releases.

from sshuttle.

brianmay avatar brianmay commented on May 26, 2024

Probably. The PyPi releases are also signed by me too, another advantage I think. Unfortunately I forgot to sign the 0.77 release, and it won't let me fix it up. I tried deleting version 0.77 and re-uploading it, however it won't let me upload this version anymore.

Submitting dist/sshuttle-0.77.tar.gz to https://pypi.python.org/pypi
Upload failed (400): This filename has previously been used, you should use a different version.
error: Upload failed (400): This filename has previously been used, you should use a different version.

So I suspect I will have to do a release of 0.78 to fix this. Will look at doing this tomorrow.

from sshuttle.

jonathanunderwood avatar jonathanunderwood commented on May 26, 2024

Great. I don't know if you're aware, but the 0.77 tarball doesn't actually show up on the PyPi page as a download, as far as I can see.

from sshuttle.

brianmay avatar brianmay commented on May 26, 2024

Yes, that was the result of me deleting it and not being able to upload it again :-(

from sshuttle.

jonathanunderwood avatar jonathanunderwood commented on May 26, 2024

Ahh, right!

On the bright side, I've now moved Fedora to this codebase (it was stuck on the 2012 old codebase due to lack of package maintenance), so hopefully that'll give the code some extra exposure.

from sshuttle.

brianmay avatar brianmay commented on May 26, 2024

Great! Good to hear. Unfortunately this package was neglected for a while.

from sshuttle.

brianmay avatar brianmay commented on May 26, 2024

Have released 0.77.1. PyPI should be fixed now. readthedocs has problems, am inclined to think that is readthedocs problem.

from sshuttle.

brianmay avatar brianmay commented on May 26, 2024

Ok if I close this now?

from sshuttle.

jonathanunderwood avatar jonathanunderwood commented on May 26, 2024

Yes, sorry, I meant to report back: I am now happily using the tarball from PyPi (0.77.2) which builds fine for the Fedora packages. Thanks for this.

from sshuttle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.