From 372bd62eaee454aa158c5964063e30e688208757 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 06:18:06 +0100 Subject: [PATCH] python313Packages.attrs: 24.2.0 -> 24.3.0 https://github.com/python-attrs/attrs/releases/tag/24.3.0 --- pkgs/development/python-modules/attrs/default.nix | 4 ++-- .../python-modules/attrs/remove-hatch-plugins.patch | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/attrs/default.nix b/pkgs/development/python-modules/attrs/default.nix index 80da6cfefa31..5f14d0b149a6 100644 --- a/pkgs/development/python-modules/attrs/default.nix +++ b/pkgs/development/python-modules/attrs/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "attrs"; - version = "24.2.0"; + version = "24.3.0"; disabled = pythonOlder "3.7"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-XPsbkUi1sIZWm67APyDXtr87ysyaQr6/h/+qyjYvY0Y="; + hash = "sha256-j1wHMz1UMQNUG6e+Dizhbu7oEwyws/kjirkEzh6Fuv8="; }; patches = [ diff --git a/pkgs/development/python-modules/attrs/remove-hatch-plugins.patch b/pkgs/development/python-modules/attrs/remove-hatch-plugins.patch index b5b8889338aa..f8c92ba878d4 100644 --- a/pkgs/development/python-modules/attrs/remove-hatch-plugins.patch +++ b/pkgs/development/python-modules/attrs/remove-hatch-plugins.patch @@ -1,5 +1,5 @@ diff --git a/pyproject.toml b/pyproject.toml -index 93b3f40..e34ff5d 100644 +index 0b59809..8811148 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ @@ -11,21 +11,20 @@ index 93b3f40..e34ff5d 100644 build-backend = "hatchling.build" -@@ -27,7 +27,8 @@ classifiers = [ +@@ -26,7 +26,8 @@ classifiers = [ "Typing :: Typed", ] - dependencies = ["importlib_metadata;python_version<'3.8'"] + dependencies = [] -dynamic = ["version", "readme"] +dynamic = ["readme"] +version = "@version@" [project.optional-dependencies] tests-mypy = [ -@@ -76,54 +77,9 @@ GitHub = "https://github.com/python-attrs/attrs" - Funding = "https://github.com/sponsors/hynek" +@@ -72,53 +73,9 @@ Funding = "https://github.com/sponsors/hynek" Tidelift = "https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi" -- + -[tool.hatch.version] -source = "vcs" -raw-options = { local_scheme = "no-local-version" }