Skip to content

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 ...

@swt2c
Copy link
Contributor Author

swt2c commented Aug 19, 2025

This was fixed by @mcfletch in another way (clever!) in 2a7de75, so closing this.

@swt2c swt2c closed this Aug 19, 2025
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