From 29194947f79446ee6896bd85a9ec1b128d33abc2 Mon Sep 17 00:00:00 2001 From: Abhishek Jha Date: Fri, 18 Jul 2025 21:01:48 +0530 Subject: [PATCH 1/5] Install tox dependency to run make test --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 77fedb9716..b99b071762 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,3 +5,4 @@ pytest-httpbin==2.1.0 httpbin~=0.10.0 trustme wheel +tox \ No newline at end of file From b04f3e9f23b761b94d0fa16030fb3282fa0f3ca0 Mon Sep 17 00:00:00 2001 From: Abhishek Jha Date: Fri, 18 Jul 2025 21:17:10 +0530 Subject: [PATCH 2/5] Add flake8 as dev dependency --- requirements-dev.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index b99b071762..b0615ecbd9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,4 +5,5 @@ pytest-httpbin==2.1.0 httpbin~=0.10.0 trustme wheel -tox \ No newline at end of file +tox +flake8 \ No newline at end of file From 6f703490a0186241d45e7eab57de41bd02855642 Mon Sep 17 00:00:00 2001 From: Abhishek Jha Date: Fri, 18 Jul 2025 21:30:23 +0530 Subject: [PATCH 3/5] Remove unused Makefile sections --- Makefile | 7 +------ requirements-dev.txt | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 67409e475a..5250ea4bf7 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,13 @@ .PHONY: docs init: python -m pip install -r requirements-dev.txt -test: - # This runs all of the tests on all supported Python versions. - tox -p + ci: python -m pytest tests --junitxml=report.xml test-readme: python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!" -flake8: - python -m flake8 src/requests - coverage: python -m pytest --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=src/requests tests diff --git a/requirements-dev.txt b/requirements-dev.txt index b0615ecbd9..77fedb9716 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,5 +5,3 @@ pytest-httpbin==2.1.0 httpbin~=0.10.0 trustme wheel -tox -flake8 \ No newline at end of file From 0d6c6cd671a2df5f0e6e55ee4f9bbd010d6bc69a Mon Sep 17 00:00:00 2001 From: Abhishek Jha Date: Fri, 18 Jul 2025 21:46:28 +0530 Subject: [PATCH 4/5] Add test command --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5250ea4bf7..78a0998875 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ .PHONY: docs init: python -m pip install -r requirements-dev.txt +test: + # This runs all of the tests on all supported Python versions. + python -m pytest tests ci: python -m pytest tests --junitxml=report.xml From 9c5926cadca1b66cfde114fafb901c8f203252af Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 18 Jul 2025 10:17:28 -0600 Subject: [PATCH 5/5] Update Makefile --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 78a0998875..5401f406d5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,6 @@ init: python -m pip install -r requirements-dev.txt test: - # This runs all of the tests on all supported Python versions. python -m pytest tests ci: