summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 16:05:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:51 +0100
commit0ac41884fe56bbd9666b2093c80ab69f84ecfae1 (patch)
treeef214276dc762912e929045366683e867c5690f2 /gnu/packages/python-xyz.scm
parent8fd70453115662885d114640db06412c0d0d6a69 (diff)
gnu: python-dotenv: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-dotenv): Update to 1.1.1. [build-system]: Use pyproject. [arguments]: Drop them. [native-inputs]: Remove python-mock; add python-setuptools. Change-Id: I6dce45f8aabf5dc12f3b37b2d851d910a2786b6b
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 8 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ef5666ee60..ef9dd72115 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36761,30 +36761,20 @@ systems in Python.")
(define-public python-dotenv
(package
(name "python-dotenv")
- (version "0.20.0")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "python-dotenv" version))
+ (uri (pypi-uri "python_dotenv" version))
(sha256
- (base32 "13s9imfd0k4d7b1qy5wfqzw5vyj6rhmcrccsdz1l4g39b55b1qxp"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (setenv "PATH" (string-append (getenv "PATH") ":"
- (assoc-ref outputs "out") "/bin"))
- ;; Skip the ipython tests.
- (delete-file "tests/test_ipython.py")
- (invoke "python" "-m" "pytest")))))))
+ (base32 "1aw9c5gw2gfjf7n3s7k6lb6ybz090hh60wq0daz4azr52sbkk9m8"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-sh))
(propagated-inputs
(list python-click))
- (native-inputs
- (list python-mock python-pytest python-sh))
(home-page "https://saurabh-kumar.com/python-dotenv/")
(synopsis "Setup environment variables according to .env files")
(description