Skip to content

CI: troubleshoot py310 build #41990

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

Merged
merged 10 commits into from
Jun 15, 2021
Merged

CI: troubleshoot py310 build #41990

merged 10 commits into from
Jun 15, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -1092,18 +1093,19 @@ def checked_add_with_arr(
# it is negative, we then check whether its sum with the element in
# 'arr' exceeds np.iinfo(np.int64).min. If so, we have an overflow
# error as well.
i8max = Timestamp.max.value # GH#?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can u make these consistent across all of the files

iow this is called different names but the same even in this change set

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will standardize in next commit. this kludge really shouldn't be necessary

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok ping when ready.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping, will be nice to finally get back to green

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right what i mean was can you standardize these names (you mostly do, but some are CAPITAL and some not). prefer to do it in this PR as going to backport.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ones in .py files are all i8max, u8max, or iNaT

@lithomas1
Copy link
Member

lithomas1 commented Jun 14, 2021

Hey @jbrockmendel Just giving the heads up that the Python 3.10 dev build was actually "fake" green and can be green even if failing. (was actually failing even when it was "green"). I'm trying to address that in #41595, so I guess you can ignore failures listed on the issue #41940 in this PR.

Also, FYI the Python dev build on tests on a single core, so you might find it helpful to change add an -n auto to the Pytest command. If you want to have CI fail on a failure, you can just remove continue-on-error flag.

@jbrockmendel
Copy link
Member Author

Thanks @lithomas1. IIUC what we really want is allow-failure which GH actions doesn't support (actions/runner#2347). For now I'll be happy if non-breaking PRs get a little green checkmark.

@simonjayhawkins
Copy link
Member

@jbrockmendel there's some mypy failures

@simonjayhawkins simonjayhawkins added CI Continuous Integration Python 3.10 labels Jun 14, 2021
@fangchenli
Copy link
Member

Also, FYI the Python dev build on tests on a single core, so you might find it helpful to change add an -n auto to the Pytest command.

The last time I tried, only single core works. We probably should try pytest-xdist master now.

@jbrockmendel
Copy link
Member Author

Remaining failures look unrelated

@jreback jreback added this to the 1.3 milestone Jun 15, 2021
@@ -40,7 +40,7 @@
from pandas import MultiIndex
from pandas.core.indexes.base import Index

_INT64_MAX = np.iinfo(np.int64).max
_INT64_MAX = lib.i8max
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can u fix these rather than just renaming

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alt change the ones in the .pyx to be uppercase

it's not at all clear that these are actually the same

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated+green

@@ -25,6 +25,9 @@ class NoDefault(Enum): ...

no_default: NoDefault

i8max: int
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i still find this odd, pls do in a followup (e.g. change these to the same naming as in util e.t. INT64_MAX)

@jreback
Copy link
Contributor

jreback commented Jun 15, 2021

tell you what. i like green, so if you can do a followup for the name cleaning (which we can backport to 1.3)

@jreback jreback merged commit cef3598 into pandas-dev:master Jun 15, 2021
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Jun 15, 2021
@jreback
Copy link
Contributor

jreback commented Jun 15, 2021

@meeseeksdev backport 1.3.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jun 15, 2021

Something went wrong ... Please have a look at my logs.

simonjayhawkins pushed a commit that referenced this pull request Jun 15, 2021
@jbrockmendel jbrockmendel deleted the ci-310 branch June 15, 2021 16:28
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Python 3.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants