Commit Graph

745 Commits

Author SHA1 Message Date
Zuul 44a1758130 Merge "reno: Update master for unmaintained/victoria" 2024-03-20 17:21:33 +00:00
Zuul 8c21ae3556 Merge "reno: Update master for unmaintained/wallaby" 2024-03-20 17:21:32 +00:00
OpenStack Release Bot 60e7f0c3ce reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ic92b3a419b5d23e742eebb8d581bac1c5f62aeb1
2024-03-19 10:26:07 +00:00
OpenStack Release Bot 41f48926bc reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I20997b4ce1b0d583b8152ef3e7706d80dca7b9e1
2024-03-19 10:25:28 +00:00
OpenStack Release Bot 44bc96865f reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I0d4d86019e2161996e11a80d0ed9cdbef55bd393
2024-03-19 10:24:49 +00:00
OpenStack Release Bot 41c8d404da 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: Icb98e4dfd8306c659c65aa8e1fd6c35d09947d92
2024-03-08 14:00:15 +00:00
OpenStack Release Bot ad96ea63ab reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I0e0e39dc8ef4eab865842ef6c41aee2f45075a86
2024-02-19 06:33:24 +00:00
Ghanshyam Mann 7b30851a92 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: Ifcbba34f432ffbeffb12ae99039de12af2933329
2024-01-05 03:48:33 +00:00
OpenStack Release Bot 7a722e1f6a 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: I165a10e238a231918842aabf363697c99381a5fe
2023-09-07 09:39:27 +00:00
niuke bc7e8e329e 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: I0c40b95142eec68a8744360397831c4298eb36b7
2023-08-03 15:23:50 +08:00
OpenStack Release Bot c11675d137 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: I360e8a463a4d9135db0061cc7c238aa54511780c
2023-02-24 15:13:51 +00:00
Ghanshyam Mann deaf2f4f81 Fix tox4 error
tox.ini started failing with Tox4 which had some
incompatible changes. One of them is due to the
skipsdist = True.

Fixing tox.ini for tox4 changes.

Additional changes:
* zuul: Declare queue at top level
* fix onflicting with base python error

Change-Id: I9f988e485c1c19eca41175e29fc09c1e28d38b06
2023-01-31 03:29:38 +00:00
OpenStack Release Bot 79619532fc Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: Ia11b348ee1f49de4fca61896acb60a850d9e1812
2022-09-14 09:15:55 +00:00
OpenStack Release Bot dae08448d9 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: Id19dd6bf88d8a5a724c9d5f7729c479405c62399
2022-09-09 15:14:22 +00:00
Ghanshyam Mann 415a54249b 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: I3f6d03ce43d5b7d3852d08f8ba91b8dd9023c744
2022-04-30 20:20:15 -05:00
OpenStack Release Bot 2bb7dfeb19 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: I15afc8d745e70da8b0b6b5f03c04bd6483d9d2b8
2022-03-15 18:14:48 +00:00
OpenStack Release Bot 361e9353f3 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: I5f8c4c7a6aa4acfffdf6eb470b04dc7918c799dd
2022-03-15 18:14:13 +00:00
Michał Dulko af5e340e8e Fixing lower constraints
Change-Id: I483bf934edf9cf9e5529463314cdd6b3fb886988
2022-03-14 11:28:26 +01:00
Zuul 5b38e84ef8 Merge "Changed minversion in tox to 3.18.0" 2021-09-16 04:47:31 +00:00
Zuul 90aa16be4d Merge "Add Python3 yoga unit tests" 2021-09-16 04:47:30 +00:00
Zuul 58a8dbbc0e Merge "Fix unit tests" 2021-09-16 04:47:29 +00:00
wu.shiming 37f97503a5 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 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: Iee16ef748ba15d7cb1d2bf3642fad57de30c8134
2021-09-15 11:16:25 +00:00
OpenStack Release Bot 24b0b1fde8 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: I0a223a0e70593f39346e6703ed1a0fbb6374243b
2021-09-15 11:15:45 +00:00
Michał Dulko 66d31e7d65 Fix unit tests
pyroute2 changed structure of the modules a bit and the unit tests were
assuming it. This commit makes sure tests work with new pyroute2.

Change-Id: I013f2750ca1371d3b4d5e2f618067cd9b70e76e4
2021-09-15 12:32:40 +02:00
OpenStack Release Bot 193590c4aa 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: I6eebb41f5f8f12eebe5b3d997d2802c3fa7598e1
2021-09-10 15:13:59 +00:00
Zuul 764de32607 Merge "setup.cfg: Replace dashes with underscores" 2021-05-12 10:43:19 +00:00
wu.shiming 0347de164e 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: Ie6843085f789c9c31fe3bacc741bc010b4920609
2021-05-12 09:43:59 +08:00
OpenStack Release Bot 77fedd22ce 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: I18487e0e3cc89a13f499743f75174848dd18baaf
2021-03-18 10:56:24 +00:00
OpenStack Release Bot 0425000fcd 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: I7c598e3747fb8e8bee41f8bc0a296a3294a55742
2021-03-18 10:56:17 +00:00
Zuul 2a035eb153 Merge "remove unicode from code" 2021-03-07 15:40:33 +00:00
wu.shiming 8ef17575c8 remove unicode from code
In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: I5f761b1d4bd04345bb339d251b8de95817a76cce
2021-03-04 10:33:52 +08:00
Zuul f973749816 Merge "Remove the unused coding style modules" 2020-12-19 13:04:54 +00:00
Zuul d36befada6 Merge "Remove run_as_root which fails without root_helper" 2020-12-04 01:36:37 +00:00
Andrew Bonney cdb9fe351d Remove run_as_root which fails without root_helper
It appears that this library is typically run as the root user
which shouldn't require 'run_as_root'. When running as an
unprivileged user the required permissions can be granted by
specifying 'AmbientCapabilities = CAP_NET_ADMIN' in the service,
rather than 'CapabilityBoundingSet'.

An alternative approach would be to specify a 'root_helper' or to
switch to oslo.privsep, but these don't fully solve the problem
as the 'pyroute2' library also requires 'CAP_NET_ADMIN'.

Closes-Bug: #1852105
Change-Id: I9d0942f1cfc06cc3a7585683a030516096297767
2020-12-01 08:32:18 +00:00
wu.shiming 9de711070e 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
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://review.opendev.org/#/c/722814/

Change-Id: I92c767de854b11672c17c95b2b6893259d4b4ead
2020-11-17 16:10:28 +08:00
Brian Haley f09977423b Add Python3 wallaby unit tests
Ensure unit testing is in place for all the of the tested
runtimes for wallaby.

Copied from an automatically generated patch in the neutron
repo, don't know why the release bot missed it here.

See also the PTI in governance [1].

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

Change-Id: I7b415b97caa0be9cfd33f8f43a79e8fcdabfd3b3
2020-10-28 16:10:53 -04:00
Zuul a1c5cf5bd9 Merge "Reuse the docs deps to benefit from constraints" 2020-10-12 02:05:25 +00:00
Zuul 9986b4a1a9 Merge "Fix a typo: remove the unnecessary blank from test-requirements.txt" 2020-10-09 16:06:23 +00:00
zhoulinhui 3dc5f5b558 Fix a typo: remove the unnecessary blank from test-requirements.txt
Change-Id: Ia24e5106fa897be90f66f3d3b73991d5c9c33376
2020-10-06 21:35:07 +08:00
zhoulinhui 9d1883001d Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes,
which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt

Depends-On: I89104a009ad9434e49c77afd32080b79412c467d
Change-Id: I5859198c90f63dd5c5d155c2a04130118960ce84
2020-10-06 21:25:33 +08:00
zhoulinhui 61ef41ebf1 Dep's should be restricted by upper-constraints
Tox trying to install latest versions for building docs which may
not be supported by stable and lower branches, so should be
restricted by respective version's upper-constraints.txt

Change-Id: I89104a009ad9434e49c77afd32080b79412c467d
2020-10-06 21:10:58 +08:00
Zuul daf530a13d Merge "Remove six" 2020-10-01 18:05:29 +00:00
xuanyandong e1edbc4661 Remove six
Change-Id: I9f6f057fde95f378071c25dba7f27ed3f3a4c27b
2020-09-30 17:01:51 +08:00
Zuul dcdc0955db Merge "bump py37 to py38 in tox.ini" 2020-09-30 08:19:55 +00:00
zhoulinhui 46b1e6edbc bump py37 to py38 in tox.ini
in W cycle, we should test py38 by default.

Change-Id: Icfb3d042ccb29b1879d77671d937c8df56f017e9
2020-09-29 22:35:06 +08:00
wu.shiming 78c31d3b7e 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
as they are not actually used in tests (other than pep8).

more info: https://github.com/openstack/requirements/blob/master/blacklist.txt

Change-Id: I817c9a6b4e61bc50340dbdabcdd91b1bfb8aa04a
2020-09-29 17:41:45 +08:00
wu.shiming e26113db16 Clean debug-py35 up from tox.ini
in the setup.cfg, there require python >= 3.6[1], so the debug-py35 should be removed

and in 'victoria' cycle , we should test py38 by default

Change-Id: Ie6ff51962da96c518c848a8213c3f4d3a44a80e3
2020-09-22 14:56:35 +08:00
Zuul d9f4b79160 Merge "Update master for stable/victoria" 2020-09-14 07:41:42 +00:00
Michał Dulko 2559722a72 Fix pep8 and lower-constraints gates
PEP8 needs upgrade of hacking version and lower-constraints require us
to start having stuff supporting Python 3.8 in lower-constraints.txt.
Both are fixed by this commit.

Change-Id: I1d0b244f98dbe2228edfcc0caae70b43013a18ad
2020-09-11 16:10:34 +02:00
OpenStack Release Bot d79ed3ddc9 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: Ia7f16de448fe1fedff600772c93a398e2ffa1f21
Sem-Ver: feature
2020-09-10 17:11:53 +00:00