From 658a4b405c9ab1dace89582c32b491420193479d Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 22 Jan 2023 15:30:16 +0100 Subject: [PATCH] Remove toml and tomli python module dependencies They are not needed anymore. All modules now use tomllib from the core python library. --- general/prog/python-dependencies.xml | 16 --- general/prog/python-dependencies/toml.xml | 129 --------------------- general/prog/python-dependencies/tomli.xml | 119 ------------------- 3 files changed, 264 deletions(-) delete mode 100644 general/prog/python-dependencies/toml.xml delete mode 100644 general/prog/python-dependencies/tomli.xml diff --git a/general/prog/python-dependencies.xml b/general/prog/python-dependencies.xml index d122e179fc..fab6e32e33 100644 --- a/general/prog/python-dependencies.xml +++ b/general/prog/python-dependencies.xml @@ -168,16 +168,6 @@ - - - - - - - - - - @@ -272,12 +262,6 @@ - - - - diff --git a/general/prog/python-dependencies/toml.xml b/general/prog/python-dependencies/toml.xml deleted file mode 100644 index 5253dc4d1c..0000000000 --- a/general/prog/python-dependencies/toml.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - %general-entities; - - - - - - - -]> - - - - Toml-&toml-version; - - - toml - - - - Introduction to Toml Module - - - The Toml library is used for parsing - and creating TOML files. - - - &lfs112_checked; - - Package Information - - - - Download (HTTP): - - - - - Download (FTP): - - - - - Download MD5 sum: &toml-md5sum; - - - - - Download size: &toml-size; - - - - - Estimated disk space required: &toml-buildsize; - - - - - Estimated build time: &toml-time; - - - - - Toml Dependencies - - Optional (for testing) - - and - numpy - - - - - - - Installation of Toml - - Build the module: - -pip3 wheel -w dist --no-build-isolation --no-deps $PWD - - - Now, as the root user: - - -pip3 install --no-index --find-links dist --no-cache-dir --no-user toml - - - Assuming is installed and the other optional - dependency is not, the installation can be tested with (some test - files need to be downloaded from github): - - -python3 -m venv --system-site-packages testenv && -source testenv/bin/activate && -pip3 install numpy && -git clone https://github.com/BurntSushi/toml-test.git && -python3 /usr/bin/pytest -deactivate - - - - - - - Contents - - - Installed Programs - Installed Libraries - Installed Directories - - - None - None - - /usr/lib/python&python3-majorver;/site-packages/toml and - /usr/lib/python&python3-majorver;/site-packages/toml-&toml-version;.dist-info - - - - - - - diff --git a/general/prog/python-dependencies/tomli.xml b/general/prog/python-dependencies/tomli.xml deleted file mode 100644 index a26e2f1a3b..0000000000 --- a/general/prog/python-dependencies/tomli.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - %general-entities; - - - - - - - -]> - - - - Tomli-&tomli-version; - - - tomli - - - - Introduction to Tomli Module - - - Tomli is a python library for parsing - TOML format. - - - &lfs112_checked; - - Package Information - - - - Download (HTTP): - - - - - Download (FTP): - - - - - Download MD5 sum: &tomli-md5sum; - - - - - Download size: &tomli-size; - - - - - Estimated disk space required: &tomli-buildsize; - - - - - Estimated build time: &tomli-time; - - - - - Tomli Dependencies - - Required - - - - - - - - - Installation of Tomli - - Build the module: - -pip3 wheel -w dist --no-build-isolation --no-deps $PWD - - - This package does not come with a test suite. - - - - Now, as the root user: - - -pip3 install --no-index --find-links dist --no-cache-dir --no-user tomli - - - - - - - Contents - - - Installed Programs - Installed Libraries - Installed Directories - - - None - None - - /usr/lib/python&python3-majorver;/site-packages/tomli and - /usr/lib/python&python3-majorver;/site-packages/tomli-&tomli-version;.dist-info - - - - - - -