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
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ UNRELEASED
----------

* ``pytest-mock`` now requires ``pytest>=6.2.5``.
* `#410 <https://github.com/pytest-dev/pytest-mock/pull/410>`_: pytest-mock's ``setup.py`` file is removed.
If you relied on this file, e.g. to install pytest using ``setup.py install``,
please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`_ for alternatives.

3.12.0 (2023-10-19)
-------------------
Expand Down
53 changes: 53 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,59 @@ requires = [
]
build-backend = "setuptools.build_meta"

[project]
name = "pytest-mock"
description = "Thin-wrapper around the mock package for easier use with pytest"
authors = [
{name = "Bruno Oliveira", email = "[email protected]"},
]
dependencies = [
"pytest>=6.2.5",
]
dynamic = ["version"]
requires-python = ">=3.8"
readme = "README.rst"
license = {text = "MIT"}
keywords = ["pytest", "mock"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]

[project.urls]
Homepage = "https://github.com/pytest-dev/pytest-mock/"
Documentation = "https://pytest-mock.readthedocs.io/en/latest/"
Changelog = "https://pytest-mock.readthedocs.io/en/latest/changelog.html"
Source = "https://github.com/pytest-dev/pytest-mock/"
Tracker = "https://github.com/pytest-dev/pytest-mock/issues"

[project.optional-dependencies]
dev = [
"pre-commit",
"pytest-asyncio",
"tox",
]

[project.entry-points.pytest11]
pytest_mock = "pytest_mock"

[tool.setuptools.package-data]
pytest_mock = ["py.typed"]

[tool.setuptools_scm]
write_to = "src/pytest_mock/_version.py"

[tool.ruff.lint]
extend-select = ["I001"]

Expand Down
47 changes: 0 additions & 47 deletions setup.py

This file was deleted.