Giter Site home page Giter Site logo

Comments (13)

pganssle avatar pganssle commented on May 18, 2024

@papachoco Can you clarify what you mean by that? Something I can reproduce? I ran pip install python-dateutil --no-use-wheel in a virtualenv and it installed python-dateutil.2.4.1.post1.tar.gz with no problems.

I've also tried pip install dateutil --no-use-wheel --no-cache --egg, it downloads the post1.tar.gz just fine and installs it as normal.

Edit: Actually, I see what you mean, I didn't realize that "buildout" is another tool, and I guess it's more sensitive to the version string in setup.py? I'm hesitant to experiment too much with this, so I'll try playing with it on a test project until I get something that works for pip and buildout.

Alternatively, there's a new timezone database out, so maybe I'll just do a bit of rebasing and generate a small 2.4.2 release. I'm not sure if people are bothered by a quick release schedule like that - I think 2.4.1 is less than a month old at this point.

from dateutil.

papachoco avatar papachoco commented on May 18, 2024

Thanks for the reply. It's simply a matter to change the version of init.py to 2.4.1.post1

screen shot 2015-03-29 at 8 06 58 pm

from dateutil.

graingert avatar graingert commented on May 18, 2024

having a different version in the source and on PyPI breaks a lot of different things!

now if you do "pip install -U" pip will always attempt to install 2.4.1.post1

from dateutil.

pganssle avatar pganssle commented on May 18, 2024

@graingert Is that a bug? 2.4.1.post1 and 2.4.1 are identical, except 2.4.1.post1 has the test suite included in the source distribution. This does not seem to me to be a problem.

@papachoco I have gotten zc.buildout, but it seems a bit more complicated than pip. Can you provide me some kind of MWE config file or something that can replicate the problem? I can keep uploading .postN versions all day, but I want to make sure that what I'm doing will actually work before I add yet another (dubious) "version" to dateutil. I'll continue fiddling with buildout, but it'll be much faster if I don't have to figure out how to get the problem to occur myself.

from dateutil.

papachoco avatar papachoco commented on May 18, 2024

Paul,

I am attaching a sample of a buildout configuration that replicates the
issue

Thanks

Carlos

On Mon, Mar 30, 2015 at 8:01 PM, Paul G. [email protected] wrote:

@graingert https://github.com/graingert Is that a bug? 2.4.1.post1 and
2.4.1 are identical, except 2.4.1.post1 has the test suite included in the
source distribution. This does not seem to me to be a problem.

@papachoco https://github.com/papachoco I have gotten zc.buildout, but
it seems a bit more complicated than pip. Can you provide me some kind of
MWE config file or something that can replicate the problem? I can keep
uploading .postN versions all day, but I want to make sure that what I'm
doing will actually work before I add yet another (dubious) "version" to
dateutil. I'll continue fiddling with buildout, but it'll be much faster if
I don't have to figure out how to get the problem to occur myself.


Reply to this email directly or view it on GitHub
#68 (comment).

from dateutil.

pganssle avatar pganssle commented on May 18, 2024

@papachoco The attachment didn't come through. You can send directly to my e-mail at [E-mail received - redacted] if you wish.

At this point, I'm thinking maybe the best thing to do is to remove the .post1 files and just leave the python-dateutil-2.4.1.tar.bz2 file up there (which is the same as the .post1 version. I'll also prepare a 2.4.2 bugfix / timezone update release in the next week or so, which will be released properly as a .tar.gz. Would that break anyone's workflow?

from dateutil.

graingert avatar graingert commented on May 18, 2024

The issue is not about the "post1" in general.

The only requirement so as to not break pip 6.0.8 is that the version in "setup.py" must match the version in PyPI.

However you set "2.4.1" in setup.py and "2.4.1.post1" in PyPI.

from dateutil.

graingert avatar graingert commented on May 18, 2024

At this point, I'm thinking maybe the best thing to do is to remove the .post1 files and just leave the python-dateutil-2.4.1.tar.bz2 file up there (which is the same as the .post1 version. I'll also prepare a 2.4.2 bugfix / timezone update release in the next week or so, which will be released properly as a .tar.gz. Would that break anyone's workflow?

Removing 2.4.1.post1 will break anyone trying to install this specific version, you should just re-release 2.4.1.post1 as 2.4.2 (remember to update the version everywhere or you'll make another broken package).

from dateutil.

papachoco avatar papachoco commented on May 18, 2024

+1

On Tue, Mar 31, 2015 at 7:30 AM, Thomas Grainger [email protected]
wrote:

At this point, I'm thinking maybe the best thing to do is to remove the
.post1 files and just leave the python-dateutil-2.4.1.tar.bz2 file up there
(which is the same as the .post1 version. I'll also prepare a 2.4.2 bugfix
/ timezone update release in the next week or so, which will be released
properly as a .tar.gz. Would that break anyone's workflow?

Removing 2.4.1.post1 will break anyone trying to install this specific
version, you should just re-release 2.4.1.post1 as 2.4.2.


Reply to this email directly or view it on GitHub
#68 (comment).

from dateutil.

pganssle avatar pganssle commented on May 18, 2024

@graingert Who would try to install the .post1 version? It's identical to the 2.4.1 version - the only reason there's a post1 version at all is because I didn't realize that you can't delete and re-release source distributions with the same numeric version (the code is identical, but the original source distributions didn't include the test suite because of a bug in I think setuptools).

The only reason I didn't change the version string in the code was because I was under the impression that the postN notation was for problems with the build, and that the true "version number" for 2.4.1 and 2.4.1.post1 would be the same.

Since the .post1 distributions are evidently broken anyway, I think it's reasonable to remove them, then move on to 2.4.2 quickly so that if there's any problem with using a .tar.bz2, it will be brief.

from dateutil.

graingert avatar graingert commented on May 18, 2024

@pganssle I did, because I was notified by my build process that python-dateutil had updated, so I bumped the version.

from dateutil.

pganssle avatar pganssle commented on May 18, 2024

Hm. OK. Then I'll leave as is and prepare a 2.4.2 release. I'll need to do a bit of refactoring on the repo, though. Sorry to leave people in a lurch like this.

from dateutil.

pganssle avatar pganssle commented on May 18, 2024

OK, I've generated a 2.4.2 release. Hopefully this hasn't further broken anyone's system and has resolved the ongoing issues.

Sorry about these problems, guys, thanks for the feedback.

from dateutil.

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.