From 72c2a10128e64791a22d7c5f455f3d15447c7e46 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Mon, 28 Mar 2022 09:54:47 +0200 Subject: [PATCH 1/2] build: Remove deprecated setup.py. setup.py is no longer necessary when the project is installed with a PEP 517 compatible build. Pip has support for PEP 517 since v19.0. The setuptools documentation warns about removing setup.py when editable installations need to be possible. This shouldn't be an issue since editable installations are still possible with pip v21.1 or newer. [1] I don't think a bump of the minimal setuptools version is necessary for this change. Closes #283 [1] https://pip.pypa.io/en/stable/news/#v21-1 Signed-off-by: Michael Seifert --- setup.py | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 setup.py diff --git a/setup.py b/setup.py deleted file mode 100644 index 7f1a1763..00000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -from setuptools import setup - -if __name__ == "__main__": - setup() From e223755ec48a4d17ca579406ef0872964f86eeb5 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Mon, 28 Mar 2022 10:32:51 +0200 Subject: [PATCH 2/2] docs: Added changelog entry about removal of setup.py. Signed-off-by: Michael Seifert --- CHANGELOG.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bb10c006..3e7994bb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,10 @@ Changelog ========= +UNRELEASED +================= +- Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_ + 0.18.3 (22-03-25) ================= - Adds `pytest-trio `_ to the test dependencies