File tree Expand file tree Collapse file tree 5 files changed +29
-5
lines changed Expand file tree Collapse file tree 5 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 11![ promptolution] ( https://github.com/user-attachments/assets/84c050bd-61a1-4f2e-bc4e-874d9b4a69af )
22
3- ![ Coverage] ( https://img.shields.io/badge/Coverage-87 %25-green )
3+ ![ Coverage] ( https://img.shields.io/badge/Coverage-89 %25-green )
44[ ![ CI] ( https://github.com/finitearth/promptolution/actions/workflows/ci.yml/badge.svg?branch=main )] ( https://github.com/finitearth/promptolution/actions/workflows/ci.yml )
55[ ![ Docs] ( https://github.com/finitearth/promptolution/actions/workflows/docs.yml/badge.svg?branch=main )] ( https://github.com/finitearth/promptolution/actions/workflows/docs.yml )
66![ Code Style] ( https://img.shields.io/badge/Code%20Style-black-black )
7- ![ Python Versions] ( https://img.shields.io/badge/Python%20Versions-≥3.9 -blue )
7+ ![ Python Versions] ( https://img.shields.io/badge/Python%20Versions-≥3.10 -blue )
88
99
1010
Original file line number Diff line number Diff line change 1+ ## Release v2.0.1
2+ ### What's changed
3+ - updated python requirement to >=3.10 (as 3.9 will lose support after October 2025)
4+ - fixed numpy version constraints (thanks to @asalaria-cisco )
5+ - make dependencies groups extras optional
6+
7+ ** Full Changelog** : [ here] ( https://github.com/finitearth/promptolution/compare/v2.0.0...v2.0.1 )
Original file line number Diff line number Diff line change 4747 - Home : index.md
4848 - Release Notes :
4949 - Overview : release-notes.md
50+ - v2.0.1 : release-notes/v2.0.1.md
5051 - v2.0.0 : release-notes/v2.0.0.md
5152 - v1.4.0 : release-notes/v1.4.0.md
5253 - v1.3.2 : release-notes/v1.3.2.md
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " promptolution"
3- version = " 2.0.0 "
3+ version = " 2.0.1 "
44description = " A framework for prompt optimization and a zoo of prompt optimization algorithms."
55authors = [" Tom Zehle, Moritz Schlager, Timo Heiß" ]
66readme = " README.md"
77
88[tool .poetry .dependencies ]
9- python = " ^3.9 "
10- numpy = " ^ 1.26.0"
9+ python = " ^3.10 "
10+ numpy = " >= 1.26.0, <3.0 .0"
1111pandas = " ^2.2.2"
1212tqdm = " ^4.66.5"
1313scikit-learn = " ^1.5.2"
1414fastparquet = " ^2024.11.0"
15+ openai = {version = " ^1.0.0" , optional = true }
16+ requests = {version = " ^2.31.0" , optional = true }
17+ vllm = {version = " ^0.8.3" , optional = true }
18+ transformers = {version = " ^4.48.0" , optional = true }
1519
20+ [tool .poetry .extras ]
21+ api = [" openai" , " requests" ]
22+ vllm = [" vllm" ]
23+ transformers = [" transformers" ]
24+
25+ [tool .poetry .group .api ]
26+ optional = true
1627[tool .poetry .group .api .dependencies ]
1728openai = " ^1.0.0"
1829requests = " ^2.31.0"
1930
31+ [tool .poetry .group .vllm ]
32+ optional = true
2033[tool .poetry .group .vllm .dependencies ]
2134vllm = " ^0.8.3"
2235
36+ [tool .poetry .group .transformers ]
37+ optional = true
2338[tool .poetry .group .transformers .dependencies ]
2439transformers = " ^4.48.0"
2540
Original file line number Diff line number Diff line change 1+ Subproject commit fa8ae08c7517783a26ed397b438fa2a468d78764
You can’t perform that action at this time.
0 commit comments