Skip to content
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

Fix CI issues with Python version #17

Merged
merged 9 commits into from
Oct 27, 2023
Merged

Conversation

dfsnow
Copy link
Member

@dfsnow dfsnow commented Oct 27, 2023

This PR fixes CI issues uncovered by #16.

Took me awhile to debug, but the setup-python GitHub Action switched to using 3.12 in this most recent PR (since we didn't have the setup action version locked). Unfortunately, most of the package dependencies we're using do not yet have 3.12 wheels on PyPI. This resulted in build failures from trying to build from source while lacking system dependencies.

@dfsnow dfsnow marked this pull request as draft October 27, 2023 01:42
@dfsnow dfsnow changed the title Fix minor CI issues (missing distutils) Fix CI issues with Python version Oct 27, 2023
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Merging #17 (0b1b749) into main (75d96d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   98.74%   98.74%           
=======================================
  Files          12       12           
  Lines         478      478           
=======================================
  Hits          472      472           
  Misses          6        6           

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
Copy link
Member Author

Choose a reason for hiding this comment

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

Bumping these other Action versions because why not.

@@ -17,7 +17,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
Copy link
Member Author

Choose a reason for hiding this comment

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

This line is the main culprit here, as this will now install 3.12 by default.

Version locking this to 3.11 works for now, but we should eventually update this and add 3.12 to the test matrix once wheels are available.

Comment on lines +1 to +3
numpy==1.26.*
pandas==2.*
pyarrow==13.0.*
Copy link
Member Author

Choose a reason for hiding this comment

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

Bumping these to any minor version. We'll need to manually bump some of them to get the correct wheels for 3.12.

@dfsnow dfsnow marked this pull request as ready for review October 27, 2023 03:16
@wrridgeway
Copy link
Member

Much appreciated

@dfsnow dfsnow merged commit 9f46ede into main Oct 27, 2023
9 checks passed
@dfsnow dfsnow deleted the dansnow/fix-test-ci-issues branch October 27, 2023 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants