From 40eded651f99f949d5d066dd258439904c7ea982 Mon Sep 17 00:00:00 2001 From: Michael Mendy Date: Tue, 30 Jun 2026 10:22:30 -0700 Subject: [PATCH 1/2] Fix broken test command in Contributing section. First, there is no `setup.py` in the repo. The project is fully `pyproject.toml-based` (`build-backend =` "`setuptools.build_meta`", version is dynamic via `tool.setuptools.dynamic`). So a contributor who copies that line literally gets can't open file 'setup.py': No such file or directory on the spot. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0db11e4c..9c64ec80 100644 --- a/README.md +++ b/README.md @@ -81,4 +81,9 @@ For bug reports, please [open an issue on GitHub](https://github.com/rollbar/pyr 4. Push to the branch (```git push origin my-new-feature```) 5. Create new Pull Request -Tests are in `rollbar/test`. To run the tests: `python setup.py test` +Tests are in `rollbar/test`. To run the tests, install the test dependencies and run pytest: + + pip install -e '.[test]' # or: uv sync --group test + pytest + +To run against all supported Python versions, use `tox`. From 21f5d4174c29dbda2f876f8b24323dc684ea3618 Mon Sep 17 00:00:00 2001 From: Michael Mendy Date: Tue, 30 Jun 2026 10:29:16 -0700 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20fix=20contributing=20test=20command?= =?UTF-8?q?=20(setup.py=20test=20=E2=86=92=20pytest)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9c64ec80..2339b295 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,7 @@ For bug reports, please [open an issue on GitHub](https://github.com/rollbar/pyr 4. Push to the branch (```git push origin my-new-feature```) 5. Create new Pull Request -Tests are in `rollbar/test`. To run the tests, install the test dependencies and run pytest: +Tests are in `rollbar/test`. To run them: - pip install -e '.[test]' # or: uv sync --group test + pip install -e . --group test pytest - -To run against all supported Python versions, use `tox`.