* Update coverage2sql from branch 'master'
to 316035d7ecb55cb16472c47ababf8624df830760
- Merge "Update python testing as per zed cycle teting runtime"
- Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: Ie3c38ca062b2bce644d11c48403c9c77ca0de9a1
* Update coverage2sql from branch 'master'
to 625bddff526c2bdd3c56307859ebcfa534d05820
- Fix formattiing of release list
Change-Id: Ie0e0df49b442aac9271b31467c2d19eaf2c465f7
* Update coverage2sql from branch 'master'
to dfbac15677fdaa4f8ca2c02ce099abbdc0f69287
- Add openstack-tox-py310 job as nv
Let's test against py3.10 to prepare and to make sure the project
is compatible with py3.10.
Change-Id: Ie259e3c1f1324d42dc6fda1a7db80dbab2f19105
* Update coverage2sql from branch 'master'
to 142a34e3f66e408c2ca6a1e9f4c44c5f660fb489
- 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: I72a05b539b87cceae35ab479eb4441e3f2690287
* Update coverage2sql from branch 'master'
to 169c4a9c5213433cb3e5e0231df0bac9f00b7db4
- Test python3.9 as voting job
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.
Also, as coverage2sql is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.
Change-Id: Ieb7cf6334a6deedfd9d72f348d1cbc1cd100b054
* Update coverage2sql from branch 'master'
to 2f65fd868e692df58d027638ef7da2cb6cf282bd
- Merge "setup.cfg: Replace dashes with underscores"
- setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
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: Id582b9d916081d11edfc1928f87742df5d54888f
* Update coverage2sql from branch 'master'
to 5f066f5c460f2a6abde6d31b1faaef45806e27b1
- Merge "Changed minversion in tox to 3.18.0"
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: Ie0d1d3964043e6dd518f3b7020f58f4f3b2de76c
* Update coverage2sql from branch 'master'
to 93876369f3cd42309ec5372ddf1fc8b65dcc30b9
- remove unicode from code
Change-Id: I73b98a49229da9107203b11c7fefd3c59481a9b6
* Update coverage2sql from branch 'master'
to 82ed0f3ba030a4bb88ccc75fb5e4c8c1b6db2e03
- remove unicode from code
Change-Id: Ib37849cbcedc697bf15c84b726e05378ab1aed43
* Update coverage2sql from branch 'master'
- [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1885825
Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
Story: #2007865
Task: #40212
Closes-Bug: #1885825
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>
Change-Id: I7feffa300fea7d86749143aae5fb547beb54406d
* Update coverage2sql from branch 'master'
- Switch testing to Victoria testing runtime
Upating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html
Change-Id: Id8c5862b59188f2607c45392fa3b01b681825488
* Update coverage2sql 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: I4869426a4c39071a9e6d60c02ed13f8e5bb72536
* Update coverage2sql from branch 'master'
- Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Set openstackdocs_auto_name to use 'project' as name.
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.
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.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I628af06b3702925bef790b3b3d1c47c2d7c7cbb0
* Update coverage2sql 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.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I76d48e28a9c0a987acde2bb8262fc02aded302ef
* Update coverage2sql from branch 'master'
- Fix typo in contributor guide
There are few typo in contributor guide which were
added recently.
Change-Id: I0c140c0afdd506c20ac109be893c7d50b1eda494
* Update coverage2sql from branch 'master'
- Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
Change-Id: Ib70fcdc751a1e84d3160558361a76bbd328f4625
* Update coverage2sql from branch 'master'
- Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.
Change-Id: I8297a152273c5accda885df64ccedd247994076c
* Update coverage2sql from branch 'master'
- Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
fix issues found by flake8.
Change-Id: I2f14cb6f67a0c9b4c0dcbf8d93c26eb99b9b9d33
* Update coverage2sql from branch 'master'
- Add PDF documentation build
This commit adds PDF documentation build target 'pdf-docs' that will
build PDF versions of our docs. And this commit also updates 'docs'
target to use sphinx-build command as well as 'pdf-docs' target.
This is one of the Train community goals:
https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html
Change-Id: Iae6bc9ae92fe61385c424923eaad35dc449880e9
Story: #2006070
Task: #35455
* Update coverage2sql 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: I41cbb002ac07dde1380c1edc6b05495aac67f04a
Story: #2005924
Task: #34240
* Update coverage2sql from branch 'master'
- Fix gate error "mysqladmin: command not found"
mysqladmin package is required in tools/test-setup.sh
so adding bindep.txt file for this binary dependencies
- http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html
Change-Id: I6e624fe1b99a6257147deb694e0da87590e4102e
* Update coverage2sql from branch 'master'
- Update and fix docs conf.py
This commit updates and fixes the conf.py of documentation.
Change-Id: I23dbefa2a91417f5b2ce9b854dbfe4ab623aa6aa
* Update coverage2sql from branch 'master'
- Merge "Update envlist and classifier"
- Update envlist and classifier
This commit updates envlist in tox.ini and adds Python3.7 in classifier.
We should have py37 instead of pypy.
Change-Id: I2f7a6b7eb8099cfd34f0fe84bb01f23c115c9dda
* Update coverage2sql from branch 'master'
- Merge "Add openstack-python37-jobs"
- Add openstack-python37-jobs
This commit adds openstack-python37-jobs to ensure it. It should work on
the environment as well.
Change-Id: Ie08aaf10707c275e301d0c79c22853e8b7ba2a2c
* Update coverage2sql from branch 'master'
- Separate requirements for documents tox job
This commit separates the requirements libraries for the docs job in
tox.ini. The latest sphinx doesn't work in Python2 environments anymore.
So, we need to split that into the test and docs jobs.
Change-Id: I7255cd9af0dfb5c1f66c1aa65d0ddfb144079836
* Update coverage2sql from branch 'master'
- Merge "Introduce doc8"
- Introduce doc8
This commit introduces doc8 package to sanity the documents. As a
result, one minor doc8 violations were found and fixed.
Change-Id: I0e9d6212536e59e438a14f632c4fc6016c31cc60
* Update coverage2sql from branch 'master'
- Merge "Add metadata column to coverage table"
- Add metadata column to coverage table
This commit adds metadata column to the coverage table. This should be
useful to filter results in the future.
Change-Id: I224d340b70ddd2c3cf7923f517281020470a9e45
* Update coverage2sql from branch 'master'
- Merge "Add usage to README.rst and usage document"
- Add usage to README.rst and usage document
This commit adds an example usage to README.rst and usage document
for convenience.
Change-Id: Id1d6e58eea5f6f70568a1716f19add4d531f4ab1
* Update coverage2sql from branch 'master'
- Merge "Ignore *.db file from git repo"
- Ignore *.db file from git repo
This commit add *.db to .gitignore to ignore the files for testing. We
don't need to track such files.
Change-Id: If2cdc7169453c46324d0f6e100448b07b9ffd68c
* Update coverage2sql from branch 'master'
- Merge "fix tox python3 overrides"
- 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: I22f6e478534a5fd90af565812dc81a0fac2f2132
* Update coverage2sql from branch 'master'
- Merge "Removed older version of python3.4"
- Removed older version of python3.4
Change-Id: I1c594041c393ef7b05fcee23d98828d46030ec92