Browse Source

Drop py27 support

Change-Id: I4f1a8941a8a3cdf6331aec7a6b8058fbeeb076b6
changes/41/722141/2
Alex Schultz 5 months ago
parent
commit
15e6c371e6
4 changed files with 4 additions and 21 deletions
  1. +0
    -1
      .zuul.yaml
  2. +1
    -8
      setup.cfg
  3. +0
    -9
      setup.py
  4. +3
    -3
      tox.ini

+ 0
- 1
.zuul.yaml View File

@@ -1,6 +1,5 @@
- project:
templates:
- openstack-python-jobs
- openstack-python3-ussuri-jobs
- docs-on-readthedocs
vars:


+ 1
- 8
setup.cfg View File

@@ -13,9 +13,8 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7

@@ -28,9 +27,3 @@ console_scripts =
ovb-deploy = openstack_virtual_baremetal.deploy:main
ovb-build-nodes-json = openstack_virtual_baremetal.build_nodes_json:main
openstackbmc = openstack_virtual_baremetal.openstackbmc:main


[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source

+ 0
- 9
setup.py View File

@@ -13,17 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools

# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass

setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)

+ 3
- 3
tox.ini View File

@@ -1,7 +1,7 @@
[tox]
minversion = 3.1
minversion = 3.2.0
skipsdist = True
envlist = py27,py37,pep8
envlist = py37,py38,pep8
ignore_basepython_conflict = True

[testenv]
@@ -41,7 +41,7 @@ commands =
coverage xml -o cover/coverage.xml

[testenv:genconfig]
commands = python bin/environment-generator.py sample-env-generator --index doc/source/deploy/environment-index.rst
commands = python3 bin/environment-generator.py sample-env-generator --index doc/source/deploy/environment-index.rst

[flake8]
ignore = H803,W504


Loading…
Cancel
Save