Skip to content

CI: Add regular 3.11 pipeline #50696

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 16 commits into from
Jan 16, 2023
Merged

CI: Add regular 3.11 pipeline #50696

merged 16 commits into from
Jan 16, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Jan 12, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@phofl phofl marked this pull request as draft January 12, 2023 09:39
@phofl
Copy link
Member Author

phofl commented Jan 12, 2023

cc @MarcoGorelli

Looks like using mamba for the env fixes the installation issue, but we have some weird segfault on the 3.11 single cpu build

@MarcoGorelli
Copy link
Member

--extra-index-url instead of -i seems to have fixed it too #50698

if that works, would this one still be necessary?

@phofl
Copy link
Member Author

phofl commented Jan 12, 2023

This one takes precedence over the dev build. It's kinda unrelated but after seeing the failures today I remembered that I wanted to look into it anyway.

The dev build only tests with our required dependencies while this one enables a full test-run on 3.11 (except numba since it's not compatible with 3.11 yet). This would give us the same test coverage as the other supported python versions.

Have to get the ci passing before that though.

- cython>=0.29.32

# test dependencies
- pytest>=6.0
Copy link
Member

Choose a reason for hiding this comment

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

Noting some of these got updated in #50481

Copy link
Member Author

Choose a reason for hiding this comment

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

Adjusted

@phofl
Copy link
Member Author

phofl commented Jan 15, 2023

pytables is not yet available for 3.11 on conda-forge.

@phofl phofl marked this pull request as ready for review January 15, 2023 18:35
@phofl
Copy link
Member Author

phofl commented Jan 15, 2023

Last build was green on 3.11, merging main to get up to date. @lithomas1 would you mind having a look?

@phofl phofl added this to the 2.0 milestone Jan 15, 2023
@phofl phofl added the CI Continuous Integration label Jan 15, 2023
@phofl phofl changed the title CI: Try regular 3.11 pipeline CI: Add regular 3.11 pipeline Jan 15, 2023

# required dependencies
- python-dateutil
- numpy<1.24
Copy link
Member

Choose a reason for hiding this comment

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

Can this be unpinned?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's check, copied 3.10 when I started but seems to work there now

Copy link
Member Author

Choose a reason for hiding this comment

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

Have to keep it pinned. Numba pins it indirectly on the other jobs, but since we don't install it here, we have to keep the pin

- jinja2
- lxml
- matplotlib>=3.6.1
- numexpr
Copy link
Member

Choose a reason for hiding this comment

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

Is numba commented out somewhere in this file?

Copy link
Member Author

@phofl phofl Jan 15, 2023

Choose a reason for hiding this comment

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

No just removed it completely, can add it as a comment if you prefer. I just left pytables in because they already released it but the conda packages are not yet build

Copy link
Member

Choose a reason for hiding this comment

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

Can you add it back as a comment so we don't forget it? Thanks.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@phofl
Copy link
Member Author

phofl commented Jan 16, 2023

Merging to get our stuff tested properly on 3.11

@phofl phofl merged commit 8ddd6a6 into pandas-dev:main Jan 16, 2023
@phofl phofl deleted the ci branch January 18, 2023 09:01
Comment on lines -26 to +33
- main
- 1.5.x
# - main
# - 1.5.x
- None
pull_request:
branches:
- main
- 1.5.x
# - main
# - 1.5.x
- None
Copy link
Member

Choose a reason for hiding this comment

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

@phofl I'm confused, why comment these out?

Copy link
Member Author

Choose a reason for hiding this comment

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

My reasoning was that it would be easier to add them back in for 3.12, but no strong opinion, can remove if you prefer

Copy link
Member

Choose a reason for hiding this comment

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

I think previously we would comment/uncomment if: false below to temporarily disable this workflow

Copy link
Member

@MarcoGorelli MarcoGorelli Feb 8, 2023

Choose a reason for hiding this comment

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

ah ok - that's fine, thnx for explaining

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants