Commit Graph

25 Commits

Author SHA1 Message Date
Sean McGinnis b22c58fcfc
Retire mox3 repo
This is step 2 in the retirement process for mox3. It removes all
content from the repo other than a note in the README file notifying of
its status and how to get the last version of the code

Depends-on: https://review.opendev.org/736712

Change-Id: Ifbea265fdef149791d02a642037ac30611ad4c81
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-18 09:19:13 -05:00
Sean McGinnis 02daff6458
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: I582da6161dcbeb665df0b05adc8df7421f1da1c1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:44 -05:00
Andreas Jaeger fa22a336bf tox.ini & Setup.cfg cleanups
Address suggestions from https://review.opendev.org/#/c/700679:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
  settings for build-sphinx
* Add python-requires to setup.cfg to make Python 3.6 requirement
  explicit

Change-Id: Ib93f6f3822c7f9d9013f095268700e3a19d252fb
2020-02-03 12:54:55 +01:00
pengyuesheng 127bc84a88 Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Remove also universal-wheel, this is py3 only now.

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Ibac9edb043fa082322ed2f2272cc0b1727ae9009
2020-02-02 12:36:35 +01:00
pengyuesheng 74b78551ae Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I78f3f4d4ae2c33febdc1ce7d7e241ca1138b09dd
2019-09-29 10:45:01 +08:00
Zuul 943f7bc5d6 Merge "Remove flake8 from the test-requirements" 2019-09-06 03:14:09 +00:00
Dirk Mueller a7706ca345 Remove flake8 from the test-requirements
flake8 is a linter so we don't need to pull in for the unit
tests or other tox environments.

Also update to the newer flake8 2.6.x which is the version
chosen by current hacking release (which causes no fallout so should be fine).
Also this is the first version that is compatible being run
under python 3.6/7.

Change-Id: I54f99e7e29c7b3727db98bdaf8bc168da3890a1d
2019-08-13 17:32:14 +02:00
Corey Bryant 0a1e5b96f4 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I09c16adfa6feeb4ebe373ee5334aa8cce5a1306d
Story: #2005924
Task: #34234
2019-07-05 14:41:22 -04:00
Zuul a170f1889f Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-03 18:44:08 +00:00
caoyuan acf22b2cb4 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I613b5676676215c6f80d309799a2efd715894ee7
2019-04-23 21:34:36 +08:00
Ghanshyam Mann 71071cc217 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I097138c3a4262a844819478d0f8a94180d16fa35
2019-04-15 18:16:35 +00:00
Vu Cong Tuan b0577a9a36 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I0190d49f1f6153937a2032f199a17696c21efa83
2018-07-10 17:34:26 +07:00
Doug Hellmann 8b50ec329b fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I286299b3ef10c008e73900e0d08a461637796b67
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 14:53:48 -04:00
Doug Hellmann 14ce749c65 set default python to python3
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.

Change-Id: Ib98c64b490cf621ffd1ce96cb403a1b94a9246ad
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-13 15:59:05 -04:00
Doug Hellmann 652138c09e add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I0906638c2fd77dbdcff56ffc43e5c3b70ca729f5
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-24 21:02:10 -04:00
Zuul 62c926edca Merge "Fix various pep8 issues" 2017-12-05 18:29:44 +00:00
Andreas Jaeger 9f2bbc229c Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: If030c81dfb5b1e016cf5335815a7e6e65b921a7c
2017-12-02 17:04:55 +00:00
Dirk Mueller 391d7c38f5 Fix various pep8 issues
There weren't called before because test-requirements
hardcoded an older version that is not what flake8 expected.

Change-Id: I43b0c9f89d8411ae536ffd0540ff7ba47df46dda
2017-10-26 13:38:59 +02:00
kavithahr 4eb804f230 Python 3.5 is added
Python 3.5 was missing so i have added.

Change-Id: Ica89b115929cd72b27ba33f1d5bd7e1fe5eeddec
2017-04-24 13:07:21 +00:00
Tony Breeds 05b2c645bb Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove mox3.

Change-Id: I45b01a7cfca742233ac1f63a17d72cd96a6830ba
2017-01-05 08:47:58 +11:00
THOMAS J. COCOZZELLO 4c2236062f Activate pep8 check that _ is imported
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.

Activating this check did not flag any violations.

Change-Id: I9cae8a2e16ff49b8272f42925228f1524ddf0fea
2015-09-11 23:12:30 -05:00
Doug Hellmann c919d92bb9 Fixes to allow a new release
Version 0.7.0 has a conflicting pbr requirement, so we need to update
the requirements and produce a new release. Making our tools work after
importing into gerrit required several updates simultaneously:

1. Update requirements based on our global-requirements list.
2. Fix tox.ini so tests pass for 2.7 and 3.4.
3. Skip a test that is failing for 3.4 until we have more time to debug.
4. Fix the .gitreview settings to point to the right repository.
5. Add skeleton documentation structure.
6. Add links to the README in a format understood by our release tools.

Related-bug: #1403214
Change-Id: I28213fb1dbb76a8640d7aa7dc844a7b593d1c6da
2015-06-11 17:22:23 +00:00
Monty Taylor 4b4421e766 Fix all of the flake8/hacking warnings. 2013-05-21 18:41:20 -04:00
Monty Taylor 1a99638ba2 Fix the leading indentation issue. 2013-05-21 17:12:00 -04:00
Monty Taylor 24bd40737a Updated to use OpenStack standards. 2013-05-21 16:59:38 -04:00