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

build/pkgs/flint 3.1.3 #37203

Merged
merged 30 commits into from
May 25, 2024
Merged

build/pkgs/flint 3.1.3 #37203

merged 30 commits into from
May 25, 2024

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented Jan 31, 2024

For this upgrade we tighten the check for GMP so that 6.2.1 is accepted but 6.2.0 is rejected. For example ubuntu-focal-standard brings 6.2.0, we accept it, and then FLINT complains:
https://github.com/mkoeppe/flint2/actions/runs/7718792281/job/21040793706#step:11:5395

We also change the upper bound on system flint accepted by configure. Closes #37838.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • 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

@mkoeppe mkoeppe self-assigned this Feb 5, 2024
@mkoeppe mkoeppe changed the title build/pkgs/gmp/spkg-configure.m4: Check for GMP version >= 6.2.1 build/pkgs/flint 3.1.0 Feb 25, 2024
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 26, 2024

The tests haven't run yet, but apparently we need a patch for FLINT 3.1.0 support? https://groups.google.com/g/sage-support/c/72w_C1O6lPs/m/QC6M0CtVEAAJ @antonio-rojas

@antonio-rojas
Copy link
Contributor

The tests haven't run yet, but apparently we need a patch for FLINT 3.1.0 support? https://groups.google.com/g/sage-support/c/72w_C1O6lPs/m/QC6M0CtVEAAJ @antonio-rojas

Yes, I will submit a PR in a few hours

@antonio-rojas
Copy link
Contributor

Note that singular also needs patching (my PR will only handle sagelib)

https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/blob/main/flint-3.1.patch?ref_type=heads

@antonio-rojas
Copy link
Contributor

The tests haven't run yet, but apparently we need a patch for FLINT 3.1.0 support? https://groups.google.com/g/sage-support/c/72w_C1O6lPs/m/QC6M0CtVEAAJ @antonio-rojas

Yes, I will submit a PR in a few hours

#37484

vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 2, 2024
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Because our Singular does not support it yet, see sagemath#37203


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [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. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#37495
Reported by: Matthias Köppe
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 4, 2024
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Because our Singular does not support it yet, see sagemath#37203


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [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. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#37495
Reported by: Matthias Köppe
Reviewer(s):
@mkoeppe mkoeppe added the pending label Mar 4, 2024
@mkoeppe mkoeppe changed the title build/pkgs/flint 3.1.0 build/pkgs/flint 3.1.2 Apr 10, 2024
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 11, 2024

The incremental build (Build&Test) shows:

ImportError: libflint.so.18: cannot open shared object file: No such file or directory

(https://github.com/sagemath/sage/actions/runs/8626409427/job/23644543324?pr=37203#step:14:54)

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 24, 2024

Copy link

Documentation preview for this PR (built with commit e2d2df4; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@kwankyu
Copy link
Collaborator

kwankyu commented May 21, 2024

There is also a merge conflict with #38025.

Copy link
Collaborator

@kwankyu kwankyu left a comment

Choose a reason for hiding this comment

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

LGTM.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented May 21, 2024

Thanks!

@mkoeppe
Copy link
Contributor Author

mkoeppe commented May 21, 2024

There is also a merge conflict with #38025.

I've already merged #37726 into that PR; you may need to pull

@vbraun vbraun merged commit 4a6edc3 into sagemath:develop May 25, 2024
19 of 40 checks passed
@mkoeppe mkoeppe added this to the sage-10.4 milestone May 25, 2024
@mkoeppe mkoeppe deleted the gmp_require_6_2_1 branch May 25, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

restricting Flint version should be conditional on installing Singular
5 participants