Skip to content

Commit c866092

Browse files
author
Release Manager
committed
gh-39139: Meson: install `__init__` files <!-- ^ 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 #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 #12345". --> 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 <!-- 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, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> - #39140 URL: #39139 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik
2 parents 6e5aee3 + 4568979 commit c866092

File tree

88 files changed

+113
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+113
-20
lines changed

.github/workflows/ci-meson.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
key: ${{ runner.os }}-meson-${{ matrix.python }}
4848

4949
- name: Setup Conda environment
50-
uses: conda-incubator/setup-miniconda@v2
50+
uses: conda-incubator/setup-miniconda@v3
5151
with:
5252
python-version: ${{ matrix.python }}
5353
miniforge-version: latest

src/sage/algebras/finite_dimensional_algebras/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'finite_dimensional_algebra.py',
45
'finite_dimensional_algebra_element.pxd',

src/sage/algebras/fusion_rings/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'f_matrix.py',
45
'fast_parallel_fmats_methods.pxd',

src/sage/algebras/letterplace/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'free_algebra_element_letterplace.pxd',
45
'free_algebra_letterplace.pxd',

src/sage/algebras/lie_algebras/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'abelian.py',
34
'affine_lie_algebra.py',
45
'all.py',

src/sage/algebras/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'affine_nil_temperley_lieb.py',
34
'algebra.py',
45
'all.py',

src/sage/algebras/quatalg/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'quaternion_algebra.py',
45
'quaternion_algebra_element.pxd',

src/sage/arith/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'all__sagemath_objects.py',
45
'constants.pxd',

src/sage/calculus/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'calculus.py',
45
'desolvers.py',

src/sage/calculus/transforms/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
py.install_sources(
2+
'__init__.py',
23
'all.py',
34
'dft.py',
45
'dwt.pxd',

0 commit comments

Comments
 (0)