Commit Graph

408 Commits

Author SHA1 Message Date
Zuul 66afa40d41 Merge "reno: Update master for unmaintained/xena" 2024-03-14 12:09:07 +00:00
Zuul c943c2e9e2 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 11:58:16 +00:00
OpenStack Release Bot 37b6fdc319 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I8df31244f8fc59321e4020c4af2cf919b05a3563
2024-03-14 11:28:51 +00:00
OpenStack Release Bot 6bc403e3eb reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I0c49906e1f1f86b594ae728ec590a0f45cb7249d
2024-03-14 11:24:32 +00:00
OpenStack Release Bot daa819afc2 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I1f2659c12e6b9a635ccf4aff25d3f15e3ee1a7b5
2024-03-14 11:20:01 +00:00
OpenStack Release Bot 8a908f75bf 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: I240a30c610fb20dca7af841fd7f10dbefaa62476
2024-03-07 15:35:43 +00:00
OpenStack Release Bot de19267a1e reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I2db1d00090bdde0657cdcf906cd175a66bfb5fdf
2024-02-06 15:05:22 +00:00
Zuul 37aaa7fe62 Merge "[codespell] Adding CI target for Tox Codespell" 2024-02-01 12:00:43 +00:00
Zuul 7e04d5ba2d Merge "[codespell] Adding Tox Target for Codespell" 2024-02-01 11:16:51 +00:00
Zuul 798d123db5 Merge "add pyproject.toml to support pip 23.1" 2024-02-01 04:13:49 +00:00
Zuul c3f8fcff10 Merge "[codespell] Fixing Spelling Mistakes" 2024-01-31 23:07:01 +00:00
Sharpz7 98bb9b6bb1 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Ide0be758dadbc2ec1600f1f5a118a0ee71ee98a3
2024-01-30 23:22:44 +00:00
Sharpz7 d5f9b2ed0a [codespell] Adding Tox Target for Codespell
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors.

Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I07e04a289871a1c547797ba9eb259571dc3b6767
2024-01-30 23:22:33 +00:00
Sharpz7 1b0d6429b7 [codespell] Fixing Spelling Mistakes
This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.

Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: If840e35cb0217e76ad33d1c1819de28c4fb495d2
2024-01-29 18:59:07 +00:00
Takashi Kajinami f2a8deda89 Bump hacking to 6.1.0
... which is the latest version available now.

Change-Id: I6edd4e6474f3dd9115b96424006d7ca3af5d9082
2024-01-29 14:25:29 +00:00
Takashi Kajinami 3ecaaa84f5 Bump ironic-inspector used in functionl tests
... from 11.6.0 to 11.8.0, to include the recent fix to support Flask
2.3 and later[1].

[1] https://review.opendev.org/c/openstack/ironic-inspector/+/901615

Change-Id: Icc86534beb88b862698ae0b67dbb36bb905fbde0
2024-01-29 23:04:07 +09:00
likui b72bee3c1d add pyproject.toml to support pip 23.1
pip 23.1 removed the "setup.py install" fallback for projects
that do not have pyproject.toml and now uses a pyproject.toml
which is vendored in pip.
To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.

This is required to support installing devstack on
centos stream 9 and related distros with GLOBAL_VENV=True
Without this change the wsgi scripts are not generated in
editable mode. i.e. pip install -e /opt/stack/keystone

See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more
details on the removal of the fallback support.

setuptools v64.0.0 is used to support editable installs
via its PEP-660 implmentation
https://github.com/pypa/setuptools/pull/3488

Change-Id: Ie31840df3c78013f49def3c5b95c8f79589ad830
2024-01-19 09:27:02 +08:00
OpenStack Release Bot ffbb3ac2c0 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: Id19832f986f8b2804f5b534f44dde26942a7a404
2023-09-14 01:36:56 +00:00
Iury Gregory Melo Ferreira 79d979c719 Fix Gate
- update commit in functest-requirements.txt
- update setup.cfg to match other ironic projects
- clean-up tox.ini
- added workaround to test_abort_introspection to unblock CI

Change-Id: Ie98396f411817126482fdad8729537ce296308dd
2023-08-31 11:17:52 -03:00
Jay Faulkner 2464afefa1 Update pep8 dep hacking to v6
Hacking now at 6.0.0. No code changes needed to pass flake8.

Change-Id: I90a821baa6c5133f05e9ecc03e802871f7ea5ea9
2023-04-21 12:54:57 -07:00
OpenStack Release Bot 03f7780dab 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: Ia7d119d9497db70ec089cb9793645ecee6d48e68
2023-03-02 14:13:40 +00:00
Jay Faulkner 009346e1f5 CI fixes
- Fixes syntax of passenv for tox 4
- move functional jobs to Python 3.10
- use generic python3 template

Change-Id: I51adbe18f3d1f87ff236584c67c11dc180fd2e46
Depends-On: https://review.opendev.org/c/openstack/ironic-inspector/+/860731
2023-02-13 11:57:26 +01:00
OpenStack Release Bot 0c87a246b0 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: I01487596edf2d48b4d12b9dad0322cc8f2e3b987
2022-09-08 07:52:41 +00:00
wangjiaqi07 04826f09e4 remove unicode from code
Change-Id: Iaf64cc387f901408c6deb50053b3ab984844432b
2022-08-25 10:38:40 +08:00
OpenStack Release Bot 3a1444840e 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: I6b8f70251f687c583c2e25d70fe01078e6492a55
2022-03-07 14:08:25 +00:00
OpenStack Release Bot ea3facc379 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: I230dd5cb3f62866c78691fc65ffd11bdc9775069
2022-03-07 14:08:22 +00:00
Steve Baker 8cce7aa439 Ensure tox.ini is ASCII
The left/right single quotation marks cause an ascii decode error in
some python3.6 environments.

Change-Id: I6ecf8582a4420b6eefd80ab97c65c3fdc816ecff
2022-02-18 12:49:55 +13:00
Takashi Kajinami 61a323fac9 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: I8cc51ddb1130cebbb9ee68b1f2abc1e7849c1fa9
2022-02-07 16:48:04 +09:00
Riccardo Pittau 6ac7e6ea65 Re-add python 3.6/3.7 in classifier
We have updated the yoga testing runtime to keep the
py36 testing.

- https://review.opendev.org/c/openstack/governance/+/820195

Unit tests job template is also updated to keep python
3.6 as a voting job. So with the py3.6 and py3.9 testing as voting
job template, we are keeping python 3.6, 3.7, 3.8, and 3.9 as
tested versions in the Yoga cycle.

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

This commit re-add the python 3.6/3.7 versions in setup.cfg classifier.

Change-Id: Ia72ab5858443fcdf776711d615a2a346fdce66e9
2021-12-14 09:41:06 +01:00
Ghanshyam Mann 31db623b0b Updating python testing as per Yoga testing runtime
Yoga testing runtime has been updated with py38 and py39
as voting and removed the py36 testing. Unit tests update are
handled by the job template change in openstack-zuul-job and you
can see the updated jobs running in gate.

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/818609

this commit makes other required changes in fucntional jobs and
update the metadata in setup.cfg file.

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

Change-Id: Ia66f92ec50560a5c2804dcbfa5e881760b651d08
2021-11-24 20:17:22 -06:00
Riccardo Pittau 03ebe8810a Improve testing
Use stestr for testing
Improve tests hierarchy
Update hacking and pycodestyle versions

Also fix docs and pdf-docs jobs

Change-Id: I4ce5da019251a2a68202f74f706a5bf03e6a22b6
2021-11-23 17:14:26 +01:00
Zuul 2d44e35c82 Merge "Replace deprecated assertDictContainsSubset" 2021-09-21 12:51:05 +00:00
OpenStack Release Bot 59362c9d68 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: Iad7960a2d24bba87fac2f9bf6870d40bec8e6413
2021-09-10 14:32:20 +00:00
OpenStack Release Bot 92a28011ec 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: Ib6bf1b204fc0d282f095adff4b84757d8d768de0
2021-09-10 14:32:17 +00:00
Takashi Kajinami ee6775cfe3 Replace deprecated assertDictContainsSubset
The method is deprecated since Python 3.2[1] and shows the following
DeprecationWarning.

/usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
assertDictContainsSubset is deprecated
  warnings.warn('assertDictContainsSubset is deprecated',

[1] https://docs.python.org/3/whatsnew/3.2.html#unittest

Change-Id: I8cc3b29ff5e1635143761bf4c072d57cd78d3138
2021-09-05 01:03:52 +09:00
Riccardo Pittau 24291c8520 Update min version of tox to use allowlist
The min version of tox is updated to 3.18.0 to replace whitelist_externals
with allowist_externals option [1]

[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ic99f9cd0e258ca65f51f7bb1195e4a7ba9ac7028
2021-06-15 10:13:00 +02:00
Zuul 82649e1bd7 Merge "[doc] Fix lldp_basic name" 2021-06-08 16:33:05 +00:00
Radosław Piliszek 4046b745c8 [doc] Fix lldp_basic name
And add another example of a LLDP-relevant plugin.

Change-Id: I1bbd972a7fb8dc268ee03ae766ee7bcb44c57a3b
2021-06-07 07:39:30 +00:00
Radosław Piliszek 0687489c43 Expose more interface fields
``switch_mgmt_addresses`` and ``switch_system_description`` are
useful for identification purposes.

Change-Id: I292b9b20dd2b1eb1440b5047f5cf89ea47443e5b
2021-06-04 16:48:33 +02:00
OpenStack Release Bot b95e72c11b 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: I29565573df627c7f53d867ff6f83d2baa33e5e45
2021-03-12 16:40:02 +00:00
OpenStack Release Bot db9bdd10db 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: Icd282dd7b9f43d227007a70bf35eec5507e3e76b
2021-03-12 16:39:51 +00:00
Dmitry Tantsur 3c03e21b2a Remove redundant items from CI jobs
Change-Id: Ibcc70afbe0b4f5f36878edbfbae9da77e3f4962d
2021-02-08 13:48:05 +01:00
Riccardo Pittau c4919b8265 Update minversion of tox
The minimum version since when tox accepts having inline comments
in deps is 3.9.0

https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17

Change-Id: Ia388cbb585d4304c9c86baa6d160ae061e0a3fd4
2021-01-22 10:26:28 +01:00
Zuul a64a2e3134 Merge "Move pep8 dependencies from test-requirements to tox.ini" 2021-01-20 10:48:25 +00:00
Riccardo Pittau 03ce642b4b Move pep8 dependencies from test-requirements to tox.ini
They're not needed there and are hard to constraint properly.

Change-Id: I44ac4f898e75fa853085bb38bbfd47752c46f100
2020-12-23 10:56:24 +00:00
Riccardo Pittau 4a92b65bf1 Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Change-Id: I4c940c72c0d93be0b6800aab55f0c2457d7ed07f
2020-12-15 18:44:56 +01:00
Riccardo Pittau 9d93604226 Set safe version of hacking
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.

Plus correcting output of empty response from ironic-inspector changed in
6e2cb60e77

Change-Id: I0c07a99b23898ce6a8c715caf44ac70f649631fb
2020-10-27 09:54:42 +00:00
Riccardo Pittau d6c40b7a85 Use python 3.8 in functional tests
Let's default to python 3.8 for functional tests as latest python
runtime available.

Change-Id: I7f2ba6c0f691a14a0b5ced111e6301e3b94c204f
2020-10-12 12:10:22 +02:00
Zuul a0e1ea584d Merge "Add Python3 wallaby unit tests" 2020-10-02 20:10:59 +00:00
Zuul 88405d22d7 Merge "Fix l-c job" 2020-10-02 17:08:14 +00:00