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

cython: update to 3.0.10 #2815

Merged
merged 36 commits into from
Jul 8, 2024
Merged

cython: update to 3.0.10 #2815

merged 36 commits into from
Jul 8, 2024

Conversation

androidnisse
Copy link
Contributor

@androidnisse androidnisse commented Jun 1, 2024

Summary

  • Release notes can be found here.

Test Plan

  • Updated scikit-learn against this.

Checklist

  • Package was built and tested against unstable

Packaging notes

  • Scikit-learn depends on new cython when updated. Therefore I added them in the same pull request.

@ReillyBrogan
Copy link
Contributor

I just checked the release notes for this and there are ~3k commits between the version you're upgrading from and the version you're upgrading too. With that much churn in the code base I'd want to see every single package that has cython as a builddep (it's a compiler, so it's only used during builds) rebuilt as well as part of this PR.

Copy link
Contributor

@ReillyBrogan ReillyBrogan left a comment

Choose a reason for hiding this comment

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

See above comment

@androidnisse androidnisse marked this pull request as draft June 1, 2024 06:48
@androidnisse
Copy link
Contributor Author

androidnisse commented Jun 1, 2024

Thanks for the feedback @ReillyBrogan I have now rebuilt all the packages, there are some issues in this pull request now as you can see but those are orders of dependencies and a package not bumped. This I will fix.

There were three that did not build, two complaining on cython and one not building whatsoever.

  • python-pyliblo is old and not updated for 9 years.
  • pyyaml is working on cython support for version 3 but it is not supported for now.
  • tensorflow does not build at all.

Arch seems to have solved this problem by having two packages. One legacy for 0.x and one for 3.x I'm not sure what the best way forward from here would be.

@androidnisse androidnisse force-pushed the update_cython branch 3 times, most recently from ad546ea to aa5f8e9 Compare June 1, 2024 16:29
@androidnisse androidnisse requested a review from ReillyBrogan June 2, 2024 12:36
@androidnisse androidnisse force-pushed the update_cython branch 2 times, most recently from 460b7aa to 85b1735 Compare June 5, 2024 10:45
@androidnisse
Copy link
Contributor Author

androidnisse commented Jun 5, 2024

So after my latest comment I have now managed to build all except that old package. So in my opinion it should be looked at if that could be deprecated so it doesn't hold back this stack. What do you say @ReillyBrogan?

Ignore the above. Everything builds now.

@androidnisse androidnisse marked this pull request as ready for review June 5, 2024 13:57
@androidnisse androidnisse force-pushed the update_cython branch 2 times, most recently from f59af27 to e452124 Compare June 5, 2024 15:50
@androidnisse
Copy link
Contributor Author

@ReillyBrogan do you have time to check this? 👍

@androidnisse androidnisse deleted the update_cython branch June 21, 2024 06:26
@androidnisse androidnisse restored the update_cython branch June 21, 2024 06:28
@androidnisse androidnisse reopened this Jun 21, 2024
@androidnisse androidnisse force-pushed the update_cython branch 4 times, most recently from b88b80a to 92fb943 Compare July 3, 2024 15:55
joebonrichie
joebonrichie previously approved these changes Jul 4, 2024
Copy link
Member

@malfisya malfisya left a comment

Choose a reason for hiding this comment

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

I will try to get this merge soon, but there are few problems:

  • python-h5py is included in python-gssapi commit
  • scikit-learn is included in cython commit
  • printrun is included in numpy commit
  • pyyaml needs a rebuild too

**Summary**
- Rebuild against cython
**Summary**

Rebuild against cython
**Summary**

Rebuild against cython
**Summary**
- The test_feed_parser test could fail if lxml_html_clean was not installed. It is now skipped in that case.
- The minimum CPU architecture for the Linux x86 binary wheels was set back to "core2", without SSE 4.2.
- If libxml2 uses iconv, the compile time version is available as etree.ICONV_COMPILED_VERSION.
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
 - No release notes for this version.
**Summary**
- Rebuild against cython.
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
**Summary**
- Rebuild against cython
Copy link
Member

@malfisya malfisya left a comment

Choose a reason for hiding this comment

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

Made edits to a few commit messages. Merge time!

@malfisya malfisya merged commit 23e72c8 into getsolus:main Jul 8, 2024
1 check passed
@androidnisse androidnisse deleted the update_cython branch July 9, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants