Skip to content

Commit 8f1ae07

Browse files
Use the new poetry dev dependency group (#807)
* Use the new poetry dev dependency group * Indicate the minimal version of poetry required
1 parent 717f4dd commit 8f1ae07

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ conda install poetry
111111

112112
```sh
113113
# or PyPI
114-
pip install poetry
114+
pip install 'poetry>=1.2'
115115
```
116116

117117
- Install the project dependencies

docs/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Set Up Environment
22

33
- Make sure you have `python >= 3.9` installed.
4-
- Install poetry: `pip install poetry`
4+
- Install poetry: `pip install 'poetry>=1.2'`
55
- Install the project dependencies: `poetry update`
66
- Enter the virtual environment: `poetry shell`
77
- Run all tests: `poe test_all`
88
- Enable pre-commit: `pre-commit install`
9-
- Do you want to add a new dependency? `poetry add --dev foo-pkg`
9+
- Do you want to add a new dependency? `poetry add foo-pkg --group dev`

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ python = ">=3.9"
3434
types-pytz = ">= 2022.1.1"
3535
numpy = { version = ">=1.26.0", python = "<3.13" }
3636

37-
[tool.poetry.dev-dependencies]
37+
[tool.poetry.group.dev.dependencies]
3838
mypy = "1.6.0"
3939
pandas = "2.1.1"
4040
pyarrow = ">=10.0.1"

0 commit comments

Comments
 (0)