From a75696b423bb5d6dc91f46b7e538010b72851503 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Fri, 8 Mar 2024 03:59:15 +0800 Subject: [PATCH] bumpversion: drop `setuptools` resource Per https://github.com/Homebrew/homebrew-core/pull/165370#discussion_r1516537868 this is not necessary with a virtualenv. --- Formula/b/bumpversion.rb | 5 ----- pypi_formula_mappings.json | 3 --- 2 files changed, 8 deletions(-) diff --git a/Formula/b/bumpversion.rb b/Formula/b/bumpversion.rb index 9b131ee555daa..4bee240bcc701 100644 --- a/Formula/b/bumpversion.rb +++ b/Formula/b/bumpversion.rb @@ -23,11 +23,6 @@ class Bumpversion < Formula depends_on "python@3.12" - resource "setuptools" do - url "https://files.pythonhosted.org/packages/c8/1f/e026746e5885a83e1af99002ae63650b7c577af5c424d4c27edcf729ab44/setuptools-69.1.1.tar.gz" - sha256 "5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8" - end - def install virtualenv_install_with_resources end diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index cabc24426fd5a..751aaf6f4c4c0 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -104,9 +104,6 @@ "package_name": "buku[server]", "exclude_packages": ["certifi", "cryptography"] }, - "bumpversion": { - "extra_packages": ["setuptools"] - }, "bzt": { "exclude_packages": ["certifi", "Cython", "numpy"], "extra_packages": ["setuptools"]