GNU bug report logs - #78114
[PATCH] gnu: Add python-flake8-deprecated

Previous Next

Package: guix-patches;

Reported by: Matthew Elwin <elwin <at> northwestern.edu>

Date: Mon, 28 Apr 2025 13:38:04 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

To reply to this bug, email your comments to 78114 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78114; Package guix-patches. (Mon, 28 Apr 2025 13:38:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Elwin <elwin <at> northwestern.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 28 Apr 2025 13:38:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew Elwin <elwin <at> northwestern.edu>
To: guix-patches <at> gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-flake8-deprecated
Date: Mon, 28 Apr 2025 08:36:56 -0500
* gnu/packages/python-check.scm (python-flake8-deprecated): New variable.

Change-Id: If555230ff854ad26c5466a47b04a212189a113b9
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 33c3f49c00..ff3038be3e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -676,6 +676,30 @@ (define-public python-flake8-builtins
 being used as variables or parameters.")
     (license license:gpl2)))
 
+(define-public python-flake8-deprecated
+  (package
+    (name "python-flake8-deprecated")
+    (version "2.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flake8_deprecated" version))
+       (sha256
+        (base32 "18iazzh2l42fcjmkqdwncsl1h2s6sbi26vz4m0gmd80w3l0cm5pf"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list "run_tests.py")))
+    (propagated-inputs (list python-flake8))
+    (native-inputs (list python-hatchling python-pytest))
+    (home-page "https://github.com/gforcada/flake8-deprecated")
+    (synopsis "Warns about deprecated method calls")
+    (description
+     "This flake8 plugin helps you keep up with method deprecations
+by providing hints about what deprecated methods should be replaced with.")
+    (license license:gpl2)))
+
 (define-public python-gcovr
   (package
     (name "python-gcovr")

base-commit: d47379b8dc6fb79bd9f06598ce567aec80194365
-- 
2.43.0





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 28 Apr 2025 21:11:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Elwin <elwin <at> northwestern.edu>:
bug acknowledged by developer. (Mon, 28 Apr 2025 21:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 78114-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 78114-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-flake8-deprecated
Date: Mon, 28 Apr 2025 22:10:09 +0100
[Message part 1 (text/plain, inline)]
Hi,

Pushed to master with minor adjustments as
e5876f6aff5d4dcbec6a2053802b7bc7e8b3068a

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.