Skip to content

Commit

Permalink
Merge pull request #55 from BenjamenMeyer/2024-02_updates
Browse files Browse the repository at this point in the history
2024 02 updates
  • Loading branch information
BenjamenMeyer authored Feb 11, 2024
2 parents 00dcac6 + 17f1b1f commit c93e9b5
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-gh-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.9]
python-version: [3.12]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.8, 3.9, 3.10.13, 3.11, 3.12]
steps:
- uses: actions/checkout@v2
with:
Expand Down
27 changes: 27 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,30 @@ cover-erase=1
cover-inclusive=true
cover-branches=true
cover-min-percentage=30

[metadata]
name = openstackinabox
url = https://github.com/TestInABox/openstackinabox
version = attr: openstackinabox.version
author = Benjamen R. Meyer
author_email = bm_witness@yahoo.com
description = OpenStack APIs for the Stack-In-A-Box Testing Suite
long_description = file: README.rst
long_description_content_type = text/x-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
stackinabox>=0.13

[options.packages.find]
exclude =
tests*
openstackinabox/tests
21 changes: 2 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
from setuptools import setup, find_packages
from setuptools import setup

REQUIRES = ['stackinabox>=0.12', 'six']

setup(
name='openstackinabox',
version='0.1',
description='RESTful API Testing Suite',
license='Apache License 2.0',
url='https://github.com/TestInABox/openstackinabox',
author='Benjamen R. Meyer',
author_email='ben.meyer@rackspace.com',
install_requires=REQUIRES,
test_suite='openstackinabox',
packages=find_packages(exclude=['tests*', 'openstackinabox/tests']),
zip_safe=True,
classifiers=["Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Testing"],
)
setup()
6 changes: 3 additions & 3 deletions tools/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
coverage
ddt
mock
nose
nose-exclude
pep8
pytest
pytest-cov
pycodestyle
requests
requests-mock
six
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[tox]
minversion=1.8
envlist = {py3.6,py3.7,py3.8,py3.9},pep8,flake8
envlist = {py3.8,py3.9,py3.10,py3.11,py3.12},pep8,flake8
skip_missing_interpreters=True

[testenv]
basepython =
py27: python2.7
pypy: pypy
pypy3: pypy3
py34: python3.4
py35: python3.5
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
py3.9: python3.9
py3.10: python3.10
py3.11: python3.11
py3.12: python3.12
pep8: python3
flake8: python3
deps =
py27,pypy,pypy3,py34,py35,py3.6,py3.7,py3.8,py3.9: -r{toxinidir}/tools/test-requirements.txt
pypy,pypy3,py3.8,py3.9,py3.10,py3.11,py3.12: -r{toxinidir}/tools/test-requirements.txt
pep8,flake8: -r{toxinidir}/tools/lint-requirements.txt
commands =
py27,pypy,pypy3,py34,py35,py3.6,py3.7,py3.8,py3.9: nosetests {posargs}
pypy,pypy3py3.8,py3.9,py3.10,py3.11,py3.12: pytest --cov-config=.coveragerc --cov=openstackinabox {posargs}
pep8: pycodestyle --exclude=.tox,dist,doc,*env*,.*env*,build --ignore=E128,W504
flake8: flake8 openstackinabox/ setup.py
setenv =
pypy,pypy3,py3.8,py3.9,py3.10,py3.11,py3.12,pep8,flake8: VIRTUAL_ENV={envdir} LC_ALL = en.US.utf-8

0 comments on commit c93e9b5

Please sign in to comment.