Skip to content

Move the flint pxd generation script to tools#41758

Merged
vbraun merged 8 commits intosagemath:developfrom
orlitzky:move-flint-autogen-to-tools
Mar 22, 2026
Merged

Move the flint pxd generation script to tools#41758
vbraun merged 8 commits intosagemath:developfrom
orlitzky:move-flint-autogen-to-tools

Conversation

@orlitzky
Copy link
Copy Markdown
Contributor

@orlitzky orlitzky commented Mar 5, 2026

Since this script is run by a human (and the changes committed manually), I think it is more appropriate under tools/ than in src/sage_setup/autogen. As evidence for this, we can delete the exception for it in conftest.py, which in reality is what made me look at it in the first place.

orlitzky added 3 commits March 5, 2026 08:13
It's part of sagemath-giac now.
This script is run by a human to generate the pxd files for our flint
bindings in sage/libs/flint. We now have a "tools" directory for such
things; src/sage_setup/autogen is part of the sage library and should
ideally contain only things needed at build time.
orlitzky added 5 commits March 5, 2026 08:45
Since this README covers all of the other tools, it should mention
flint-autogen too.
This has been moved to "tools", which is already ignored.
The path to the flint_autogen.py script is mentioned in a few places
that need to be updated now that it has moved.
The autogen script has moved; to avoid confusion, let's ignore the
big warning and edit these files.
Comment thread conftest.py
and file_path.parent.name == "nbconvert"
)
or (
file_path.name == "giacpy-mkkeywords.py"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why this giacpy exception disappeared?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I deleted it a long time ago: 60a42a342680d042

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

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

vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 6, 2026
Since this script is run by a human (and the changes committed
manually), I think it is more appropriate under `tools/` than in
`src/sage_setup/autogen`. As evidence for this, we can delete the
exception for it in `conftest.py`, which in reality is what made me look
at it in the first place.

URL: sagemath#41758
Reported by: Michael Orlitzky
Reviewer(s): Michael Orlitzky, Vincent Delecroix
@orlitzky
Copy link
Copy Markdown
Contributor Author

orlitzky commented Mar 6, 2026

Thank you!

vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 15, 2026
sagemathgh-41758: Move the flint pxd generation script to tools
    
Since this script is run by a human (and the changes committed
manually), I think it is more appropriate under `tools/` than in
`src/sage_setup/autogen`. As evidence for this, we can delete the
exception for it in `conftest.py`, which in reality is what made me look
at it in the first place.
    
URL: sagemath#41758
Reported by: Michael Orlitzky
Reviewer(s): Michael Orlitzky, Vincent Delecroix
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 18, 2026
sagemathgh-41758: Move the flint pxd generation script to tools
    
Since this script is run by a human (and the changes committed
manually), I think it is more appropriate under `tools/` than in
`src/sage_setup/autogen`. As evidence for this, we can delete the
exception for it in `conftest.py`, which in reality is what made me look
at it in the first place.
    
URL: sagemath#41758
Reported by: Michael Orlitzky
Reviewer(s): Michael Orlitzky, Vincent Delecroix
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 21, 2026
sagemathgh-41758: Move the flint pxd generation script to tools
    
Since this script is run by a human (and the changes committed
manually), I think it is more appropriate under `tools/` than in
`src/sage_setup/autogen`. As evidence for this, we can delete the
exception for it in `conftest.py`, which in reality is what made me look
at it in the first place.
    
URL: sagemath#41758
Reported by: Michael Orlitzky
Reviewer(s): Michael Orlitzky, Vincent Delecroix
@vbraun vbraun merged commit e243f56 into sagemath:develop Mar 22, 2026
25 checks passed
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