Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
with:
cache: "pip"
- name: Install pypa/build
run: >-
python3 -m pip install --user build twine
# We need a recent version of `packaging`, otherwise we encounter this bug:
# https://github.com/pypa/twine/issues/1216
run: python3 -m pip install --user build twine "packaging>=25.0"
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Check the distribution files with `twine`
Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
allow-prereleases: true
- name: Install poetry
run: |
python -m pip install poetry==2.1.3
python -m pip install poetry==2.2.0
- name: Configure poetry
run: |
poetry config virtualenvs.in-project true
Expand All @@ -81,7 +82,7 @@ jobs:
- name: Install dev dependencies
if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
run: |
poetry install
poetry install --with=dev
- name: Download artifact
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/python-poetry/poetry
rev: "84eeadc21f92a04d46ea769e3e39d7c902e44136" # frozen: 2.1.3
rev: "4dba0e1b041366b3f05bec89dca82e902e6386e8" # frozen: 2.2.0
hooks:
- id: poetry-check
args: ["--lock"]
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = "Factory Boy support for pytest."
authors = [ { name = "Oleg Pidsadnyi", email= "[email protected]" } ]
maintainers = [ { name = "Alessio Bogon", email = "[email protected]" } ]
license = "MIT"
license-files = [ "LICENSE.md" ]
readme = "README.rst"

classifiers = [
Expand Down Expand Up @@ -44,6 +45,9 @@ repository = "https://github.com/pytest-dev/pytest-factoryboy"
[tool.poetry]
packages = [{include = "pytest_factoryboy", from = "src"}]

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
mypy = ">=1.4.1"
tox = ">=4.0.8"
Expand Down
Loading