diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-14 21:45:51 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:06 +0100 |
| commit | 768da23318f1b919dfe78f357d9b5c6c52d991ae (patch) | |
| tree | 934e1fd4269902a77b2be38b3ca4595b5e906e84 /gnu/packages/python-check.scm | |
| parent | 97c0de8fd2c5a52ba4ebe6bb1c4828119e815f3e (diff) | |
gnu: python-time-machine: Update to 3.2.0.
* gnu/packages/python-check.scm (python-time-machine): Update to 3.2.0.
[source]: Switch to git-fetch.
[arguments] <tests?>: Enable.
[native-inputs]: Remove python-wheel; add python-freezegun,
python-pytest, python-tokenize-rt, and tzdata-for-tests.
Change-Id: I2f9d760380cfdca597a77752ebd133bb792ff0b7
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bb4d64bc821..3b2565e6a6a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -5238,18 +5238,25 @@ when writing automated tests in Python.") | |||
| 5238 | (define-public python-time-machine | 5238 | (define-public python-time-machine |
| 5239 | (package | 5239 | (package |
| 5240 | (name "python-time-machine") | 5240 | (name "python-time-machine") |
| 5241 | (version "2.16.0") | 5241 | (version "3.2.0") |
| 5242 | (source | 5242 | (source |
| 5243 | (origin | 5243 | (origin |
| 5244 | (method url-fetch) | 5244 | (method git-fetch) |
| 5245 | (uri (pypi-uri "time_machine" version)) | 5245 | (uri (git-reference |
| 5246 | (url "https://github.com/adamchainz/time-machine") | ||
| 5247 | (commit version))) | ||
| 5248 | (file-name (git-file-name name version)) | ||
| 5246 | (sha256 | 5249 | (sha256 |
| 5247 | (base32 "1qn7cj9lx3m7pwa8ak1106f9c54yvpa996x84gfqmyfjfg1ar6aa")))) | 5250 | (base32 "1gn4p17b236l03l294x6mz6sv66c6qyij522nrckb8plvjy0lsji")))) |
| 5248 | (build-system pyproject-build-system) | 5251 | (build-system pyproject-build-system) |
| 5249 | (arguments | 5252 | (native-inputs |
| 5250 | `(#:tests? #f)) ;no tests in PyPI archive | 5253 | (list python-freezegun |
| 5251 | (propagated-inputs (list python-dateutil)) | 5254 | python-pytest |
| 5252 | (native-inputs (list python-setuptools python-wheel)) | 5255 | python-setuptools |
| 5256 | python-tokenize-rt | ||
| 5257 | tzdata-for-tests)) | ||
| 5258 | (propagated-inputs | ||
| 5259 | (list python-dateutil)) | ||
| 5253 | (home-page "https://github.com/adamchainz/time-machine") | 5260 | (home-page "https://github.com/adamchainz/time-machine") |
| 5254 | (synopsis "Travel through time in your tests.") | 5261 | (synopsis "Travel through time in your tests.") |
| 5255 | (description "This package lets you set a different time for your tests.") | 5262 | (description "This package lets you set a different time for your tests.") |
