Skip to content

Commit 77e5ee8

Browse files
committed
Bump poetry to version 2.0.0
1 parent 7d6dc57 commit 77e5ee8

File tree

3 files changed

+50
-20
lines changed

3 files changed

+50
-20
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Install poetry
4949
run: |
50-
python -m pip install poetry==1.8.3
50+
python -m pip install poetry==2.0.0
5151
5252
- name: Configure poetry
5353
run: |

poetry.lock

Lines changed: 30 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
[tool.poetry]
1+
[project]
22
name = "pytest-factoryboy"
33
version = "2.7.0"
44
description = "Factory Boy support for pytest."
5-
authors = ["Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>"]
6-
maintainers = ["Alessio Bogon <778703+youtux@users.noreply.github.com>"]
5+
authors = [ { name = "Oleg Pidsadnyi", email= "oleg.pidsadnyi@gmail.com" } ]
6+
maintainers = [ { name = "Alessio Bogon", email = "778703+youtux@users.noreply.github.com" } ]
77
license = "MIT"
88
readme = "README.rst"
9-
homepage = "https://pytest-factoryboy.readthedocs.io/"
10-
documentation = "https://pytest-factoryboy.readthedocs.io/"
11-
repository = "https://github.com/pytest-dev/pytest-factoryboy"
9+
1210
classifiers = [
1311
"Development Status :: 6 - Mature",
1412
"Intended Audience :: Developers",
@@ -27,25 +25,30 @@ classifiers = [
2725
"Programming Language :: Python :: 3.12",
2826
"Programming Language :: Python :: 3.13",
2927
]
28+
requires-python = ">=3.8"
29+
dependencies = [
30+
"inflection",
31+
"factory_boy>=2.10.0",
32+
"pytest>=7.0",
33+
"typing_extensions",
34+
"packaging",
35+
]
3036

31-
[tool.poetry.plugins."pytest11"]
32-
"pytest-factoryboy" = "pytest_factoryboy.plugin"
37+
[project.urls]
38+
homepage = "https://pytest-factoryboy.readthedocs.io/"
39+
documentation = "https://pytest-factoryboy.readthedocs.io/"
40+
repository = "https://github.com/pytest-dev/pytest-factoryboy"
3341

34-
[tool.poetry.dependencies]
35-
python = ">=3.8"
36-
inflection = "*"
37-
factory_boy = ">=2.10.0"
38-
pytest = ">=7.0"
39-
typing_extensions = "*"
40-
packaging = "*"
42+
[project.entry-points."pytest11"]
43+
"pytest-factoryboy" = "pytest_factoryboy.plugin"
4144

4245
[tool.poetry.group.dev.dependencies]
4346
mypy = ">=1.4.1"
4447
tox = ">=4.0.8"
4548
coverage = {extras = ["toml"], version = ">=6.5.0"}
4649

4750
[build-system]
48-
requires = ["poetry-core>=1.0.0"]
51+
requires = ["poetry-core (>=2.0.0, <3.0.0)"]
4952
build-backend = "poetry.core.masonry.api"
5053

5154
[tool.black]

0 commit comments

Comments
 (0)