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

General upgrades to Python3 with warning fix #5

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

mtreglia-gpsw
Copy link

@mtreglia-gpsw mtreglia-gpsw commented Feb 28, 2024

This PR

* Bump integration test to Python3

* Bump base tox python to 3.10

* Bump gitactions checkout and setup-python versions

* Fix Warning

This will prevent this type of warning:

.sx/stupeflix/lib/python3.10/site-packages/setuptools/_distutils/extension.py:134:
UserWarning: Unknown Extension options: 'cpp_std', 'tags' warnings.warn(msg)

It's wrong to forward the keyword 'cpp_std' and 'tags' to cython.Extension and the latter is used to fill the extra_compile_args in:

https://github.com/gopro/cython-setuptools/blob/main/cython_setuptools/vendor.py#L295-L296

@mtreglia-gpsw mtreglia-gpsw changed the title vendor: remove cpp_str and tags after usage vendor: remove cpp_str and tags after usage with minimal upgrade Feb 28, 2024
@mtreglia-gpsw mtreglia-gpsw changed the title vendor: remove cpp_str and tags after usage with minimal upgrade General upgrades to Python3 with warning fix Feb 28, 2024
@@ -4,18 +4,18 @@ isolated_build = true

[gh-actions]
python =

Choose a reason for hiding this comment

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

typo in commit message

This will prevent this type of warning:

.sx/stupeflix/lib/python3.10/site-packages/setuptools/_distutils/extension.py:134:
 UserWarning: Unknown Extension options: 'cpp_std', 'tags' warnings.warn(msg)

It's wrong to forward the keyword 'cpp_std' and 'tags' to
cython.Extension and the latter is used to fill the
extra_compile_args in:

https://github.com/gopro/cython-setuptools/blob/main/cython_setuptools/vendor.py#L295-L296
Copy link

@mrobertseidowsky-gpsw mrobertseidowsky-gpsw left a comment

Choose a reason for hiding this comment

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

good for me after adding tag 0.3.3

@mtreglia-gpsw mtreglia-gpsw merged commit e21d7c5 into main Feb 29, 2024
16 checks passed
@mtreglia-gpsw mtreglia-gpsw deleted the mtreglia/fix-warning branch February 29, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants