Commit Graph

843 Commits

Author SHA1 Message Date
Takashi Kajinami 8d2a16958b Remove cfn-push-stats
This script can't be used in OpenStack since CloudWatch API was removed
from Heat multiple cycles ago[1].

[1] 6d55417f80384ead56e176beec9e2fc4eb162d61

Change-Id: I0ab73d3553b17485cc8fcf094377876226a4593d
2024-03-15 17:34:31 +09:00
Takashi Kajinami 52eb90c900 Show coverage report
... for easy reference. Also fix the missing coverage library.

Change-Id: I895c1372a17f708a1fb11198fe2f3461f4854f53
2024-02-07 12:33:35 +09:00
Takashi Kajinami 61021154d9 Bump hacking
hacking 3.0.x is too old.

Change-Id: I079657dc7f0a837c4579b061ed861074eafc0e54
2024-01-17 01:26:36 +09:00
Zuul 8d1756b757 Merge "Remove old notes" 2024-01-11 04:35:13 +00:00
Takashi Kajinami 856d8a59bf Remove old notes
The setup.py file is no longer maintained globally. Also the nodes
about the old pip's behavior is no longer true for recent versions.

Change-Id: I99c539da9020178d1b33446dfe6f1850445f5a3f
2024-01-08 23:49:16 +09:00
Takashi Kajinami af3bb2b85a Update supported python versions
Change-Id: I0bc81dd0dda517f8cec9598654aa05b24a2231c8
2023-12-21 13:03:49 +00:00
Zuul 41d1d26ce2 Merge "Remove six" 2023-12-20 13:11:45 +00:00
Zuul 667584657f Merge "remove unicode prefix from code" 2023-11-23 14:05:38 +00:00
niuke 621438396c Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I306c7c104a4e35e393c9ed9cdf62d8828ec49147
2023-07-31 13:49:44 +08:00
Takashi Kajinami e6cd3110cd Remove six
Python 2 is no longer supported, thus usage of six can be removed.

Change-Id: I8abf879e304b7b38754242272ecd105a302a0c5f
2023-07-20 11:15:39 +09:00
Zane Bitter bc88eae1d2 Stop using deprecated name for ConfigParser
The name SafeConfigParser has been deprecated since Python 3.2 and is
removed in Python 3.12.

Change-Id: Ifb1c0f525b7624a91e2cd44e1e86dee8d9f9c51d
2023-07-19 10:43:54 +12:00
Zuul 2b6b096914 Merge "setup.cfg: Replace dashes by underscores" 2023-03-28 05:18:52 +00:00
Zuul b00fb1ed7c Merge "doc: Comment out language option" 2022-08-16 06:30:42 +00:00
niuke a17ba3f886 remove unicode prefix from code
Change-Id: I334ba3b153c3a7ed5ca70ba50bf3df6b52c6449f
2022-08-13 08:32:41 +08:00
Zuul babea4661a Merge "Use TOX_CONSTRAINTS_FILE" 2022-08-09 05:46:00 +00:00
ljhuang 7c81d649fb Replace deprecated readfp method with read_file
The readfp method has been deprecated since version 3.2 [1].

[1] https://docs.python.org/3/library/configparser.html?highlight=deprecated#configparser.ConfigParser.readfp

Change-Id: Ib1aa6bba91e331f25c65a5905a89de306faa1d5a
2022-07-22 17:19:17 +08:00
Takashi Kajinami 992d994734 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Icc883498d6188f99dd02345880a2c7e7b36902c9
2022-06-22 03:16:10 +09:00
98k 53ea35f467 Update home-page
Change-Id: I587f619134ca20eab6f7a04de6e8fb63624429e8
2022-06-22 03:15:12 +09:00
zhangboye bcc9ebf8b7 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: Icf1d095143abe1c3f2165f262fb390c5becb535b
2022-06-22 03:03:13 +09:00
Takashi Kajinami e6e4c8111d doc: Comment out language option
The previous commit 8f784480a3 hard-coded
the language option to the default value ('en') but it is not required
unless the option is explicitly defined.

Change-Id: Ic2b9b44409859e791ff341ba34a0a036839e3728
2022-06-06 23:16:57 +09:00
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