Skip to content

Conversation

@max-muoto
Copy link

@max-muoto max-muoto commented Jun 11, 2024

Fix issues detailed in #698

@max-muoto max-muoto marked this pull request as ready for review June 11, 2024 18:48
@max-muoto max-muoto marked this pull request as draft June 11, 2024 18:48
@max-muoto max-muoto marked this pull request as ready for review June 11, 2024 18:51
@max-muoto max-muoto mentioned this pull request Jun 11, 2024
CIBW_TEST_REQUIRES: "pytest msgpack pyyaml tomli tomli_w"
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp13-*"
Copy link

@LecrisUT LecrisUT Jun 15, 2024

Choose a reason for hiding this comment

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

Usually pypa/cibuildwheel minor version takes care of adding and removing EOL and new python versions. I think there is some handling for pre-release but don't remember how.

Could consider moving these to the pyproject.toml to make it more easily reproducible and removing the explicit CIBW_BUILD?

(Not in this PR, but a subsequent one when python 3.13 is working)

#if PY313_PLUS
// Python 3.13 adds an extra argument to control whether to throw an error on overflow.
// This happens by default in older versions, so simply match the behavior.
out = _PyLong_AsByteArray((PyLongObject *)int128, buf, 16, 0, 0, 0, 1);
Copy link

Choose a reason for hiding this comment

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

You're not declaring int out anymore.

Copy link

Choose a reason for hiding this comment

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

…and passing one argument too many in both branches.

@edgarrmondragon
Copy link
Contributor

@mgorny @max-muoto I've put up #711 and I can confirm wheels can be built and tests pass on Python 3.13

@max-muoto
Copy link
Author

Closing in favor of #711, thanks @edgarrmondragon!

@max-muoto max-muoto closed this Sep 7, 2024
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.

4 participants