Skip to content

Fix FTBFS with Cython 3.1.x #156

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

swt2c
Copy link
Contributor

@swt2c swt2c commented Jul 10, 2025

Cython 3.1.0 has removed support for Python 2, which includes the 'long' data type. Simply switch to 'int' which should be the same thing in Python 3.

Cython 3.1.0 has removed support for Python 2, which includes the 'long'
data type.  Simply switch to 'int' which should be the same thing in
Python 3.
@ChrisBarker-NOAA
Copy link

Doing this without updating the requirements seems like a bad idea to me.

unless it actually does work with python2 -- I don't suppose you tested it?

So I think #155 is the better option.

@swt2c
Copy link
Contributor Author

swt2c commented Jul 10, 2025

No, I didn't test Python 2. Fair enough, but I would rebase/squash the commits in your PR as it has a lot of extra cruft that is done and undone. The resulting changes look fine, though.

@ChrisBarker-NOAA
Copy link

well, yes, it should be squashed when merged ...

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