`poetry export --filter 'pytest,pytest-*'` or similar
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng việc xem xét lệnh poetry export hiện có và cách hoạt động của --only, sau đó kiểm tra cách tox sử dụng các danh sách phụ thuộc thông qua pip. Xác định cú pháp lọc và hành vi khớp được hỗ trợ trước khi triển khai. Được xem là hoàn tất khi một lần export có thể chọn động các phụ thuộc phát triển phù hợp cho các môi trường tox và có coverage cho ví dụ được yêu cầu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the FAQ and general documentation and believe that my question is not already covered.
Feature Request
I am trying to figure out what would be the best way to combine poetry's dependency management with tox. I need to configure multiple environments for formatting, linting, testing, etc. and each of those environments has a different list of development dependencies. I think I could make it work by defining groups for dependencies but would it not be simpler to just be able to create any dynamic filter within tox, so that poetry does not need to be aware of those different groups, just that the dependencies are only for development?
This is why I suggest adding filtering functionality to poetry export so that one could do:
poetry export --only dev --filter 'pytest,pytest-*'
So that then tox's default handling of dependencies (via pip) can rely on dynamically generated locked dependencies' lists.
- Ngôn ngữ chính
- Python
- Star
- 336
- Fork
- 59
- Merge trung bình
- 10 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của python-poetry/poetry-plugin-export
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
Does not installĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
python-poetry/poetry-plugin-export#341 · 5 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
python-poetry/poetry-plugin-export#340 · 1 bình luận ·
-
Feature request - Add a comment to auto-generated files stating the files are auto-generatedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 52/100
Tất cả issue của python-poetry/poetry-plugin-export
Issue tương tự
-
Import errors are swallowed: PerthImplicitWatermarker silently becomes NoneCó thể đã có người làm @JonRC đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
resemble-ai/Perth#23 ·
-
correction metadata
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 65/100
acl-org/acl-anthology#10753 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
earthtojake/text-to-cad#758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 70/100
DataTalksClub/faq#545 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày