M gnu/packages/python-web.scm => gnu/packages/python-web.scm +15 -14
@@ 3357,21 3357,22 @@ be written directly in Python without templates.")
(package
(name "python-minio")
(version "7.1.9")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "minio" version))
- (sha256
- (base32
- "02nh865xbf2glxvcy70ir6gkcwqxl119zryfc70q7w0yjvkg64d7"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/minio/minio-py")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01734ki3p7844dya366hy1kvmmgy3xr0l0zbkchnnv4p611510vc"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-before 'check 'disable-failing-tests
- (lambda _
- ;; This test requires network access.
- (delete-file "tests/unit/credentials_test.py"))))))
- (native-inputs
- (list python-faker python-mock python-nose))
+ (list
+ #:test-flags
+ ;; XXX: requires network access.
+ #~(list "--ignore=tests/unit/credentials_test.py")))
+ (native-inputs (list python-pytest python-setuptools-next))
(propagated-inputs
(list python-certifi python-dateutil python-pytz python-urllib3))
(home-page "https://github.com/minio/minio-py")