801 Commits

Author SHA1 Message Date
Zuul
81ffcbc4a2 Merge "setup.cfg: Replace dashes by underscores" 2025-03-26 10:06:56 +00:00
Alfredo Moralejo
b8cc64d911 Replace options contining dashes from setup.cfg
Since v78.0.0, setuptools no longer accepts options containing
uppercase or dash characters in setup.cfg [1].

[1] https://github.com/pypa/setuptools/blob/main/NEWS.rst#v7800

Related-Bug: #2104030
Change-Id: I76b82f038f3a9be6dac913eb99cdfd660e2b7a64
2025-03-24 17:37:17 +01:00
c306776589 Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: Icdf53e0fa43dfc5459dcf9b178c19b981549dbfc
2025-03-07 14:29:45 +00:00
Arnaud M
c055eb159f Skip installation to speed up pep8
Change-Id: I9405b5abab74d007d6fb05f28f9f38c56155a04b
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
5.4.0
2025-02-15 16:48:46 +01:00
Takashi Kajinami
cfcce178f1 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  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: I2d1e9c87c87071716aada93fc4c1e93ed3880ca9
2025-01-10 22:41:29 +09:00
083845e459 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I3f8b77a249a6a6bc7aed41a6e41171b680e627a7
2024-12-05 12:47:12 +00:00
Zuul
3dd685012a Merge "Drop lower-constraints.txt and its testing" 2024-11-19 08:33:24 +00:00
Zuul
9a2431b315 Merge "Add note about requirements lower bounds" 2024-11-19 07:41:29 +00:00
Ghanshyam Mann
70459e8978 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: I40ffde841e3187c2b42d54bdee06328341b5c648
2024-11-19 08:08:59 +01:00
Takashi Kajinami
36e6df48ec Add note about requirements lower bounds
Since lower constraints job was removed the bounds are not actually
tested. Add a note to explain the bounds are maintained on best effort
basis.

Change-Id: Ic3dbfe71b490ef86eb2f854d0a24e61c8f10395c
2024-11-19 14:42:56 +09:00
Zuul
740d01dd5d Merge "Remove untested lower-constraints.txt" 2024-11-01 13:56:25 +00:00
Zuul
334f5e8487 Merge "Get rid of pkg_resources" 2024-11-01 13:56:24 +00:00
wu.shiming
1bd5f839d1 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: Ic1e7a52cd6f4bd222a330a33160391b0d9438c81
2024-10-06 12:20:50 +02:00
Takashi Kajinami
cbae96f923 Get rid of pkg_resources
... because it was removed in Python 3.12 [1].

[1] https://docs.python.org/3/whatsnew/3.12.html#ensurepip

Change-Id: I7b1d39e1d597e39ce1186b8775d49315373db134
2024-10-03 22:25:09 +09:00
Zuul
f327bfd773 Merge "reno: Update master for unmaintained/victoria" 2024-09-30 07:20:39 +00:00
Zuul
5d109c3a41 Merge "reno: Update master for unmaintained/wallaby" 2024-09-30 07:20:37 +00:00
Zuul
20b604ceeb Merge "reno: Update master for unmaintained/yoga" 2024-09-30 07:20:36 +00:00
Zuul
975d719ff4 Merge "Update python classifier in setup.cfg" 2024-09-30 07:20:35 +00:00
Zuul
4c3b6aceaa Merge "reno: Update master for unmaintained/zed" 2024-09-30 06:53:36 +00:00
Zuul
76aaab79b3 Merge "Update master for stable/2023.2" 2024-09-23 08:19:08 +00:00
Zuul
8afcb3e32c Merge "Update master for stable/2023.1" 2024-09-23 08:19:07 +00:00
Zuul
94e6f605c2 Merge "Bump hacking" 2024-09-23 07:43:49 +00:00
8770bce5f0 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: I487cbced1792ed8311b7f1e8843e194941148470
2024-09-23 15:59:08 +09:00
5789ee32c5 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: I3c595f87bf7c89097d54a3e34770c82605bf4532
2024-09-23 15:58:37 +09:00
57b115be62 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: I1be2880c02cce88713a82d4b069405d96d472c0b
2024-09-06 13:19:06 +00:00
62fce63fbc reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I8ef4278175ab242cf606610629c1b86292684040
2024-05-08 12:27:51 +00:00
Ghanshyam Mann
4d97389340 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.9 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I7cfdab92e3504fa879f2319769c452eebab9d676
2024-05-01 17:43:45 +00:00
Takashi Kajinami
600b8bdb83 Remove untested lower-constraints.txt
The lower constraints job was already removed[1] and the file content
is no longer tested.

[1] 63e20bff29f1765b3953e0165ebd8a7aab0b6a87

Change-Id: If0a9e8e11120fd9a0b8c11261016f0e17af0acf9
2024-04-05 18:04:27 +09:00
01d81ef0bd reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Iee5d1b7c3eaef8659a1d57187b27a0a7fbfa4fb4
2024-03-26 17:53:11 +00:00
9d070b15aa reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I4cabe914b812683ac23df5faa4fb8f01eb621088
2024-03-26 17:51:41 +00:00
926301e46b 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: I4abf57bba944724ec370d9d62a677587edc25190
5.3.0
2024-03-21 10:04:48 +00:00
ace270c756 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I8c9471e933a4233eb62a6e588e1d4008b823604b
2024-02-23 12:20:24 +00:00
Takashi Kajinami
7ed3087217 Bump hacking
hacking 3.0.x is too old.

Also remove the note about pip's behavior which was already fixed in
recent versions.

Change-Id: Ib7f548e8521d741e2392da8e51b94ed2ede2e4e7
2024-02-19 02:16:47 +09:00
Ghanshyam Mann
b94abb44d9 Fix tox4 error and use python >=3.8
tox.ini started failing with tox4 which had some
incompatible changes. One of them is to allow
external command to run by adding them into allowlist_externals
and make passenv in new lines.

Fixing tox.ini for tox4 changes.

Minimal python version is now 3.8

Other minor fixes:
* Use devstack-alt-member in tests instead of devstack-alt, as
  the later is having admin role now.
* Fix some of the functional tests not working anymore with the
  latest mistral changes.
* Removing standard actions tests as they are not standard anymore (they
  are in mistral-extra)

Change-Id: Ic0620135c286855dd4befb52eb55522b605eb863
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
5.0.0 5.1.0 5.2.0
2023-01-20 01:02:46 +01:00
b1e94317ad 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: I81c50e407ea8a742efc3a0999fd989c8d0c82be6
2022-09-23 16:27:17 +00:00
8b9f313e3b 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: I1d2680785ace0ba50ec17de3e37ea304edcb06bc
4.5.0 zed-eom zed-eol
2022-03-04 17:18:38 +00:00
Zuul
608ec45cef Merge "Allow enforcing usage of "raw" definitions" 4.3.0 4.4.0 xena-em xena-eom 2021-08-04 00:31:41 +00:00
Takashi Kajinami
ab54cb9ae5 Allow enforcing usage of "raw" definitions
Since the chage 72a6bc1ad1461e20b8ccc7ef41898dd13067c6dc was merged,
mistralclient tries to determine if the value passed in is a definition
file path name or file URI, or the actual definition.
However this behavior causes problem when the client is used in server
side and results in allowing access to server files or any contents
in internal servers.

This change introduces the new enforce_raw_definitions variable to
disable that fallback behavior and ensure that client treats input
as raw contents.

Related-Bug: #1931558
Change-Id: I47931bdf8bbccb940d4c98c47f16a6eef27c026a
2021-07-16 01:02:19 +09:00
Zuul
609f4f48a9 Merge "[community goal] Update contributor documentation" 2021-07-15 04:28:26 +00:00
Ghanshyam Mann
ffa67c1e64 [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38537
Change-Id: I01c5a3a5def5baa215413cea25fc5fda41fea2b6
2021-05-31 20:33:28 +00:00
James Slagle
18fff747b5 Remove tripleo job from mistralclient
TripleO no longer depends on Mistral for deployment as of Wallaby. We
can remove the TripleO CI coverage for mistralclient.

Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: Ia31f9dbf540e6a8aea35fdfd0bd0bbad166127e3
2021-05-06 11:34:56 -04:00
zhangboye
dba9c08593 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: Iad3d93fdd779704e1cd99ff947994a32ba9240d1
2021-04-20 16:05:23 +08:00
87e3a7bd2c 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: I84a6e2ced7031b54cbbea0ffcd82961bc3ce3383
2021-03-19 18:09:42 +00:00
f1e217ab93 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: I5281b365b0316291f92d70d50f75c29ed00af9ba
2021-03-19 18:09:38 +00:00
wu.shiming
63e20bff29 Drop lower-constraints job
Lower-constraints is not a requirement of the OpenStack Python PTI
[0] and there currently is a discussion on the mailing list [1]
about dropping the test, with the oslo team already having done
so [2].

The new dependency resolver in pip fails due to incompatible
dependency versions in our lower-constraints file, meaning that
we were never providing any real guarantees with it.

To unblock the CI, I am disabling lower-constraints job for now,
with the option to reenable it in case we fix the constraints,
and based on the outcome of the mailing list discussions and
consensus.

[0]. https://governance.openstack.org/tc/reference/pti/python.html
[1]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019672.html
[2]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019659.html

Change-Id: Icb16bad2fc18abe1d9a783d25e844a8c02a3f321
2021-01-15 17:18:48 +08:00
zhangboye
20a10f0fb5 remove unicode from code
Change-Id: Iaaf58b009ea6abea1e7fb32cd87c6aac6e18ac85
wallaby-em 4.2.0
2021-01-03 17:07:20 +08:00
wu.shiming
0b2fa40318 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>.

Change-Id: I0912f7a3007b9b870712fdb74679008de9984328
2020-12-10 06:45:47 +00:00
Renat Akhmerov
577308f785 Add unit tests for dynamic actions CLI commands
Change-Id: Ibb53ce70d425497ed45d478b03cfe4aaef13ce00
2020-12-09 15:26:56 +07:00
Renat Akhmerov
d82a040de1 Add unit tests for code sources CLI commands
Change-Id: Ie0bf4c056291631d4b5e12910cbc1bbb918d4ad2
2020-12-09 15:26:56 +07:00
Renat Akhmerov
fc6f779b26 Add support for code sources and dynamic actions
* Adjust low-constraints.txt to fix more rigorous dependency check
  introduced in pip 20.3.0
  (http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019285.html)

Depends-On: Ib5a53f1f1a185f0395ffae1ab0c401633fcdd0fc

Change-Id: I28f5e2e201a0f1a2090ed6aff450f22a4fe846fe
2020-12-09 15:26:44 +07:00