skipsdist=True breaks extension loading by stevedore since tox 4. This
removes the option to fix the unit tests.
Change-Id: Id6853987caf999972e0597905619f364c20a636a
Since tox 3.18.0, the whitelist_externals option has been deprecated in
favor of the new allow_list_externals option[1].
This change bumps the minversion of tox so that we can replace
the deprecated option.
[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I287ce309adf5a02e9eac3a285666c23f4eeb9d36
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: I19e5c51f5ffa30a1257a9cc2d0b43dd35de79d5a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Ie594fc55eb54d48d96157e31a319f0ff97afc9be
Closes-Bug: #1801691
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I6ee01703bd4c432211f0d6e2f3501c989523ae11
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: I7079a92f972f5cb21e0d2077dd029701930a3590
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: Ia20d2ef56af2da00b374b3a3e5d79d7228c6a763
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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.
Update PrettyTable dependency so the tests pass.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I59c771ca583fb0ebc9f39314ee68264410f8a173
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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: I84cee5a9a728b9d6dc7909ac28a60b9c20c2348c
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: I815f189258356cb911d1e232b6f53c864e53c602
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: I3a2fc7779fa0c806827d9eda2ffdbc207788b22d
The current coverage test job doesn't provide any result
to developer, we could enable the coverage report in
console output to let the developers know the current
coverage status when run coverage test job.
Change-Id: Icef8c3b42f087a20c48b5308185f6be8c8f5240d
This is the last patch in the series that removes all remaining
oslo-incubator modules. This also removes some unused scripts
in tools.
Change-Id: I4ca11596f1a2967e7c920c4ec7709c3408854534
Graduate from Oslo Incubator to oslo.i18n library.
Cleanup of unused Oslo Incubator utils.
Added optional enable_lazy() usage.
Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I3b8b68c4ec4904d1aee150e6158f9ff29c68ff7a
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.
This basically renames
python-heatclient/locale/python-heatclient.pot to
heatclient/locale/heatclient.pot. For this we need to update
setup.cfg.
The domain name is already correct in i18n.py.
The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.
Remove test for valid translation files in tox.ini since there are now
no more pot files - and the test fails if there are no files at all.
Change-Id: I6f5e77b9cd633f6edb503ff225ca0b507153946c
Once we add debug testenv, we can use "tox -e debug -- --debug"
to debug test cases when tox is running.
Change-Id: I3b7a090042e95ac89d6829495bf42f84e11bbd21
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Closes-Bug: 1519510
Change-Id: I680043c48c75a50b3ef8eed4f22e97dca029c477
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
Change-Id: I9b0e7afeeb934d24c9847573cd7582709e990c9e
Closes-Bug: #1368661
Also, change order of envs in default tox run to avoid some errors
when running tox for the first time on fresh clone:
- run pypy first to avoid "No module _bsddb" error
- run py34 before py2x to avoid LP bug #1489059
Change-Id: I777c55077edb5d4f09518acf35366af97de3943f
Closes-Bug: #1492123
- Add separate testenv for functional tests
- Copy Heat templates and tests from tempest
- Add requirements tempest-lib
- Add base class to functional tests
Partial-Bug: #1446442
Change-Id: I254be9b25f248d59392507841dad44e1ef1c68e3
Any new failing rules have just been added to ignore for now, so
that the gate can be unblocked quickly, although future changes
which un-ignore those rules would be welcome.
Change-Id: I5861ab178ae8bf4861c93941c33b551b7f90e835