Commit Graph

823 Commits

Author SHA1 Message Date
Ghanshyam Mann
8f784480a3 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

This also makes the following two changes to fix the broken CI.

- Switch the python3 job template to unversioned one because
  the heat-cfntools project follows an independent release model.
  This effectively removes py36 tests.

- Use upper-constraints.txt to build documentation, to avoid pulling
  the latest Sphinx which includes a breaking change.

Change-Id: I3c41ed7cd54e8c8d3fad05ea7ac86fc35b9fa4d1
2022-06-06 13:45:32 +09:00
Ghanshyam Mann
ce3f97cecd [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38524
Change-Id: Ifbdf4c65a1e72ef3569439e5eadb836260a786d1
2021-06-01 02:00:06 +00:00
Zuul
c32963fdea Merge "Mark support for py38" 2020-11-16 05:47:04 +00:00
Zuul
7f60422eb2 Merge "update source link in readme" 2020-11-16 05:41:18 +00:00
zhangboye
90a85c9885 update source link in readme
Change-Id: I008f3c5a8d6a67b2f1b4c299f0d55b49613d5680
2020-11-16 13:29:42 +08:00
maaoyu
5b3dba0c87 Mark support for py38
in 'wallaby' cycle, we should test py38 by default.
Also support tox test on py36 and py38 as that's what
our check job verify on.
ref:
  https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: I349d80cb1b963bdb30e374994f7c18352f918e3b
2020-11-16 13:26:58 +08:00
Sean McGinnis
62c42ceef6 Switch to wallaby job template
This switched to run the expected wallaby jobs in gate.

Change-Id: I0f0758a123b5dad7094bff17336afa1a2a20749f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-11-16 13:23:16 +08:00
Zuul
22068fb533 Merge "Remove publish-to-pypi template" 2020-06-10 08:27:16 +00:00
Sean McGinnis
5c2557dbaf
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ib6e4e7f89a9990cfb42afa209878812340109ecf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-09 09:59:03 -05:00
Zuul
b36a83ec52 Merge "Switch to newer openstackdocstheme version" 2020-06-08 10:36:04 +00:00
Andreas Jaeger
d5f9e98a57 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

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: I3c41f2e7a7b9b0f6ab871da93540737b61ba857f
2020-05-30 17:07:03 +02:00
Andreas Jaeger
562e87d5f8 Remove publish-to-pypi template
This template needs to be in project-config since the jobs are not
branch aware. The template is already setup in project-config, so just
remove the extra line here.

Change-Id: Ie7e24b96ec7c191a1aad5a27ac16ae64fbc3bb13
2020-05-26 09:52:28 +02:00
Ghanshyam Mann
bb6f8f8e05 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Id73106fee729aea32fe37234f3fa7d5263c196aa
2020-05-15 11:51:38 -05:00
Andreas Jaeger
e3457fcf7d [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Update boto,pbr minimal requirement for python3 support.

Change-Id: I23c273d0aa57e1400b383357883f298b8288897d
2020-02-04 21:34:29 +01:00
Zuul
1bca92b1c1 Merge "Delete pylint tox environment" 2019-12-04 22:35:11 +00:00
Zuul
397db2445b Merge "Sync Sphinx requirement" 2019-12-04 22:35:10 +00:00
Zuul
7bccc18de4 Merge "Switch to Ussuri jobs" 2019-12-04 22:33:02 +00:00
Zuul
e8aff313c9 Merge "Update the constraints url" 2019-12-04 22:31:32 +00:00
Zuul
638ab8be4e Merge "Change openstack-dev to openstack-discuss" 2019-12-04 22:27:27 +00:00
pengyuesheng
b0e9ebe6c1 Switch to Ussuri jobs
Change-Id: Ie8cbd5bf55314d62fbd0ab7567570ca2c7376c39
2019-10-22 11:07:00 +08:00
pengyuesheng
2d815e654e Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I0d73efcab246370410d9454ff621d1b812ffbe29
2019-10-09 16:21:34 +08:00
pengyuesheng
9f57a83518 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ib0778872dd3eb55d4455b07d256134b87e336893
2019-09-25 14:10:49 +08:00
Corey Bryant
183eb08c6b 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: I1ba956644bdf7c10bd2b6780e556df4c70bceeab
Story: #2005924
Task: #34209
2019-06-24 10:31:55 -04:00
OpenDev Sysadmins
0ad4718714 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:42:26 +00:00
Corey Bryant
00284d8338 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I22733429c53c217e72fb6d65e1f0dc1353b021fa
Story: #2004073
Task: #27416
2019-02-14 22:49:55 -05:00
Zuul
d23083a8e9 Merge "Update the bugs link to storyboard" 2019-01-03 22:09:16 +00:00
ZhijunWei
88905697f6 Update the bugs link to storyboard
Change-Id: Ic878d46e4802c79f416f4e157b734a16f8b612b4
2019-01-03 10:08:13 +08:00
Andreas Jaeger
21c2c922c2 Use template for lower-constraints
Small cleanups:

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

Change-Id: Ib24ffd7701d8e7e88fb6c6ab9854244a4a656687
Needed-By: https://review.openstack.org/623229
2018-12-20 20:59:48 +01:00
melissaml
22f9c1a759 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I54118d8f7f51a218053e15a1d7414a9092d9a436
2018-12-05 11:52:10 +08:00
Zuul
0e886af9f6 Merge "fix bug link in readme" 2018-09-07 23:55:14 +00:00
zhulingjie
05a1cc8896 Migrate the link of bug report button to storyboard
Change-Id: I5b329f3233ce126fb25bff6c947aa8379b991d50
2018-08-30 07:34:37 -04:00
Doug Hellmann
8acd0912ea add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

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

Change-Id: I438730a4c37639341c0e7294b28a93e8ede845cc
Story: #2002586
Task: #24298
2018-08-29 08:59:49 -04:00
ZhijunWei
4b7978f965 fix bug link in readme
This patch fixes the bug tracker link in the readme. It is set to
depend on a job definition change in project-config so we can use this
patch to test the new release jobs.

Change-Id: I6dad9b1d6499d615c60d3c23b5cd8c44040abddd
2018-08-28 09:10:36 -04:00
Zane Bitter
039cc4419d Delete pylint tox environment
Nobody uses pylint, but a lot of people are trying to generate code
churn by 'fixing' trivial issues in lintstack.py. Just delete it.

Change-Id: I3f436f742aff90d6610ad12f4b9bc096c2c18ea0
2018-07-30 23:45:19 +00:00
Ha Manh Dong
97aec93e2b Switch to use stestr for unit test
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.

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

Change-Id: I14ae3879465e622f36fd7bba3f04cb6e0cb7500e
2018-07-19 15:30:51 -04:00
huang.zhiping
d6f8cda665 Add 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: Ic4a3b28cb670c71fb205640a9a9338bbcf9bc9bf
2018-07-19 15:30:49 -04:00
Zane Bitter
bee7811c80 Modernise requirements
Conform to the PTI for docs builds, add lower-constraints jobs, and use
upper-constraints instead of synced global requirements constraints.

Change-Id: Iaf1b54b35d02dbb733c7782b178e4eb774c02ef6
2018-07-18 20:19:40 -04:00
Zane Bitter
e403f3e673 Move Zuul config into repo
Change-Id: I21109adbdbf9d90b2145d3829e62dcf73392fb6a
2018-07-18 19:56:56 -04:00
Zane Bitter
d04bb529dc Fix pep8 errors with later versions of hacking
We are stuck on a very old version of hacking (0.8). In order to move
forward, we need to fix a bunch of things that flake8 will complain about.

Change-Id: If40ac29094b90c5bae63e7423061a190655f50a3
2018-07-18 16:35:03 -04:00
Zane Bitter
c583cbf9b2 Python3: Don't use cmp() function
The built-in cmp() function has been removed in Python 3, so don't try to
use it.

Change-Id: Ic62b7032ec6fd555974fc0d818327879d53a8ff2
2018-07-18 16:33:41 -04:00
XiaojueGuan
eccdf10a93 Update links in README
Change the outdated links to the latest links in README

Change-Id: I5743757aedc3462575bac5b9c6e9cbd2b6453801
2018-06-12 16:49:22 +08:00
Dirk Mueller
f88f78b7f4 Remove discover from test-requirements
discover is only needed for Python 2.6.x or older.

Change-Id: Iea418fa2a7c826e157e96e1672d22b737c0669e1
2018-02-19 21:28:31 +01:00
ricolin
341d07e298 Add OpenStack doc support for heat cfntools
This allow build docs with new OpenStack doc format.

Change-Id: I4ed880ee5c03de40793ebdb4662cbaf3eeca12fa
2017-07-21 12:28:14 +08:00
Anh Tran
407f8a5b00 Remove white space between print ()
Change-Id: I8b95436dfcf3bfd65fa95557e34268c0e5072812
2017-01-17 10:25:27 +07:00
Flavio Percoco
afaf465ac5 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/d71e2eaf72170035e6d10135f9c04a02

Change-Id: Icb4f114e9408cd84e885aa51c3f1a9bfb54d7c52
2016-11-25 17:18:07 +01:00
Jenkins
e768825090 Merge "Replace 'MagicMock' with 'Mock'" 2016-09-23 03:44:46 +00:00
shizhihui
590b3fb996 Replace 'MagicMock' with 'Mock'
Change-Id: I24e87a1c341f63929f93d7306782e3e9d6b398fb
Partial-Bug: #1475722
2016-09-23 10:57:16 +08:00
shizhihui
f394343153 Drop unused directory in tox
The Oslo team has moved all previously incubated code from the
'openstack/oslo-incubator' repository into separate library
repositories and released those libraries to the Python Package,
so the directory should be removed.

Change-Id: I0ee30c36e87970bc1b1175230a1bffa27e0b3e09
2016-08-17 13:22:52 +08:00
Pablo Iranzo Gómez
c9f938b9d0
Fix typo
Change-Id: I15deb824a85aa561c2f2e7f4ea6b4b1ce96367f9
2016-06-29 17:42:09 +02:00
Swapnil Kulkarni (coolsvap)
5d62b178c3 Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I6e8df0e072448fbd4077c4e5d98b2986e9855489
Closes-Bug:#1508442
2016-03-11 13:09:24 +05:30