-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Drop Python 2.7 support and add word of caution about Pypy and setuptools - Update note about CI systems to include 4th gen systems (e.g GitHub Actions) - Convert from setup.py to setup.cfg using the newer methodology so no parameters are specified to `setup()` - Update the `version` test that ensures the code and installation version match to use `subprocess` to inspect the output of `pip show stackinabox` instead of importing `setup.py` as `setup.py` no longer contains the data it was searching for - Fix several tests where the query parameters were separated by both `;` and `&` and it should have only separated on `&` - Update the dependencies to latest stable versions
- Loading branch information
1 parent
bf25972
commit f36378c
Showing
13 changed files
with
107 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,33 @@ cover-erase=1 | |
cover-inclusive=true | ||
cover-branches=true | ||
cover-min-percentage=92 | ||
|
||
[metadata] | ||
name = stackinabox | ||
url = https://github.com/TestInABox/stackInABox | ||
version = attr: stackinabox.version | ||
author = Benjamen R. Meyer | ||
author_email = [email protected] | ||
description = RESTful API Testing Suite | ||
long_description = file: README.rst, LICENSE, CONTRIBUTING.rst | ||
license = Apache License 2.0 | ||
classifiers = | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: Apache Software License | ||
Topic :: Software Development :: Testing | ||
|
||
[options] | ||
zip_safe = True | ||
packages = find: | ||
install_requires = | ||
six | ||
|
||
[options.extras_require] | ||
httpretty = httpretty==1.1.4 | ||
requests-mock = requests-mock | ||
responses = responses>=0.4.0 | ||
|
||
[options.packages.find] | ||
exclude = | ||
test* | ||
stackinabox/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
import sys | ||
from setuptools import setup, find_packages | ||
from setuptools import setup | ||
|
||
REQUIRES = ['six'] | ||
EXTRA_REQUIRES = { | ||
'httpretty': ['httpretty==0.8.6'], | ||
'requests-mock': ['requests-mock'], | ||
'responses': ['responses>=0.4.0'] | ||
} | ||
|
||
setup( | ||
name='stackinabox', | ||
version='0.13', | ||
description='RESTful API Testing Suite', | ||
license='Apache License 2.0', | ||
url='https://github.com/TestInABox/stackInABox', | ||
author='Benjamen R. Meyer', | ||
author_email='[email protected]', | ||
install_requires=REQUIRES, | ||
extras_require=EXTRA_REQUIRES, | ||
test_suite='stackinabox', | ||
packages=find_packages(exclude=['tests*', 'stackinabox/tests']), | ||
zip_safe=True, | ||
classifiers=["Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Topic :: Software Development :: Testing"], | ||
) | ||
setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
doc8==0.8.1 | ||
httpretty==1.0.5 | ||
requests==2.25.1 | ||
requests-mock==1.8.0 | ||
doc8==1.1.1 | ||
httpretty==1.1.4 | ||
requests==2.31.0 | ||
requests-mock==1.11.0 | ||
responses>=0.12.1 | ||
six==1.15.0 | ||
sphinx==3.4.2 | ||
six==1.16.0 | ||
sphinx==7.2.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
setuptools>=1.1.6 | ||
pycodestyle==2.6.0 | ||
pycodestyle==2.11.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
coverage==4.5.4 | ||
ddt==1.2.1 | ||
httpretty==0.8.6 | ||
mock==3.0.5 | ||
pytest==3.3.2 | ||
pytest-cov==2.5.1 | ||
requests==2.22.0 | ||
requests-mock==1.7.0 | ||
responses>=0.10.6 | ||
six==1.12.0 | ||
pycodestyle==2.5.0 | ||
attrs==17.2.0 | ||
coverage==7.4.1 | ||
ddt==1.7.1 | ||
httpretty==1.1.4 | ||
mock==5.1.0 | ||
pytest==8.0.0 | ||
pytest-cov==4.1.0 | ||
requests==2.31.0 | ||
requests-mock==1.11.0 | ||
responses>=0.12.1 | ||
six==1.16.0 | ||
pycodestyle==2.11.1 | ||
attrs==23.2.0 | ||
setuptools<=44.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
coverage==5.3.1 | ||
ddt==1.4.1 | ||
httpretty==1.0.5 | ||
mock==4.0.3 | ||
pytest==6.2.1 | ||
pytest-cov==2.10.1 | ||
requests==2.25.1 | ||
requests-mock==1.8.0 | ||
coverage==7.4.1 | ||
ddt==1.7.1 | ||
httpretty==1.1.4 | ||
mock==5.1.0 | ||
pytest==8.0.0 | ||
pytest-cov==4.1.0 | ||
requests==2.31.0 | ||
requests-mock==1.11.0 | ||
responses>=0.12.1 | ||
six==1.15.0 | ||
pycodestyle==2.6.0 | ||
six==1.16.0 | ||
pycodestyle==2.11.1 | ||
importlib-metadata==3.3.0 ;python_version<"3.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters