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

Modernize Python metadata (local) #1014

Merged
merged 18 commits into from
Mar 12, 2024
Merged

Modernize Python metadata (local) #1014

merged 18 commits into from
Mar 12, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Mar 2, 2024

Local fork of #1013 - Adds redoes packaging in the form that 3.12 is going to need since setuptools is deprecated.

In the process, something happened with the way that Cython gets run and we were then getting lots of Cython type annotation mismatch failures. So these have been corrected.

We could split this into just the Cython corrections and then apply the packaging toml changes in #1013.

Your thoughts? @mmatera and @mkoeppe

@rocky
Copy link
Member Author

rocky commented Mar 9, 2024

@mmatera the failures here are failures in the core system. While I am currently working on fixing those problems, we might consider merging this in since it has been a while lingering.

Your thoughts?

@mmatera
Copy link
Contributor

mmatera commented Mar 10, 2024

Actually, this PR seems to produce more errors. In my opinion, to merge this would make it harder to determine the origin of this and the previous failures.

@rocky
Copy link
Member Author

rocky commented Mar 10, 2024

Actually, this PR seems to produce more errors. In my opinion, to merge this would make it harder to determine the origin of this and the previous failures.

Ok. Hopefully, I will have the others addressed within a day or so.

rocky added 3 commits March 11, 2024 18:02
3.11 seems to use to require more stringent cython.

While this is a good thing. Right now we should focus on one issue at a
time.

The issue here is TOM, not 3.11 Cython stringencies
@rocky rocky requested a review from mmatera March 12, 2024 08:51
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

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

@rocky, thanks for all this work! LGTM

Copy link
Contributor

@mkoeppe mkoeppe left a comment

Choose a reason for hiding this comment

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

LGTM

@rocky rocky merged commit ffb3647 into master Mar 12, 2024
10 checks passed
@rocky rocky deleted the pyproject_toml branch March 12, 2024 16:25
vbraun pushed a commit to vbraun/sage that referenced this pull request Jul 20, 2024
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
Our Mathics package is outdated (and also the interface shows test
failures in CI - e.g. in https://github.com/sagemath/sage/actions/runs/7
894201915/job/21638423818#step:14:3279)

Trying to update Mathics reveals more dependencies, include scikit-image
and llvm-lite.

Here we reduce it to a "pip" package to simplify maintenance of the
package on our side.

The latest released version 6.0.4 fails to install in Sage because of
rigid version constraints.

We are using the current HEAD version (7.0.0dev), which includes
- Mathics3/mathics-core#1014
- Mathics3/mathics-core#1034

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#37395
Reported by: Matthias Köppe
Reviewer(s): Matthias Köppe, Sebastian Oehms
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.

3 participants