Commit Graph

352 Commits

Author SHA1 Message Date
OpenStack Release Bot 5bec5fbd54 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I9ae1bf080c24c7b80760511ae6400fe3ecceb325
2024-03-08 13:55:46 +00:00
Zuul 873cbd914c Merge "reno: Update master for unmaintained/xena" 2024-03-06 12:49:35 +00:00
Zuul 8ca43527d8 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 12:45:18 +00:00
OpenStack Release Bot b71c184dce reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I1e7e6f551993a7ff8ebc684b46874200cb37f94c
2024-03-06 11:52:16 +00:00
OpenStack Release Bot 60654d77cd reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I604bdccd5c6d11d455942991dc4085e3fbba68c3
2024-03-06 11:51:44 +00:00
OpenStack Release Bot bd8a5c35b9 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I4aadb96ae4947f032a0108dcf5a9f2eead6276f0
2024-03-06 11:51:12 +00:00
OpenStack Release Bot f1c8eeb347 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Iffb3ff1fc9b6c5140f4763a55df675b178990f8d
2024-02-19 12:25:04 +00:00
Ghanshyam Mann 5c3453182e Test python 3.11
As per the current release tested runtime, we
need to test python 3.8 to python 3.11 so using the
generic python testing template which run the python
versions jobs as per the current release runtime.

Also, updating the same in python classifier in setup.cfg

Change-Id: I3d8ed2c9cf31d3e02ae6489097229e69b3169c7a
2024-01-09 19:22:09 -08:00
Zuul 430cca9f88 Merge "Add oslo.log as runtime requirement" 2023-09-08 07:27:06 +00:00
OpenStack Release Bot f248fadcbd Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I9c283ead0d223fd7dd66c656ac05170943a97754
2023-09-07 09:39:42 +00:00
Alfredo Moralejo 481c3051fb Add oslo.log as runtime requirement
it is actually imported in the code so it should be in requirements.txt

cf150d2b96/vitrageclient/auth.py (L19)
cf150d2b96/vitrageclient/v1/cli/template.py (L20)

I'm setting minimal version the oslo.log version of wallaby as i see no
relevant changes in vitrageclient since then at least.

Change-Id: I206aadafa5caa4733b92e57c37824b30407de6a7
2023-07-21 10:38:24 +02:00
OpenStack Release Bot cf150d2b96 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I02eb0a6c7cc3956c3a0170f7f11f190204124f87
2023-02-21 14:49:39 +00:00
Eyal b6db5313e5 Fix tox 4 changes
Change-Id: I313fd8f23479dc465bd1c5ac9eb28216395c49e0
2023-02-16 19:50:14 +00:00
OpenStack Release Bot 4a00de041e Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I5a485197c7b82b48fc85d3e5847b941aab5a11e0
2022-09-06 13:12:43 +00:00
OpenStack Release Bot 6b4ce352d8 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: Iee3855177e1fff4d7787da6581f1fc4444c9b6b0
2022-09-06 13:12:41 +00:00
Elod Illes 716be84983 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I033a3b5a98848fc9b6a3ae3a439a272762b6dae1
2022-08-08 16:09:51 +00:00
Ghanshyam Mann e26a7d2b15 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

Change-Id: I649b222bef9d4ac3ab505ec483194f7043b40044
2022-05-01 13:03:19 -05:00
OpenStack Release Bot dcbf0baa1b Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I4c8204ebb746ff7d731af169fc59e0b97a3ccd8d
2022-03-03 10:33:42 +00:00
OpenStack Release Bot cb9d0ee604 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia8142e7a941edd107665e4cf2ed8a5d011074248
2021-09-10 15:18:14 +00:00
OpenStack Release Bot 1a8dce962b Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: Ie9dcccdd14263a8528368c74f0b0df6d4c509d6a
2021-09-10 15:18:12 +00:00
maaoyu bc829d3903 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: I58a32ecca73fa55efdd05a85fea26723911fca51
2021-05-04 10:30:43 +08:00
Zuul b6e7be9c8b Merge "Follow-up patch for fixing coverage issue" 2021-04-28 13:50:34 +00:00
HeroicHitesh 096b484a7c Follow-up patch for fixing coverage issue
Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ief1c7eb6b3f3d28e9321280718df59eebaca786f
2021-04-27 09:54:51 +05:30
zhangboye 77bcc1bb2c 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: I0d8cbd5417638defb99b1c44153529c9b787c70f
2021-04-20 15:21:44 +08:00
HeroicHitesh 63610f006e Migrate from testr to stestr
Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ia92a4bea657df6b6a1f236297b3bb1ce6d5dfc94
2021-04-19 17:21:03 +05:30
OpenStack Release Bot e70ec02142 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I65442108f0ab8a32ba981cc6abc9a622b7199e56
2021-03-18 10:24:50 +00:00
OpenStack Release Bot 3611f26746 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I9cfa81e88306c0d5c2f1ba42a48fe871a2bc7bb2
2021-03-18 10:24:25 +00:00
wangzihao 8293be5fed Revert "remove py37"
This reverts commit 764e430830.

Reason of revert :Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8) [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019648.html

Change-Id: I1984fe34be137de7c1e6a96f2fd8e8f1d9e35a31
2021-01-14 14:19:52 +08:00
XinxinShen 764e430830 remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

[1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: I998b46c719c266b75176da904cbc8da2ad60e663
2021-01-03 17:14:28 +08:00
Q.hongtao 7dbc1e89e2 Remove unicode from client
Change-Id: If0ac1d13a7958edb1389c1f76abce47016e50845
2021-01-03 06:49:56 +00:00
Eyal 3b976540d9 Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: I3734e725abb56ab4515cf1d958ae33386333ef67
2020-11-17 14:22:05 +02:00
wu.chunyang d753e05f32 Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
they are not needed during installation.

Change-Id: I599f1ab8d4a22f68fb50684b8e5eebc5f596d5d3
2020-10-21 23:28:41 +08:00
Q.hongtao f4f7ed012a Remove six
The Python 2.7 Support has been dropped since Ussuri.
So remove hacking rules for compatibility between python 2 and 3.

Change-Id: I5f0980bf56c8f7b8f9e7f75c7641443e0354e3c1
2020-09-19 12:13:02 +08:00
wu.shiming 68cd2decf1 Remove install unnecessary packages
The docs  requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: I437ad6c4c96ef1ac3e11757e3ae2e4a5a04e500b
2020-09-15 09:54:06 +08:00
OpenStack Release Bot ec82132461 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8582e0da1823f7b8f9c36afbd78d022673f28bff
2020-09-09 15:57:33 +00:00
OpenStack Release Bot 31b7386234 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I0c5a81d6c95fa6437ac739e048a3983c27ab71c7
Sem-Ver: feature
2020-09-09 15:57:31 +00:00
melissaml b863680806 Fix pygments style
New theme of docs respects pygments_style.

more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I079d1fbffc91e3d8c23a1de03634a3238c579a6f
2020-06-23 15:45:20 +08:00
melissaml 17fcaf06f5 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I54aebb7d370f651642f40a69c27e6776d6093f1d
2020-06-23 11:05:01 +08:00
Hervé Beraud ec052afe98 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I2ba585868b451091365b17d1f230ab505e03f4ad
2020-06-09 12:05:48 +02:00
Hervé Beraud ae40b5560f Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I7cc35696d770e1bf9e87310e5a081e1abe719522
2020-06-02 20:54:24 +02:00
Andreas Jaeger a034ce54c2 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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-Id: I8de23470cda92374f7b6df89548bbbe23570805f
2020-05-19 08:05:16 +02:00
Ghanshyam Mann 5b1465bd89 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: I064a585db868c6a4d19c4a88b686a63c81c8acaf
2020-05-12 21:32:20 -05:00
Sean McGinnis 30e83fb473
Bump default tox env from py37 to py38
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: I68ded089d6a1cf9439eb2f35c8482e68d2030360
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:59 -05:00
Sean McGinnis ff0321c675
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I98566be10eec15ca3eaf795fb3717ac87f86632d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:19 -05:00
Sean McGinnis 993563f610
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: I564357caf5982a0db9be01c77e9e8c42bee932d6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:59:50 -05:00
OpenStack Release Bot ab33eab159 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I0151b5d637b91c22916ad9cc6afa0d2235550308
2020-04-11 18:49:03 +00:00
OpenStack Release Bot 00c11da70c Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ife0ff8804f857c01387833fdb6c8f66c32e5a426
Sem-Ver: feature
2020-04-11 18:49:00 +00:00
Andreas Jaeger 218d0c5234 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I266b56f998f092d14d6ccbec1365dc42568ffdd5
2020-04-04 17:21:22 +02:00
Q.hongtao 102acafefe Fix requirements
Change-Id: Iadaf460c1d6068a106cd1c292c47205af3f71dab
2020-01-14 09:22:29 +00:00
Eyal 715b7c2683 Update hacking and fix warning
Change-Id: I10a988cccda87c6948fbc44169da13da9ecdbbb5
2020-01-07 15:17:09 +02:00