Giter Club home page Giter Club logo

Comments (15)

dabeaz avatar dabeaz commented on July 21, 2024

Fixed. Removed from PyPI entirely.

from ply.

refi64 avatar refi64 commented on July 21, 2024

@dabeaz Why?

from ply.

dabeaz avatar dabeaz commented on July 21, 2024

The whole PyPI record for PLY-3.5 is completed wrecked. I've removed it. I have no idea when or if it can even be repaired. Sorry.

from ply.

virtuald avatar virtuald commented on July 21, 2024

Are you using python setup.py sdist upload to upload the files? I've never had a problem when uploading to pypi that way.

from ply.

dabeaz avatar dabeaz commented on July 21, 2024

Doesn't work. Claims that the filename is in use.

Creating tar archive
removing 'ply-3.5' (and everything under it)
running upload
Submitting dist/ply-3.5.tar.gz to http://pypi.python.org/pypi
Upload failed (400): This filename has previously been used, you should use a different version.

Oh well. No PLY for PyPI.

from ply.

virtuald avatar virtuald commented on July 21, 2024

Strange. If you were uploading the files a different way, perhaps it's a bug in pypi so it still has the file cached somewhere. Or maybe the file was associated with a previous release on accident? It doesn't show up in the simple index though (https://pypi.python.org/simple/ply/).

Would recommend contacting the pypi admins then, it would be a shame if we weren't able to install it easily via pip. Looks like you can do so via http://sourceforge.net/p/pypi/support-requests/

from ply.

dabeaz avatar dabeaz commented on July 21, 2024

I don't have the time to go chase down some bizarre PyPI issue on this. Will leave PLY-3.5 hosted on the PLY website for a little while for people to try if they want. Will roll a PLY-3.6 release in a week or so (and hope that ply-3.6.tar.gz is actually available).

from ply.

dstufft avatar dstufft commented on July 21, 2024

Puts on PyPI Maintainer Hat

So the reason you get the error message "This filename has previously been usd, you should use a different version" is because once you upload a file PyPI doesn't let you re-upload that same file (even with a different name). This is to prevent people from silently changing what a version means long after it's been released.

As to what caused the issue to begin with, I'm not sure since I can't see what state 3.5 was in now that it's been deleted. If you get PyPI in a weird state for 3.6 I'd love it if you could ping me before deleting it so I can take a look and figure out what happened and figure it out.

from ply.

johnyf avatar johnyf commented on July 21, 2024

For uploading ply v3.5 again, without running into problems with the memory of PyPI of a previous binary, a post0 could be appended to the version, as described in PEP 440.

Also, uploading to testPyPI before can diagnose whether it will work (though testPyPI behaves exactly like PyPI, in that it doesn't allow re-uploading a binary for a given version).

#206 is the relevant issue of PyPI describing the change that prevented re-uploading.

from ply.

virtuald avatar virtuald commented on July 21, 2024

@dstufft unless I misunderstood, I believe he ran the sdist upload after deleting the 3.5 release, which would imply that the pypi ply project is currently in a weird state. It is possible that he ran the command before deleting the release, as that isn't explicitly stated in the comments above.

from ply.

dabeaz avatar dabeaz commented on July 21, 2024

No. I re-registered the project from scratch, tried the upload again and it was still failing. I then gave up and just deleted the whole PLY-3.5 release. Will worry about this issue later.

from ply.

virtuald avatar virtuald commented on July 21, 2024

In that case then python setup.py sdist upload should work now for 3.5.

from ply.

dabeaz avatar dabeaz commented on July 21, 2024

Nope. It doesn't. I already tried the "delete the whole release and start over" approach and it failed.

from ply.

johnyf avatar johnyf commented on July 21, 2024

python setup.py sdist upload will not work, as described in #206 linked above. The reason is that PyPI now remembers the mapping from versions of uploaded archives to their hash values, even if the archives are deleted by the user, and even if the user deletes the whole PyPI entry.

from ply.

virtuald avatar virtuald commented on July 21, 2024

Oh interesting, I had done it as recently as a few months ago, but obviously this has changed since then.

from ply.

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.