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

Temporarily remove 3.12 from the python-version list in CI workflow. #350

Merged
merged 3 commits into from
Aug 15, 2023

Conversation

ezio-melotti
Copy link
Member

This is an attempt to fix the CI failures that are blocking other PRs.

#348 and #349 are failing with:

TypeError: rmtree() got an unexpected keyword argument 'onexc'

and onexc was introduced in 3.12, but possibly after the alpha that is currently pinned.

However bumping it to 3.12 will probably cause other issues (like the ones seen in #330), so this is just an attempt to see if it works, and if not I'm planning to just remove 3.12 altogether for the time being.

@ezio-melotti ezio-melotti self-assigned this Aug 15, 2023
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@ezio-melotti
Copy link
Member Author

ezio-melotti commented Aug 15, 2023

This still fails with:

3744 |     const digit* digits = ((PyLongObject*)b)->ob_digit;

which is the problem mentioned in #330 (aio-libs/aiohttp#7229).

Ok to remove 3.12 altogether?

@AlexWaygood
Copy link
Member

Ok, to remove 3.12 altogether?

I don't think there's any other option if we want to keep the CI green, unfortunately. I've hit the aiohttp issue in a few other projects, as well :/

@hugovk
Copy link
Member

hugovk commented Aug 15, 2023

Yes, let's remove it!

(We can have a draft PR to add it back instead.)

@@ -24,6 +24,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Copy link
Member Author

Choose a reason for hiding this comment

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

I left this here so that we don't forget, but I could also remove it and it to the draft PR that adds 3.12 back if you prefer:

Suggested change
allow-prereleases: true

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 it's fine to leave it in

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks!

@ezio-melotti ezio-melotti changed the title Update python-version list in CI workflow. Temporarily remove 3.12 from the python-version list in CI workflow. Aug 15, 2023
@ezio-melotti ezio-melotti merged commit 00d9768 into main Aug 15, 2023
11 checks passed
@ezio-melotti ezio-melotti deleted the ci-312 branch August 15, 2023 19:54
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.

None yet

3 participants