Skip to content

Commit

Permalink
gh-36777: spkg-configure.m4 for most external Python pkgs
Browse files Browse the repository at this point in the history
    
After #36129 and #36776 we are still left with a bunch of external (non-
Sage) Python packages
which need `spkg-configure.m4` and distros info.

Here we add these.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [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
- #12345: short description why this is a dependency
- #34567: ...
-->

- #36129
- #36776

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: #36777
Reported by: Dima Pasechnik
Reviewer(s):
  • Loading branch information
Release Manager committed Mar 21, 2024
2 parents 78bdda4 + 016fc0e commit 80a2744
Show file tree
Hide file tree
Showing 87 changed files with 146 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/pkgs/admcycles/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([admcycles], [SAGE_PYTHON_PACKAGE_CHECK([admcycles])])
1 change: 1 addition & 0 deletions build/pkgs/anyio/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([anyio], [SAGE_PYTHON_PACKAGE_CHECK([anyio])])
1 change: 1 addition & 0 deletions build/pkgs/arrow/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([arrow], [SAGE_PYTHON_PACKAGE_CHECK([arrow])])
1 change: 1 addition & 0 deletions build/pkgs/async_lru/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([async_lru], [SAGE_PYTHON_PACKAGE_CHECK([async_lru])])
1 change: 1 addition & 0 deletions build/pkgs/auditwheel_or_delocate/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([auditwheel_or_delocate], [SAGE_PYTHON_PACKAGE_CHECK([auditwheel_or_delocate])])
1 change: 1 addition & 0 deletions build/pkgs/biopython/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([biopython], [SAGE_PYTHON_PACKAGE_CHECK([biopython])])
1 change: 1 addition & 0 deletions build/pkgs/comm/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([comm], [SAGE_PYTHON_PACKAGE_CHECK([comm])])
1 change: 1 addition & 0 deletions build/pkgs/cvxpy/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([cvxpy], [SAGE_PYTHON_PACKAGE_CHECK([cvxpy])])
1 change: 1 addition & 0 deletions build/pkgs/cylp/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([cylp], [SAGE_PYTHON_PACKAGE_CHECK([cylp])])
1 change: 1 addition & 0 deletions build/pkgs/database_cubic_hecke/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([database_cubic_hecke], [SAGE_PYTHON_PACKAGE_CHECK([database_cubic_hecke])])
1 change: 1 addition & 0 deletions build/pkgs/database_knotinfo/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([database_knotinfo], [SAGE_PYTHON_PACKAGE_CHECK([database_knotinfo])])
1 change: 1 addition & 0 deletions build/pkgs/deprecation/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([deprecation], [SAGE_PYTHON_PACKAGE_CHECK([deprecation])])
1 change: 1 addition & 0 deletions build/pkgs/dot2tex/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([dot2tex], [SAGE_PYTHON_PACKAGE_CHECK([dot2tex])])
1 change: 1 addition & 0 deletions build/pkgs/ecos_python/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([ecos_python], [SAGE_PYTHON_PACKAGE_CHECK([ecos_python])])
1 change: 1 addition & 0 deletions build/pkgs/fqdn/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([fqdn], [SAGE_PYTHON_PACKAGE_CHECK([fqdn])])
1 change: 1 addition & 0 deletions build/pkgs/gap_jupyter/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([gap_jupyter], [SAGE_PYTHON_PACKAGE_CHECK([gap_jupyter])])
1 change: 1 addition & 0 deletions build/pkgs/gitpython/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([gitpython], [SAGE_PYTHON_PACKAGE_CHECK([gitpython])])
21 changes: 21 additions & 0 deletions build/pkgs/importlib_metadata/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
SAGE_SPKG_CONFIGURE([importlib_metadata], [
SAGE_PYTHON_PACKAGE_CHECK([importlib_metadata])
],[
# Three of our python packages are backport packages providing
# python-3.11 features (see coding_in_python.rst):
#
# * importlib_metadata
# * importlib_resources
# * typing_extensions
#
# These packages are therefore not needed with >=python-3.11. Here
# we test for a python minor version component greater than or equal
# to 11, and mark this package as "not required" if we succeed.
AC_MSG_CHECKING([for >=python-3.11])
# Keep in mind that False (~ zero) in python is success in the shell
AS_IF(["${PYTHON_FOR_VENV}" -c "import sys; sys.exit(sys.version_info.minor < 11)"],[
AC_MSG_RESULT([yes])
sage_require_importlib_metadata="no"
],[
AC_MSG_RESULT([no])
])
])

20 changes: 20 additions & 0 deletions build/pkgs/importlib_resources/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
SAGE_SPKG_CONFIGURE([importlib_resources], [
SAGE_PYTHON_PACKAGE_CHECK([importlib_resources])
],[
# Three of our python packages are backport packages providing
# python-3.11 features (see coding_in_python.rst):
#
# * importlib_metadata
# * importlib_resources
# * typing_extensions
#
# These packages are therefore not needed with >=python-3.11. Here
# we test for a python minor version component greater than or equal
# to 11, and mark this package as "not required" if we succeed.
AC_MSG_CHECKING([for >=python-3.11])
# Keep in mind that False (~ zero) in python is success in the shell
AS_IF(["${PYTHON_FOR_VENV}" -c "import sys; sys.exit(sys.version_info.minor < 11)"],[
AC_MSG_RESULT([yes])
sage_require_importlib_resources="no"
],[
AC_MSG_RESULT([no])
])
])
1 change: 1 addition & 0 deletions build/pkgs/isoduration/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([isoduration], [SAGE_PYTHON_PACKAGE_CHECK([isoduration])])
1 change: 1 addition & 0 deletions build/pkgs/json5/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([json5], [SAGE_PYTHON_PACKAGE_CHECK([json5])])
1 change: 1 addition & 0 deletions build/pkgs/jsonpointer/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jsonpointer], [SAGE_PYTHON_PACKAGE_CHECK([jsonpointer])])
1 change: 1 addition & 0 deletions build/pkgs/jsonschema_specifications/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jsonschema_specifications], [SAGE_PYTHON_PACKAGE_CHECK([jsonschema_specifications])])
1 change: 1 addition & 0 deletions build/pkgs/jupymake/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupymake], [SAGE_PYTHON_PACKAGE_CHECK([jupymake])])
1 change: 1 addition & 0 deletions build/pkgs/jupyter_events/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyter_events], [SAGE_PYTHON_PACKAGE_CHECK([jupyter_events])])
1 change: 1 addition & 0 deletions build/pkgs/jupyter_lsp/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyter_lsp], [SAGE_PYTHON_PACKAGE_CHECK([jupyter_lsp])])
1 change: 1 addition & 0 deletions build/pkgs/jupyter_server/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyter_server], [SAGE_PYTHON_PACKAGE_CHECK([jupyter_server])])
1 change: 1 addition & 0 deletions build/pkgs/jupyter_server_terminals/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyter_server_terminals], [SAGE_PYTHON_PACKAGE_CHECK([jupyter_server_terminals])])
1 change: 1 addition & 0 deletions build/pkgs/jupyterlab/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyterlab], [SAGE_PYTHON_PACKAGE_CHECK([jupyterlab])])
1 change: 1 addition & 0 deletions build/pkgs/jupyterlab_mathjax2/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyterlab_mathjax2], [SAGE_PYTHON_PACKAGE_CHECK([jupyterlab_mathjax2])])
1 change: 1 addition & 0 deletions build/pkgs/jupyterlab_server/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([jupyterlab_server], [SAGE_PYTHON_PACKAGE_CHECK([jupyterlab_server])])
1 change: 1 addition & 0 deletions build/pkgs/mathics/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([mathics], [SAGE_PYTHON_PACKAGE_CHECK([mathics])])
1 change: 1 addition & 0 deletions build/pkgs/mathics_scanner/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([mathics_scanner], [SAGE_PYTHON_PACKAGE_CHECK([mathics_scanner])])
1 change: 1 addition & 0 deletions build/pkgs/nibabel/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([nibabel], [SAGE_PYTHON_PACKAGE_CHECK([nibabel])])
1 change: 1 addition & 0 deletions build/pkgs/notebook_shim/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([notebook_shim], [SAGE_PYTHON_PACKAGE_CHECK([notebook_shim])])
1 change: 1 addition & 0 deletions build/pkgs/notedown/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([notedown], [SAGE_PYTHON_PACKAGE_CHECK([notedown])])
1 change: 1 addition & 0 deletions build/pkgs/ore_algebra/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([ore_algebra], [SAGE_PYTHON_PACKAGE_CHECK([ore_algebra])])
1 change: 1 addition & 0 deletions build/pkgs/osqp_python/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([osqp_python], [SAGE_PYTHON_PACKAGE_CHECK([osqp_python])])
1 change: 1 addition & 0 deletions build/pkgs/overrides/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([overrides], [SAGE_PYTHON_PACKAGE_CHECK([overrides])])
1 change: 1 addition & 0 deletions build/pkgs/p_group_cohomology/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([p_group_cohomology], [SAGE_PYTHON_PACKAGE_CHECK([p_group_cohomology])])
1 change: 1 addition & 0 deletions build/pkgs/palettable/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([palettable], [SAGE_PYTHON_PACKAGE_CHECK([palettable])])
1 change: 1 addition & 0 deletions build/pkgs/pandoc_attributes/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pandoc_attributes], [SAGE_PYTHON_PACKAGE_CHECK([pandoc_attributes])])
1 change: 1 addition & 0 deletions build/pkgs/pari_jupyter/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pari_jupyter], [SAGE_PYTHON_PACKAGE_CHECK([pari_jupyter])])
1 change: 1 addition & 0 deletions build/pkgs/phitigra/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([phitigra], [SAGE_PYTHON_PACKAGE_CHECK([phitigra])])
1 change: 1 addition & 0 deletions build/pkgs/pint/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pint], [SAGE_PYTHON_PACKAGE_CHECK([pint])])
1 change: 1 addition & 0 deletions build/pkgs/psutil/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([psutil], [SAGE_PYTHON_PACKAGE_CHECK([psutil])])
1 change: 1 addition & 0 deletions build/pkgs/pybtex/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pybtex], [SAGE_PYTHON_PACKAGE_CHECK([pybtex])])
1 change: 1 addition & 0 deletions build/pkgs/pycosat/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pycosat], [SAGE_PYTHON_PACKAGE_CHECK([pycosat])])
1 change: 1 addition & 0 deletions build/pkgs/pycryptosat/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pycryptosat], [SAGE_PYTHON_PACKAGE_CHECK([pycryptosat])])
1 change: 1 addition & 0 deletions build/pkgs/pycygwin/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pycygwin], [SAGE_PYTHON_PACKAGE_CHECK([pycygwin])])
1 change: 1 addition & 0 deletions build/pkgs/pygraphviz/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pygraphviz], [SAGE_PYTHON_PACKAGE_CHECK([pygraphviz])])
1 change: 1 addition & 0 deletions build/pkgs/pynormaliz/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pynormaliz], [SAGE_PYTHON_PACKAGE_CHECK([pynormaliz])])
1 change: 1 addition & 0 deletions build/pkgs/pyppeteer/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pyppeteer], [SAGE_PYTHON_PACKAGE_CHECK([pyppeteer])])
1 change: 1 addition & 0 deletions build/pkgs/pyproject_api/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pyproject_api], [SAGE_PYTHON_PACKAGE_CHECK([pyproject_api])])
1 change: 1 addition & 0 deletions build/pkgs/pyscipopt/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pyscipopt], [SAGE_PYTHON_PACKAGE_CHECK([pyscipopt])])
1 change: 1 addition & 0 deletions build/pkgs/pysingular/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pysingular], [SAGE_PYTHON_PACKAGE_CHECK([pysingular])])
1 change: 1 addition & 0 deletions build/pkgs/pytest/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pytest], [SAGE_PYTHON_PACKAGE_CHECK([pytest])])
1 change: 1 addition & 0 deletions build/pkgs/pytest_mock/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pytest_mock], [SAGE_PYTHON_PACKAGE_CHECK([pytest_mock])])
1 change: 1 addition & 0 deletions build/pkgs/pytest_xdist/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pytest_xdist], [SAGE_PYTHON_PACKAGE_CHECK([pytest_xdist])])
1 change: 1 addition & 0 deletions build/pkgs/python_build/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([python_build], [SAGE_PYTHON_PACKAGE_CHECK([python_build])])
1 change: 1 addition & 0 deletions build/pkgs/python_igraph/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([python_igraph], [SAGE_PYTHON_PACKAGE_CHECK([python_igraph])])
1 change: 1 addition & 0 deletions build/pkgs/python_json_logger/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([python_json_logger], [SAGE_PYTHON_PACKAGE_CHECK([python_json_logger])])
1 change: 1 addition & 0 deletions build/pkgs/pytz_deprecation_shim/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pytz_deprecation_shim], [SAGE_PYTHON_PACKAGE_CHECK([pytz_deprecation_shim])])
1 change: 1 addition & 0 deletions build/pkgs/pyx/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pyx], [SAGE_PYTHON_PACKAGE_CHECK([pyx])])
1 change: 1 addition & 0 deletions build/pkgs/pyyaml/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([pyyaml], [SAGE_PYTHON_PACKAGE_CHECK([pyyaml])])
1 change: 1 addition & 0 deletions build/pkgs/qdldl_python/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([qdldl_python], [SAGE_PYTHON_PACKAGE_CHECK([qdldl_python])])
1 change: 1 addition & 0 deletions build/pkgs/referencing/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([referencing], [SAGE_PYTHON_PACKAGE_CHECK([referencing])])
1 change: 1 addition & 0 deletions build/pkgs/rfc3339_validator/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([rfc3339_validator], [SAGE_PYTHON_PACKAGE_CHECK([rfc3339_validator])])
1 change: 1 addition & 0 deletions build/pkgs/rfc3986_validator/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([rfc3986_validator], [SAGE_PYTHON_PACKAGE_CHECK([rfc3986_validator])])
1 change: 1 addition & 0 deletions build/pkgs/rst2ipynb/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([rst2ipynb], [SAGE_PYTHON_PACKAGE_CHECK([rst2ipynb])])
1 change: 1 addition & 0 deletions build/pkgs/sagelib/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([sagelib], [SAGE_PYTHON_PACKAGE_CHECK([sagelib])])
1 change: 1 addition & 0 deletions build/pkgs/sagenb_export/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([sagenb_export], [SAGE_PYTHON_PACKAGE_CHECK([sagenb_export])])
1 change: 1 addition & 0 deletions build/pkgs/sagetex/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([sagetex], [SAGE_PYTHON_PACKAGE_CHECK([sagetex])])
1 change: 1 addition & 0 deletions build/pkgs/scs/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([scs], [SAGE_PYTHON_PACKAGE_CHECK([scs])])
1 change: 1 addition & 0 deletions build/pkgs/singular_jupyter/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([singular_jupyter], [SAGE_PYTHON_PACKAGE_CHECK([singular_jupyter])])
1 change: 1 addition & 0 deletions build/pkgs/slabbe/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([slabbe], [SAGE_PYTHON_PACKAGE_CHECK([slabbe])])
1 change: 1 addition & 0 deletions build/pkgs/snappy/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([snappy], [SAGE_PYTHON_PACKAGE_CHECK([snappy])])
1 change: 1 addition & 0 deletions build/pkgs/sniffio/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([sniffio], [SAGE_PYTHON_PACKAGE_CHECK([sniffio])])
1 change: 1 addition & 0 deletions build/pkgs/soupsieve/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([soupsieve], [SAGE_PYTHON_PACKAGE_CHECK([soupsieve])])
1 change: 1 addition & 0 deletions build/pkgs/sqlalchemy/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([sqlalchemy], [SAGE_PYTHON_PACKAGE_CHECK([sqlalchemy])])
1 change: 1 addition & 0 deletions build/pkgs/surface_dynamics/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([surface_dynamics], [SAGE_PYTHON_PACKAGE_CHECK([surface_dynamics])])
1 change: 1 addition & 0 deletions build/pkgs/types_python_dateutil/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([types_python_dateutil], [SAGE_PYTHON_PACKAGE_CHECK([types_python_dateutil])])
2 changes: 1 addition & 1 deletion build/pkgs/typing_extensions/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# According to https://github.com/python/typing_extensions/blob/main/CHANGELOG.md,
# version 4.4.0 adds another Python 3.11 typing backport
typing_extensions >= 4.4.0; python_version<"3.11"
typing_extensions >= 4.4.0; python_version<'3.11'
21 changes: 21 additions & 0 deletions build/pkgs/typing_extensions/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
SAGE_SPKG_CONFIGURE([typing_extensions],[
SAGE_PYTHON_PACKAGE_CHECK([typing_extensions])
],[
# Three of our python packages are backport packages providing
# python-3.11 features (see coding_in_python.rst):
#
# * importlib_metadata
# * importlib_resources
# * typing_extensions
#
# These packages are therefore not needed with >=python-3.11. Here
# we test for a python minor version component greater than or equal
# to 11, and mark this package as "not required" if we succeed.
AC_MSG_CHECKING([for >=python-3.11])

# Keep in mind that False (~ zero) in python is success in the shell
AS_IF(["${PYTHON_FOR_VENV}" -c "import sys; sys.exit(sys.version_info.minor < 11)"],[
AC_MSG_RESULT([yes])
sage_require_typing_extensions="no"
],[
AC_MSG_RESULT([no])
])
])

1 change: 1 addition & 0 deletions build/pkgs/uri_template/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([uri_template], [SAGE_PYTHON_PACKAGE_CHECK([uri_template])])
1 change: 1 addition & 0 deletions build/pkgs/webcolors/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([webcolors], [SAGE_PYTHON_PACKAGE_CHECK([webcolors])])
1 change: 1 addition & 0 deletions build/pkgs/websocket_client/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAGE_SPKG_CONFIGURE([websocket_client], [SAGE_PYTHON_PACKAGE_CHECK([websocket_client])])

0 comments on commit 80a2744

Please sign in to comment.