Commit Graph

162 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
melissaml caa8058456 Switch to newer openstackdocstheme versions
Switch to openstackdocstheme 2.2.1 versions. Using
these versions will allow especially:
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I3600b36580b01bd122d84dc14316b94f6c2ee78f
2020-06-03 17:02:13 +08:00
Zuul 99a302ffcd Merge "Add py38 package metadata" 2020-04-27 08:40:36 +00: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
Sean McGinnis d27eb2c38a
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I9889db5f710af545d11008090b455048011e38ea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:22:36 -05:00
OpenStack Release Bot 7cdcc4e04f Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I08cb823107288a1a047a863dc5cad190d1a52a57
2020-04-14 10:12:35 +00: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
Zuul 6ada58bed4 Merge "Switch to Ussuri jobs" 2019-12-02 18:18:51 +00:00
pengyuesheng 4e11f00845 Switch to Ussuri jobs
Change-Id: I24779f878b4d60fc0bdb1059895d527071a29bfd
2019-10-23 16:12:18 +08:00
pengyuesheng bbeeadbb2f Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: I9028d5be178c8fd83102970d871e5f2bf16752c5
2019-10-09 16:40:05 +08: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
jacky06 a176de01d7 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest

Change-Id: I1bb1b6861f804f3a28d863bcab795ed39819d3aa
2019-06-24 14:20:40 +00:00
Zuul a170f1889f Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-03 18:44:08 +00:00
Zuul 8e7dda5646 Merge "Dropping the py35 testing" 2019-05-03 16:46:51 +00:00
caoyuan acf22b2cb4 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I613b5676676215c6f80d309799a2efd715894ee7
2019-04-23 21:34:36 +08:00
OpenDev Sysadmins 00867afff8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:37:11 +00: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
Andreas Jaeger 543e2cc377 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I3ccd43896a032762400260d34b6aeef8b034feab
Needed-By: https://review.openstack.org/623229
2018-12-20 21:11:06 +01:00
melissaml f8ffdbf522 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ie152a9ee2fd16a5a7d10d03d2e0b64691eec3578
2018-12-05 01:41:19 +08:00
Doug Hellmann 34a010e168 add python 3.6 unit test job
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

This also modifies a unit test to not attempt to pass the re.LOCALE flag
when the regex is a string, which is prohibited in Python 3.6. It would
be possible to use a raw bytes object as the regex instead, but we're
testing the repr() here and it has a different representation between
Python 2 and Python 3. Just use the re.IGNORECASE flag instead for the
purposes of the test.

Change-Id: I666d49d0a29963bcaef6ca69be34dc4869f6db6f
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Story: #2002586
Task: #24322
2018-08-14 16:18:10 -05:00
Doug Hellmann c2842394ff import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I223abedcedadda2e0328175b6b16da0228b70067
Story: #2003250
2018-08-03 17:43:26 -04: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
zhulingjie 07214554b2 Remove the unnecessary spaces
Change-Id: I894a09d7c8582f1c4052d7689e33a9120c4ae536
2018-06-10 15:24:13 -04:00
XiaojueGuan 514fd0b3a3 Update links in README
Change the outdated links to the latest links in README

Change-Id: I30db74a4e8ef04120d545d9d38b05db71f866d20
2018-06-12 14:39:07 +08: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
Zuul 6eee2a070a Merge "fix a typo in documentation" 2018-04-26 16:41:24 +00: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
melissaml 6dc7c79edb fix a typo in documentation
Change-Id: Ib7db8c3e75eee9651acce471cdc5eb7b05b3afd9
2018-03-29 13:21:21 +08: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
OpenStack Proposal Bot 9b387f5114 Updated from global requirements
Change-Id: Id5249d41fa11fd313aabde358f5488dd0a6bf1cd
2018-03-15 07:13:57 +00:00
OpenStack Proposal Bot c979e7b77a Updated from global requirements
Change-Id: I6e4f36deacd593703ba792cd2fe0bd58c8f0a3cf
2018-03-10 13:22:55 +00:00
OpenStack Proposal Bot d1e102d6a9 Updated from global requirements
Change-Id: I6bb090f7af96858b98ee5f88445da0137da9b5ec
2018-01-24 01:03:47 +00:00
OpenStack Proposal Bot 388a464de2 Updated from global requirements
Change-Id: I288dbbd6e2bc196a53ede9a18a71f0240f2235aa
2018-01-18 03:04:35 +00:00
Zuul 285bc2a176 Merge "Remove explicit dependency on pep8/pyflakes" 2017-12-05 18:29:45 +00: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
Zuul 473ece0384 Merge "Updated from global requirements" 2017-11-20 08:39:39 +00:00
OpenStack Proposal Bot 4e81fea837 Updated from global requirements
Change-Id: I10f41ca29ca01b6fd64f94879ff0353fb1982971
2017-11-16 11:11:24 +00:00
OpenStack Proposal Bot e0a78f3564 Updated from global requirements
Change-Id: I5d206db307fa7b355d5b0a7425548bec08cbe248
2017-11-16 11:11:20 +00:00
Dirk Mueller a331e6bc88 Remove explicit dependency on pep8/pyflakes
flake8 already pulls in the new dependency (pycodestyle and pyflakes)
in the right versions, so listing it explicitely is wrong and
unnecessary. flake8 2.5.5 depends on:
  'pep8 (>=1.5.7,!=1.6.0,!=1.6.1,!=1.6.2)',
  'pyflakes (<1.1,>=0.8.1)']

This seems to be from times where flake8 wasn't doing that before.

Change-Id: Ib145e2afa97f441c07fada9c30f0f0e2410870ae
2017-10-26 13:39:00 +02: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
OpenStack Proposal Bot dc010f3e24 Updated from global requirements
Change-Id: Ifbcfe267ed5ba19357122d93eb3ca327c87d62a0
2017-09-20 16:16:50 +00:00
OpenStack Proposal Bot f76f8d0f28 Updated from global requirements
Change-Id: Ic4ce8ae6c57941905520999ab8572003191474eb
2017-07-27 19:12:36 +00:00
Jenkins 812983a5fa Merge "Update URLs in documents according to document migration" 2017-07-12 19:01:08 +00:00
ChangBo Guo(gcb) 577a627691 Update URLs in documents according to document migration
Change-Id: Ic6d1961e5e0b2920bb74d167ed843b928deca289
2017-07-12 22:18:41 +08:00
ritesh.arya 9abf7a78a4 Update .gitignore
Because egg* already ignores egg-info.

Change-Id: Ia53923c138d17f0eb04a4e22f033212268b7257a
2017-07-12 11:14:23 +05:30