[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62252] [PATCH v3 09/19] gnu: python-hatchling: Use upstream homepag
From: |
Ricardo Wurmus |
Subject: |
[bug#62252] [PATCH v3 09/19] gnu: python-hatchling: Use upstream homepage. |
Date: |
Sun, 26 Mar 2023 09:55:05 +0200 |
User-agent: |
mu4e 1.8.13; emacs 28.2 |
Hi,
I have built python-orjson on wip-rekado-rust-team, which is based on
top of the rust-team (but rebased on top of current master). This lets
us build python-fastapi without having to remove orjson.
(I worked on packaging python-fastapi for python-pytorch-lightning.)
My python-fastapi package looks like this:
--8<---------------cut here---------------start------------->8---
+(define-public python-fastapi
+ (package
+ (name "python-fastapi")
+ (version "0.95.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "fastapi" version))
+ (sha256
+ (base32
+ "062fy794mv0yfb4ac5yaaqh6a0k7npa0n7dc4x0a5ncx1sqzvm4r"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags '(list "tests")))
+ (propagated-inputs (list python-pydantic python-starlette))
+ (native-inputs (list python-anyio
+ python-black
+ python-coverage
+ python-databases
+ python-email-validator
+ python-flask
+ python-hatchling
+ python-httpx
+ python-isort
+ python-jose
+ python-multipart
+ python-mypy
+ python-orjson
+ python-passlib
+ python-peewee
+ python-pre-commit
+ python-pytest
+ python-pyyaml
+ python-sqlalchemy
+ python-types-orjson
+ python-types-ujson
+ python-ujson
+ python-uvicorn))
…
--8<---------------cut here---------------end--------------->8---
The update of pathspec looks good to me, though with 300+ rebuilds this
whole thing should probably be built out on a feature branch first.
The starlette update also looks good to me, though you could move it to
0.26.1 (with hash 1gd9pvcfifrlaskqz741n4rbsgljn6jnjgkscvj211paay87knj1).
I used the version form pypi which didn’t come with tests, so I don’t
know if running the tests of 0.26.1 is more difficult than running those
of 0.25.
In any case, this whole patch set looks good to me. I’m sorry for
stepping on your toes with python-hatchling.
--
Ricardo
- [bug#62252] [PATCH v3 07/19] gnu: python-pathspec: Move to (gnu packages python-build)., (continued)
- [bug#62252] [PATCH v3 07/19] gnu: python-pathspec: Move to (gnu packages python-build)., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 15/19] gnu: python-aiosqlite: Update to 0.18.0., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 06/19] gnu: python-pathspec: Revise description., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 11/19] gnu: python-starlette: Update to 0.25.0., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 10/19] gnu: python-hatchling: Move to (gnu packages build)., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 12/19] gnu: python-sqlalchemy: Update to 1.4.42., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 14/19] gnu: python-aiomysql: Update to 0.1.1., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 13/19] gnu: python-pymysql: Update to 1.0.2., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 16/19] gnu: python-databases: Update to 0.7.0., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 09/19] gnu: python-hatchling: Use upstream homepage., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 09/19] gnu: python-hatchling: Use upstream homepage.,
Ricardo Wurmus <=
- [bug#62252] [PATCH v3 18/19] gnu: Add python-fastapi., Liliana Marie Prikler, 2023/03/26
- [bug#62252] [PATCH v3 19/19] gnu: Add python-clinguin., Liliana Marie Prikler, 2023/03/26