Skip to content

inibitset: include pycore_frame for py 3.11#82

Merged
pombredanne merged 1 commit intoinveniosoftware-contrib:masterfrom
priv-kweihmann:fix/py311-frame-object
Nov 15, 2022
Merged

inibitset: include pycore_frame for py 3.11#82
pombredanne merged 1 commit intoinveniosoftware-contrib:masterfrom
priv-kweihmann:fix/py311-frame-object

Conversation

@priv-kweihmann
Copy link
Contributor

this is a backport of a change done in cython to include the correct definition of PyFrame for python 3.11.
Only added a guard macro to avoid double including the header file.

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

this is a backport of a change done in cython to include the
correct definition of PyFrame for python 3.11.
Only added a guard macro to avoid double including the
header file

Closes inveniosoftware-contrib#81

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
@priv-kweihmann
Copy link
Contributor Author

A test case would be to compile with py3.10 and py3.11 in CI (currently that is only given up to py3.9) - if that is necessary to get it merged, I will add that to this PR or a new one

@pombredanne
Copy link
Collaborator

Thanks you ++

  • if that is necessary to get it merged, I will add that to this PR or a new one

It is not in this case, and it would suffice IMHO to add 3.11 to the test matrix in https://github.com/inveniosoftware/intbitset/blob/master/.github/workflows/test-and-build.yml ?

@pombredanne
Copy link
Collaborator

@priv-kweihmann your fix is sleek ... but the C code would be overwritten when regenerated?

@priv-kweihmann
Copy link
Contributor Author

@pombredanne surely it will be - but I'm not sure when cython project finally will release something that is compatible with py3.11 - currently one would have to used the master to regenerate.
Not sure how you guys want to handle this, but I would be okay to wait - this patch unblocks me locally so I do not feel pressure, if there's a chance to do it right

@pombredanne
Copy link
Collaborator

@priv-kweihmann we can merge this now and also add an issue with your patch attached so we can also handle in the future

@pombredanne
Copy link
Collaborator

Merging now

@pombredanne pombredanne merged commit a2dcd77 into inveniosoftware-contrib:master Nov 15, 2022
@priv-kweihmann priv-kweihmann deleted the fix/py311-frame-object branch November 15, 2022 15:57
@pombredanne
Copy link
Collaborator

I wonder when this is going to be fixed upstream @priv-kweihmann do you know?

@priv-kweihmann
Copy link
Contributor Author

@pombredanne I'm not involved with cython upstream, so I don't know, but I'm waiting as everyone else on a release that officially supports py 3.11

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