diff mbox series

[2/2] package/python-setuptools-scm-git-archive: drop package

Message ID 20240302163138.152368-2-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/2] package/python-cheroot: drop host-python-setuptools-scm-git-archive | expand

Commit Message

Fabrice Fontaine March 2, 2024, 4:31 p.m. UTC
python-setuptools-scm-git-archive is obsolete as
python-setuptools-scm >= 7.0.0 supports Git archives by itself.

Moreover, it raises the following build failure without pip since its
addition in commit 9359325c6081df89ff57667cb49e0d12cd553b97:

/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/bin/python: No module named pip
Traceback (most recent call last):
  File "/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/lib/python3.10/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpaxobatcs', '--quiet', 'typing-extensions']' returned non-zero exit status 1.

Fixes:
 - http://autobuild.buildroot.org/results/d05e412170c427e4f210da164c783b3527f15892
 - http://autobuild.buildroot.org/results/50f80cfabccbe5c75cd889ce6af2b418e376d4e5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../python-setuptools-scm-git-archive.hash        |  5 -----
 .../python-setuptools-scm-git-archive.mk          | 15 ---------------
 2 files changed, 20 deletions(-)
 delete mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
 delete mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk

Comments

Yann E. MORIN March 3, 2024, 9:12 a.m. UTC | #1
fabrice, All,

On 2024-03-02 17:31 +0100, Fabrice Fontaine spake thusly:
> python-setuptools-scm-git-archive is obsolete as
> python-setuptools-scm >= 7.0.0 supports Git archives by itself.
> 
> Moreover, it raises the following build failure without pip since its
> addition in commit 9359325c6081df89ff57667cb49e0d12cd553b97:
> 
> /nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/bin/python: No module named pip
> Traceback (most recent call last):
>   File "/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/lib/python3.10/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
>     subprocess.check_call(cmd)
>   File "/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/lib/python3.10/subprocess.py", line 369, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['/nvmedata/autobuild/instance-3/output-1/per-package/host-python-setuptools-scm-git-archive/host/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpaxobatcs', '--quiet', 'typing-extensions']' returned non-zero exit status 1.
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/d05e412170c427e4f210da164c783b3527f15892
>  - http://autobuild.buildroot.org/results/50f80cfabccbe5c75cd889ce6af2b418e376d4e5
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  .../python-setuptools-scm-git-archive.hash        |  5 -----
>  .../python-setuptools-scm-git-archive.mk          | 15 ---------------
>  2 files changed, 20 deletions(-)
>  delete mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
>  delete mode 100644 package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
> 
> diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
> deleted file mode 100644
> index ce790a3d59..0000000000
> --- a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# md5, sha256 from https://pypi.org/pypi/setuptools-scm-git-archive/json
> -md5  cfcdab6edbe6b710ab24ad355e7cf7a3  setuptools_scm_git_archive-1.4.1.tar.gz
> -sha256  c418bc77b3974d3ac65f268f058f23e01dc5f991f2233128b0e16a69de227b09  setuptools_scm_git_archive-1.4.1.tar.gz
> -# Locally computed sha256 checksums
> -sha256  89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e  LICENSE
> diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
> deleted file mode 100644
> index 153343788b..0000000000
> --- a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -################################################################################
> -#
> -# python-setuptools-scm-git-archive
> -#
> -################################################################################
> -
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION = 1.4.1
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SOURCE = setuptools_scm_git_archive-$(PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION).tar.gz
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SITE = https://files.pythonhosted.org/packages/47/d6/c9a8d1ea95613f79b9b914cf9a5e8e420b7625fc54137c1d7c9cbbda5adf
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SETUP_TYPE = setuptools
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE = MIT
> -PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE_FILES = LICENSE
> -HOST_PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_DEPENDENCIES = host-python-setuptools-scm
> -
> -$(eval $(host-python-package))
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
deleted file mode 100644
index ce790a3d59..0000000000
--- a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash
+++ /dev/null
@@ -1,5 +0,0 @@ 
-# md5, sha256 from https://pypi.org/pypi/setuptools-scm-git-archive/json
-md5  cfcdab6edbe6b710ab24ad355e7cf7a3  setuptools_scm_git_archive-1.4.1.tar.gz
-sha256  c418bc77b3974d3ac65f268f058f23e01dc5f991f2233128b0e16a69de227b09  setuptools_scm_git_archive-1.4.1.tar.gz
-# Locally computed sha256 checksums
-sha256  89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e  LICENSE
diff --git a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk b/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
deleted file mode 100644
index 153343788b..0000000000
--- a/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk
+++ /dev/null
@@ -1,15 +0,0 @@ 
-################################################################################
-#
-# python-setuptools-scm-git-archive
-#
-################################################################################
-
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION = 1.4.1
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SOURCE = setuptools_scm_git_archive-$(PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SITE = https://files.pythonhosted.org/packages/47/d6/c9a8d1ea95613f79b9b914cf9a5e8e420b7625fc54137c1d7c9cbbda5adf
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_SETUP_TYPE = setuptools
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE = MIT
-PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_LICENSE_FILES = LICENSE
-HOST_PYTHON_SETUPTOOLS_SCM_GIT_ARCHIVE_DEPENDENCIES = host-python-setuptools-scm
-
-$(eval $(host-python-package))