-
Notifications
You must be signed in to change notification settings - Fork 21
RLS v0.24.2 #43
RLS v0.24.2 #43
Conversation
@@ -17,5 +17,7 @@ function run_tests { | |||
# Runs tests on installed distribution from an empty directory | |||
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))') | |||
python -c 'import pandas; pandas.show_versions()' | |||
python -c 'import pandas; pandas.test(extra_args=["--skip-slow", "--skip-network", "--skip-db", "-n=2"])' | |||
# --deselect for 0.24.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, we could write a patch and apply it before running the tests. I'm not sure which is preferred. I'm also not sure if the patch would affect the pandas version number picked up by versioner (IIRC that's set at this point, but I may be wrong).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would really prefer not to change this at all. these need to be fixed in pandas 0.24.x branch and then just re-run this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some more patches need to be backported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would that require a new tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certainly, we should do the backports like pandas-dev/pandas#25186 anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can overwrite the tag if need be as it hasn't been released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would vote to just skip the tests here, as Tom is doing. It has already been released on github. Making a new tag / release is easy, but not sure it is worth it for skipping a test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what???? why was this put on github before this??? that is crazy
@bashtage do you have any clue what this stata failure is about? https://travis-ci.org/MacPython/pandas-wheels/jobs/505474715#L4646
I haven't found any relevant commits on 0.25 yet. |
the stats issue was also fixed in master |
Timestamp? The file has a time stamp accurate to 1 second that is written. It probably passes most of the time with exact binary comparison, but this is a bad test for Stata dta files. |
Oh, stata encodes that in the binary file? Yeah, we shouldn't be doing that then... I'll make a pandas PR to not pass it. @jreback do you have a link to the stata fix on master? I don't see this specific failure in any of the recent logs. It appears to be a flaky test, but hard to say. |
I think @bashtage is correct. The error message is
I made a stata file locally. Index position 107 is on the second row here. The value is 33 (so 3 in text)
|
Does anyone see an issue with my
skips the numpy_ufuncs tests. |
yes this is a defect in the process. These need to be fixed in master before anything is actually released. |
It's fixed in master. And it's backported to 0.24.x now. But I don't think we need to retag for a test that's failing to be skipped. |
great. then you shouldn't need to skip anything. |
It's fixed on 0.24.x, after the 0.24.2 tag: pandas-dev/pandas@68278a8 |
so simply retag, i am not sure why that is a problem. this tag has not been released anywhere. |
The tag / release is public on Github. This and conda-forge build from the tag. |
I think |
@jreback I don't really understand the problem. Can you try to clarify your objection with skipping the test here? |
@jorisvandenbossche my problem here is that things were released w/o actually testing the release. the point is to get all of the builds passing before you actually release anything. |
We need a public release artifact to build the binaries from.
A good first step would be to set up cron jobs testing the 0.24.x branch as
well.
…On Wed, Mar 13, 2019 at 2:08 PM Jeff Reback ***@***.***> wrote:
@jorisvandenbossche <https://github.com/jorisvandenbossche> my problem
here is that things were released w/o actually testing the release. the
point is to get all of the builds passing *before* you actually release
anything.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIlmlzp3l91DyLHxoJsN-q_Phthrwks5vWUyxgaJpZM4bsACe>
.
|
That's not exactly the same as what you are arguing above. There are two things: one thing is how to resolve the current situation we are having, and a second thing is how to improve our workflow to prevent this from happening again. For the first (getting 0.24.2 released), Tom and I propose to go forward with this PR and announce 0.24.2. Can you explicitly say that you are fine (or not) with this aspect? Second, we should indeed learn from this and improve our workflow. But you can be sure that I did test properly before releasing (just not all python versions on all platforms). And as Tom says, we need to actually release before making wheels and conda packages. |
Is there some reason you can't build and test the wheels on the proposed release candidate, before doing the release? |
We don't do a release candidate for bugfix releases. But maybe you mean just the commit / branch that we plan to use for the release? (so something like |
Right - yes - you can name any commit as the commit to build, by hash or branch name. |
When I'm releasing on my projects, I build the wheels first, to check for problems, make the release tag, build the wheels from that tag, upload the wheels, and only then upload the source release. |
It's unlikely, but I worry slightly about something being backported to the 0.24.x branch in between the time this PR is created and the merge build is started. In that case, I think we would build a binary for the wrong version. Though if that does happen, we could submit another PR that exactly pins the commit to 0.24.2... |
Bumping pytest doesn't look especially promising.
Will keep looking. |
I think the idea is to always do that, no? So first to a test run, if everything is green, tag, and then make a new PR to actually build the release wheels. So for the wheels we could do a first check run like this, but for conda-forge I think we need to upload the sdist to github first (although you could upload it somewhere else, but I am not sure we want to do that). |
Gotcha. That sounds fine. Agreed we don't want to build conda-forge from elsewhere. |
For the new failures: the only change is that you removed the pytest pin? |
This reverts commit 8dce6dc.
These pytest failures are strange. It seems like somethings gone awry with pytest's fixture discovery. I'll revert the pytest update and try an alternative method for skipping the originally problematic tests. |
I'll update a cron job for the maintenance branch after we do the master wheel build, to not take up CI time. |
@jorisvandenbossche its fine, go ahead and do what you need. |
Using I've pushed |
Checked that all builds are passing and only the py2 ones have the expected failures. |
I think that is because you did |
No description provided.