-
Notifications
You must be signed in to change notification settings - Fork 106
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
py 1.5 breaks freezegun on Windows #169
Comments
It's not just freezegun. It happened to the mypy project too, and we fixed it the same way. There's an AppVeyor support ticket but honestly I think the problem is here, in the |
@gvanrossum your assessment is correct. At the time some refactoring was done, there was no proper Windows CI and that import escaped unnoticed. |
Thanks -- please ping this ticket when a release with the fix is available.
|
@gvanrossum and @Kwpolska, |
Fixes #4252 differently. According to pytest-dev/py#169 (comment), py 1.5.2 has been pushed out that fixes this issue.
My build passes, thanks! |
@nicoddemus It seems like |
@pganssle thanks for writing. Are you having an error using It was intentional to drop support for py26 and py33 on |
@nicoddemus Yes, my build is breaking because 1.5.0 doesn't have this fix but does have the metadata wrong. I believe you can just edit the metadata directly on PyPI though, irrespective of the release. Dropping Python 3.3 from the 1.5.0 release should also fix my build. |
That would be ideal, but I'm not sure it is possible: the metadata resides inside the package, and changing its contents is not possible (AFAIK). Perhaps pulling it is the right solution. |
I believe you can fix your build by explicitly pinning |
@nicoddemus Yes, I can try this, but the problem is that I think you are right that I think the traditional solution to "I need to pull a release" (though I doubt it will make a difference in this case) is to upload a |
@pganssle opened dateutil/dateutil#527 with a possible fix, please take a look. |
Thanks for the PR. I have a different approach that's more complicated but somewhat more limited. Either one will ultimately get removed when either the trove classifiers are fixed for |
OK sounds good. Sorry for not being able to help more because I'm at work at the moment and can't spare much time. |
Btw, pytest itself depends on |
I just realized this might not be clear as I wanted: I mention this because you can probably safely add the |
My AppVeyor (Windows) tests recently started failing with this:
I investigated a little, and I found out that this appears only with
py
1.5.x. Rolling back topy==1.4.34
fixes the issue. Is this a bug inpy
orfreezegun
?(see also: spulec/freezegun#214)
The text was updated successfully, but these errors were encountered: