* Update heat-cfntools from branch 'master'
to 8d2a16958bd4542382810630a22583a24f9ba2eb
- 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
* Update heat-cfntools from branch 'master'
to 52eb90c900dcc54eb7e02286a8eacd4da325b620
- Show coverage report
... for easy reference. Also fix the missing coverage library.
Change-Id: I895c1372a17f708a1fb11198fe2f3461f4854f53
* Update heat-cfntools from branch 'master'
to 61021154d99c7028f5df0ed41585ffb90f95bd83
- Bump hacking
hacking 3.0.x is too old.
Change-Id: I079657dc7f0a837c4579b061ed861074eafc0e54
* Update heat-cfntools from branch 'master'
to 8d1756b757c25cb8296fb41dd353f4e650836423
- Merge "Remove old notes"
- 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
* Update heat-cfntools from branch 'master'
to 41d1d26ce23576f35d56e895546ddecd9d5d28ac
- Merge "Remove six"
- Remove six
Python 2 is no longer supported, thus usage of six can be removed.
Change-Id: I8abf879e304b7b38754242272ecd105a302a0c5f
* Update heat-cfntools from branch 'master'
to 621438396c27c931d1d4d74a17a6a63406fefb94
- 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
* Update heat-cfntools from branch 'master'
to bc88eae1d2468344c7df6087bc5edc39106b5c39
- 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
* Update heat-cfntools from branch 'master'
to 2b6b0969140621c4e9e23d971d80b6839ca7789e
- Merge "setup.cfg: Replace dashes by underscores"
- 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
* Update heat-cfntools from branch 'master'
to b00fb1ed7c37ff90b251a136aec36cb56d7596ba
- Merge "doc: Comment out language option"
- doc: Comment out language option
The previous commit 8f784480a30570a46f0fbea18ce4368da353aa83 hard-coded
the language option to the default value ('en') but it is not required
unless the option is explicitly defined.
Change-Id: Ic2b9b44409859e791ff341ba34a0a036839e3728
* Update heat-cfntools from branch 'master'
to babea4661acdfc6dd83f369557a1046f67b15ced
- Merge "Use TOX_CONSTRAINTS_FILE"
- 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
* Update heat-cfntools from branch 'master'
to 8f784480a30570a46f0fbea18ce4368da353aa83
- 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
* Update heat-cfntools from branch 'master'
to ce3f97cecdf4e932cafdffae8f13d07756aed2db
- [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
* Update heat-cfntools from branch 'master'
- Merge "Mark support for py38"
- 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
* Update heat-cfntools from branch 'master'
- Merge "update source link in readme"
- update source link in readme
Change-Id: I008f3c5a8d6a67b2f1b4c299f0d55b49613d5680
* Update heat-cfntools from branch 'master'
- 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>
* Update heat-cfntools from branch 'master'
- Merge "Remove publish-to-pypi template"
- 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
* Update heat-cfntools from branch 'master'
- 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>
* Update heat-cfntools from branch 'master'
- Merge "Switch to newer openstackdocstheme version"
- 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
* Update heat-cfntools from branch 'master'
- 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
* Update heat-cfntools from branch 'master'
- Merge "Delete pylint tox environment"
- 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
* Update heat-cfntools from branch 'master'
- Merge "Switch to Ussuri jobs"
- Switch to Ussuri jobs
Change-Id: Ie8cbd5bf55314d62fbd0ab7567570ca2c7376c39
* Update heat-cfntools from branch 'master'
- 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
- 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.htmlhttp://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.
* Update heat-cfntools from branch 'master'
- 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
* Update heat-cfntools from branch 'master'
- Merge "Update the bugs link to storyboard"
- Update the bugs link to storyboard
Change-Id: Ic878d46e4802c79f416f4e157b734a16f8b612b4
- 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
- Merge "fix bug link in readme"
- Migrate the link of bug report button to storyboard
Change-Id: I5b329f3233ce126fb25bff6c947aa8379b991d50
- 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
- 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
- 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
- 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
- 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
- Move Zuul config into repo
Change-Id: I21109adbdbf9d90b2145d3829e62dcf73392fb6a
- 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
- 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
- Update links in README
Change the outdated links to the latest links in README
Change-Id: I5743757aedc3462575bac5b9c6e9cbd2b6453801
* Update heat-cfntools from branch 'master'
- Remove discover from test-requirements
discover is only needed for Python 2.6.x or older.
Change-Id: Iea418fa2a7c826e157e96e1672d22b737c0669e1
Project: openstack/heat-cfntools 341d07e29882476fde8f8f1e075ada3bbae9611a
Add OpenStack doc support for heat cfntools
This allow build docs with new OpenStack doc format.
Change-Id: I4ed880ee5c03de40793ebdb4662cbaf3eeca12fa
Project: openstack/heat-cfntools 407f8a5b00e1ee8a92a7e05012a3677fa741103b
Remove white space between print ()
Change-Id: I8b95436dfcf3bfd65fa95557e34268c0e5072812
Project: openstack/heat-cfntools afaf465ac5d9d9f05aa57a0157d889f73917c864
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
Project: openstack/heat-cfntools f39434315344be461aae36f96ff8d12fce9ab037
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
Project: openstack/heat-cfntools 5d62b178c361953d983236ce86e7b6a61e961549
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
Project: openstack/heat-cfntools 7a604b2d5cb3468bedcdc91c858a8a29c5bbcd05
Changed logger init and added verbose arg handling
Initialized logger with default value of NOTSET.
Added if statement to handle verbose argument and set the logger to
DEBUG.
Change-Id: I997b8b964dade013db265d088d00ccfdd6ab030e
Closes-Bug: #1269465
Project: openstack/heat-cfntools 6c16d3768911b654c31aafefd96c7c630e81c476
remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.
Change-Id: I1f8cc2d5d25a2e00b7ad4d12b013b69695536ab8
Project: openstack/heat-cfntools fe2b57b563982193645b9dc91ecc09e519c7a71b
Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.
This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.
Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
Project: openstack/heat-cfntools 010c6482e23cc1f7896a42f09fd3396e85319e65
Replace assertEqual(None, *) with assertIsNone in tests
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Ic2dca04e7cdd4f837c42b39dd1ce37604c8f101b
Closes-bug: #1280522
Project: openstack/heat-cfntools 6a834206d940220f55babb0561d6c94bb7b3e46a
py26/py33 is no longer supported by Infra's CI
Python 2.6/3.3 support would be dropped by Infra team from mitaka,
CI would no longer be testing it, so projects should drop it too.
Change-Id: I13250170bd04d07b97990ed52a8c7a0c0f7e76c6
Closes-Bug: #1526170
Project: openstack/heat-cfntools 5684248e19e7fcac615b987771a6595eb6a0b29b
Put py34 first in the env order of tox
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.
Change-Id: Id0d2de40081a59d5819d2e6c52c98135f26808b5
Closes-bug: #1489059
Project: openstack/heat-cfntools 6571e5ab646f55ba9411f5a668c5224203a08707
Don't run commands given as list on shell
Commands from AWS::CloudFormation::Init, when supplied as list, should
be run with shell=False. Only when commands are given as string, they
are meant to be run on shell.
In principle, we are trying to give least access to the shell to avoid
any inadvertent shell injections.
Change-Id: I3dc6fe0c29a14f75be044846f737e1ade23a6d6b
Closes-Bug: 1498300
Project: openstack/heat-cfntools 5d5a2c1f221002586212299e3ba8799759d36af6
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: Ibb457fc16b64ead1acbf359531ecd79e624df8ab