anomaly / anomaly/lab-python-server

Consider moving to a PEP665 compliant build and packaging tool

Đang mở
#93 4 bình luận 0 reaction 1 người được giao Được @devraj nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
16
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Is your feature request related to a problem? Please describe.**
We've been using `poetry` as our package management tool which works well for all our needs. Initially I had wondered what other major projects used for package management (moving from `setuptools` in the `prestans` days).

Looking under the hood of projects like `fastapi` I found they all use [hatch](https://hatch.pypa.io/latest/).

@brettcannon started the issue [Interested in supporting PEP 665?](https://github.com/python-poetry/poetry/issues/4710) on the repository and it would seem that there are major design variations which would it difficult to make `poetry` compatible with [`pep665`](https://peps.python.org/pep-0665/) (note that there's mention of the work being sponsored)

The [python packaging](https://packaging.python.org/en/latest/overview/) site refers to `hatch` quite strongly.

**Describe the solution you'd like**
We should thoroughly read through the packaging guide to ensure we have the right [structures and flows](https://packaging.python.org/en/latest/flow/).

We should identify if `poetry` is still a suitable tool for the requirements, and if not what is and why?

We should then produce:
- Detailed instructions of the newly chosen tool
- Github actions for automating packaging
- Updated `Dockerfile` for building the packages for development and production

**Describe alternatives you've considered**
NA

**Additional context**
See the Python packaging guide.

> It might be easier for us to prototype this against a smaller projects like our gallagher client.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.