-
Notifications
You must be signed in to change notification settings - Fork 176
GSoC 2026 proposal: Hardening astropy's core stability #404
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
Open
neutrinoceros
wants to merge
2
commits into
OpenAstronomy:main
Choose a base branch
from
neutrinoceros:hardening-astropy-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+82
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| --- | ||
| name: Hardening astropy's core stability | ||
| # Add a short one line description of your project | ||
| desc: Improvements to astropy low level extension modules (C/C++/Cython) | ||
| # Student requirements: | ||
| requirements: | ||
| - at least one low level language (C or C++ prefered) | ||
| - testing in Python | ||
| # How difficult would you consider the project to be: low, medium, high | ||
| difficulty: medium to high, depending on candidate | ||
| # Related issues (if any) to this project. | ||
| # Ideally you want at least one that describes the problem it is trying to solve | ||
| issues: | ||
| - https://github.com/neutrinoceros/astropy-APEs/pull/1 | ||
| - https://github.com/astropy/astropy/issues/17760 | ||
| - https://github.com/astropy/astropy/issues/19249 | ||
|
|
||
| # First person in contact; mentors may change before project starts. | ||
| # GitHub or GitLab handles | ||
| mentors: | ||
| - neutrinoceros | ||
| # The programme under this project wish to run. At the moment only GSOC is available | ||
| initiatives: | ||
| - GSOC | ||
| project_size: | ||
| - 175 h | ||
| # Different technologies needed | ||
| tags: | ||
| - python | ||
| - meson-python | ||
| - C | ||
| - C++ | ||
| - Cython | ||
| - pytest | ||
| # suborganisation(s) to which this project belongs. | ||
| collaborating_projects: | ||
| - astropy | ||
| --- | ||
|
|
||
| # Hardening astropy's core stability | ||
|
|
||
| ## Description | ||
|
|
||
| Astropy is a mixed-language code base. Most of it is pure Python, but many hotpaths are | ||
| written in lower level languages (Cython, C and C++). The former is where the vast | ||
| majority of past and current development is conducted, while the latter in much more | ||
| slowly paced. Meanwhile, the low-level layer overwhemingly dominates other important | ||
| aspects like complexity of *building* and distributing astropy releases, and takes an | ||
| estimated 20 to 50% share of astropy CI time for recompilation *of code that almost never changes*. | ||
|
|
||
| It would be possible to decouple the bulk of the code base from its low level layer, | ||
| for instance by splitting the latter into a separate package, but this new package would | ||
| be insufficiently tested on its own, as much of astropy's test suite currently only | ||
| checks the behavior of the public API, which doesn't intersect with the low level layer. | ||
|
|
||
| We want to build a more fundamental test suite for this low level layer, making it much | ||
| more independent from astropy's existing tests. | ||
|
|
||
| This project would be highly related to (although separable from) the [following draft | ||
| APE](https://github.com/neutrinoceros/astropy-APEs/pull/1), which also contains more details on why the separation is desirable | ||
|
|
||
| As such, it would also provide opportunities for exploratory works like | ||
| - migrating to a modern, externally maintained build system like Meson | ||
| - rewritting, or incorporating `rust`-based extensions | ||
| - exploring PEP 803/809 Limited API for Python 3.15 | ||
|
|
||
| All of the above would be in scope for this project, depending on the candidate's own | ||
| interests and time allocated. | ||
|
|
||
| ## Project Milestones | ||
|
|
||
| ### Coding starts | ||
|
|
||
| * TBD | ||
|
|
||
| ### 1st evaluation | ||
|
|
||
| * TBD | ||
|
|
||
| ### Final evaluation | ||
|
|
||
| * TBD | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will there be a second person?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possibly. I'm reaching out for another mentor, but I can't confirm anything yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a hard requirement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I don't think its one for GSoC, they do recommend strongly to have multiple mentors and we like to try and enforce two people. It is common that one mentor can be busy and it is very useful for a student to have someone else to fall back on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is absolutely a hard requirement. If you cannot convince 1-2 other people from the project to co-mentor this idea; then I'm afraid we won't run it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair enough. What would be the deadline on this ?