Commit Graph

8 Commits

Author SHA1 Message Date
Takashi Kajinami 9dcfe2fde1 Ignore base python conflict
... to avoid the failure in CI.

py38: 205 E failed with env name py38 conflicting with base python
python3 [tox/session/cmd/run/single.py:56]

Change-Id: I0b4a1f3087dc0dd27f4c05bd98088eaefab66b35
2024-01-09 14:18:19 +09:00
HeroicHitesh 70556d2bf4 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt files accordingly
* Use 3.18.0 as the minversion for tox

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I2bb0f23771e6ff1e3f775520a719514c2a3f3aa3
2021-05-21 20:17:31 +05:30
Andreas Jaeger f26534191e Cleanup docs building
a few cleanups:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Remove install_command from tox.ini, the default is fine
- Update pbr requirements
- Fix problems, mainly "Could not lex literal block"
- Use py38 job for Victoria cycle

Change-Id: Id706786bed4b20682704d524986850b7c71e225d
2020-06-04 10:15:51 +02:00
Ghanshyam Mann 74ab95431c [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

specs repo either has py27 job or requirement or tox env.

Doc building still use deprcated oslosphinx and incompatible
version of yasfb which lead to error-

sphinx.errors.ExtensionError: Could not import extension yasfb (exception: cannot import name 'logging')

This commit replace oslosphinx with openstackdocstheme ti fix the error.

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

Change-Id: I76a9e0e3259ec52564f31a239079cd91da897ee9
2019-12-17 18:41:24 +00:00
98k 064b35fa4e 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: I15775f36d0fbba05c5493037b389f7dc363a049e
2018-10-08 07:42:20 +00:00
Doug Hellmann db9631b5bd 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: I389b8c3ba61b70ead1b0ef91ed5e6e3ce49d0765
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:52:16 -04:00
Sirushti Murugesan 29e22e45c5 Add some tests to validate specs
Tests were added to
- Compare titles with the skeleton template.rst.
- Detect trailing whitespaces
- Check lines are limited to a maximum of 79 characters.
- Detect literal carriage returns

Note: Taken from nova-specs/tests/test_titles.py and modified for
Heat.

Change-Id: Ib8bc85c086cbf37ec79b787c07657b9ffd7d17ac
2015-04-21 16:05:03 +05:30
Monty Taylor 199101dec8 Added cookiecutter specs framework
Change-Id: Ie4bd91b46319531092fb45172648c6f2d767f4d3
2014-05-27 12:47:57 -07:00