Skip to content

Commit d498efb

Browse files
author
Release Manager
committed
sagemathgh-41036: Remove tomli tomli is a TOML parser that was needed for Python < 3.11. Since Python 3.11+, tomllib is part of the standard library. tomli-w (TOML writer) is kept as it's still needed for writing TOML files. Changes: - Removed build/pkgs/tomli directory - Updated package dependencies to remove tomli references - Remove the unused 3.10 env file <!-- ^ 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". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [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 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#41036 Reported by: Chenxin Zhong Reviewer(s): Copilot, Dima Pasechnik, Tobias Diez
2 parents 51de861 + b123481 commit d498efb

File tree

23 files changed

+12
-328
lines changed

23 files changed

+12
-328
lines changed

build/pkgs/hatchling/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pathspec tomli editables pluggy packaging trove_classifiers | pip $(PYTHON)
1+
pathspec editables pluggy packaging trove_classifiers | pip $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
zipp typing_extensions | pip tomli $(PYTHON)
1+
zipp typing_extensions | pip $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.

build/pkgs/jupyterlab/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
async_lru importlib_metadata ipykernel jinja2 jupyter_core jupyter_lsp jupyter_server jupyterlab_server notebook_shim packaging traitlets tornado tomli httpx | $(PYTHON_TOOLCHAIN) $(PYTHON)
1+
async_lru importlib_metadata ipykernel jinja2 jupyter_core jupyter_lsp jupyter_server jupyterlab_server notebook_shim packaging traitlets tornado httpx | $(PYTHON_TOOLCHAIN) $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.

build/pkgs/meson_python/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
meson pyproject_metadata tomli ninja_build patchelf | $(PYTHON_TOOLCHAIN) $(PYTHON)
1+
meson pyproject_metadata ninja_build patchelf | $(PYTHON_TOOLCHAIN) $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.

build/pkgs/pytest/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
iniconfig packaging pluggy exceptiongroup tomli colorama | pip $(PYTHON)
1+
iniconfig packaging pluggy exceptiongroup colorama | pip $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tomli packaging pyproject_hooks importlib_metadata | pip $(PYTHON)
1+
packaging pyproject_hooks importlib_metadata | pip $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
packaging setuptools tomli typing_extensions | pip $(PYTHON)
1+
packaging setuptools typing_extensions | pip $(PYTHON)
22

33
----------
44
All lines of this file are ignored except the first.

build/pkgs/tomli/SPKG.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

build/pkgs/tomli/checksums.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/pkgs/tomli/dependencies

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)