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

Meson: install __init__ files #39139

Merged
merged 4 commits into from
Dec 22, 2024
Merged

Meson: install __init__ files #39139

merged 4 commits into from
Dec 22, 2024

Conversation

tobiasdiez
Copy link
Contributor

@tobiasdiez tobiasdiez commented Dec 16, 2024

As proposed in #39030 (comment). Namespace support is still not there for all tools (cython, pytest, ...), so it's a good idea to still distribute these __init__.py files for now until the ecosystem catches up.

Also fixes failures of the meson workflow due to a missing python file.

📝 Checklist

  • The title is concise and informative.
  • 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 and checked the documentation preview.

⌛ Dependencies

Copy link

github-actions bot commented Dec 16, 2024

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

@tobiasdiez tobiasdiez mentioned this pull request Dec 16, 2024
5 tasks
Co-authored-by: Dima Pasechnik <dimpase@gmail.com>
Copy link
Member

@dimpase dimpase left a comment

Choose a reason for hiding this comment

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

lgtm

@dimpase
Copy link
Member

dimpase commented Dec 17, 2024

linting errors are not from here, it's someone got a PR merged with failing linting. Also, some "failing" tests actually run fine, doctest errors not relevant here.

@user202729 user202729 mentioned this pull request Dec 18, 2024
5 tasks
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 19, 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". -->

As proposed in
sagemath#39030 (comment).
Namespace support is still not there for all tools (cython, pytest,
...), so it's a good idea to still distribute these `__init__.py` files
for now until the ecosystem catches up.

Also fixes failures of the meson workflow due to a missing python file.

### 📝 Checklist

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

- [ ] The title is concise and informative.
- [ ] 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 and checked the documentation
preview.

### ⌛ Dependencies

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

- sagemath#39140
    
URL: sagemath#39139
Reported by: Tobias Diez
Reviewer(s): Dima Pasechnik
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 19, 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". -->

The creation of the conda environment failed. This is fixed by upgrading
the conda-setup action.

A few tests fail, this is fixed in
sagemath#39139.

### 📝 Checklist

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

- [ ] The title is concise and informative.
- [ ] 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 and checked the documentation
preview.

### ⌛ 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#39140
Reported by: Tobias Diez
Reviewer(s): Dima Pasechnik
@yyyyx4 yyyyx4 added the p: CI Fix merged before running CI tests label Dec 19, 2024
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 21, 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". -->

The creation of the conda environment failed. This is fixed by upgrading
the conda-setup action.

A few tests fail, this is fixed in
sagemath#39139.

### 📝 Checklist

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

- [ ] The title is concise and informative.
- [ ] 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 and checked the documentation
preview.

### ⌛ 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#39140
Reported by: Tobias Diez
Reviewer(s): Dima Pasechnik
@vbraun vbraun merged commit c866092 into sagemath:develop Dec 22, 2024
21 of 24 checks passed
@tobiasdiez tobiasdiez deleted the ship-init branch December 23, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: blocker / 1 p: CI Fix merged before running CI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants