26a124b8cd80299f4fd5db11cab4d7cb3fe0c6b9
Commit Graph

1043 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
26a124b8cd 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: I36f021c871d75753f1a1ca8addb0efb4f483edbd
2025年03月14日 13:00:38 +00:00
Zuul
27e4d1ffda Merge "reno: Update master for unmaintained/zed" 22.0.0 22.0.0.0rc1 2025年03月11日 20:10:44 +00:00
Takashi Kajinami
94eed0ed94 Update default envlist
Python 3.8 support was already removed so it should no longer be in
the default envlist. Also use unversioned target instead of versioned
ones so that we don't have to update the envlist when supported python
versions are updated.
Change-Id: Idf99246ae8c28d26eb4272c41b9cf38cc56f9940
2025年01月13日 14:17:57 +09:00
elajkat
4969079933 pep8: Issue on Noble (U. 24.04) with pylint
Use pylint 3.2.0 on Noble.
Change-Id: I30f5c19ff9933b14cd887822c83213e7d0c285a0
2024年12月05日 11:25:04 +01:00
elajkat
28182c803a tests: test_db_base_plugin_v2.py was moved to common
In [1] test_db_base_plugin_v2.py was moved to tests/common
let's adapt to it.
[1]: https://review.opendev.org/c/openstack/neutron/+/934190
Change-Id: I21490f7f8a6f0575e0e35808bda9605b7597edac
2024年11月19日 10:07:33 +01:00
3670e2b978 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.
Change-Id: I6dff745c19e766425cbf3c572348b7cde9a521cb
2024年11月14日 10:30:27 +00:00
Rodolfo Alonso Hernandez
36fc780b2a Fix reference to `TestModelsMigrations` class
Since [1], there is one single test migration class in Neutron
that uses MySQL only.
This patch is also removing the functional tests using PostgreSQL.
[1]https://review.opendev.org/c/openstack/neutron/+/934171
Change-Id: Iaef72e4964b241e73b38b991736d1c5640177f40
2024年11月12日 07:05:55 +00:00
elajkat
19f326c9d6 pyupgrade changes for Python3.9+
As discussed at the Epoxy PTG meeting, run an automated
upgrade tool to make code python 3.9+ compliant.
Result of running:
$ pyupgrade --py39-plus $(git ls-files | grep ".py$")
Fixed PEP8 errors introduced by pyupgrade by running:
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
 --in-place networking_bgpvpn
Also did manual updates as necessary to fix other errors
and warnings after above commands.
Inspired by Octavia and Nova [0].
[0] https://review.opendev.org/c/openstack/nova/+/896986
Change-Id: Iac7a039ad6924de14aba8f391ff904785c089df7
2024年10月30日 13:04:54 +01:00
Zuul
db7e9e3411 Merge "Remove translation sections from setup.cfg" 2024年10月28日 13:37:42 +00:00
Zuul
ec955d1e27 Merge "Drop optional dependencies from requirements" 2024年10月28日 12:03:10 +00:00
Takashi Kajinami
b1bc389b50 Remove translation sections from setup.cfg
These are no longer required by recent Babel, and the same were removed
from neutron some time ago[1].
[1] 57fc472b334260358623322d03ca38f4620272e5
Change-Id: I71532a452c57339aa636a89bdf2d014eace12bf2
2024年10月27日 03:46:51 +09:00
Takashi Kajinami
b0e5f98a53 Drop optional dependencies from requirements
These are optional so should not be part of the requirements which are
always installed. Also fix the inconsistent lower constraints of
horizon described in different files.
Change-Id: I97fb056d8519d7020720b11484cf6cf03ef87090
2024年10月27日 03:45:08 +09:00
Takashi Kajinami
88233155e8 Bump actual minimum python version
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then. Bump the minimum version to avoid being
installed in Python 3.8 .
[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html
Change-Id: Ib932cdc49284de1c8b3b12ef714f9f90a554fa6e
2024年10月24日 21:16:37 +09:00
elajkat
509d17ad62 Update jobs based on testing runtime for 2025.1
Based on [0] only py39 and py312 jobs are in the testing
runtime for 2025.1, updated relevant files accordingly.
[0] https://review.opendev.org/c/openstack/governance/+/926150
Depends-on: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/926153
Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/929823
Change-Id: I93c19988e02f81a06a90fa9a7412c6b83249cd4f
2024年09月25日 13:23:42 +00:00
Rodolfo Alonso Hernandez
0641e3e87d [sqlalchemy-20] Remove CI job "networking-bgpvpn-openstack-tox-py310-with-sqlalchemy-main"
The SQLAlchemy 2.0 migration is concluded and there is no need to keep
the jobs testing the main branch anymore.
Change-Id: Ic5c87838eea24b5c3122e1914960be61d8ac45b0
2024年09月19日 08:06:56 +00:00
39157cb6e7 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: I751da469a41e37af0f901ab003021dcb3c421c92
2024年09月12日 13:35:21 +00:00
elajkat
b834f0cedc Doc: remove sphinxcontrib-*diag from doc dependencies
sphinxcontrib-blockdiag, sphinxcontrib-nwdiag and
sphinxcontrib-seqdiag projects are no longer maintained, see [1].
Remove these from the dependencies list and use png images
instead of building them from blockdiag files.
To keep the original source I do not delete the *.blockdiag files.
[1]: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/4IID4UEXY4PJJGBTMFMTRYLKJIN4GOQ6/
Change-Id: I792d18e2dd6771a6f7eabfeb621c9efc4b47901f
21.0.0 21.0.0.0rc1
2024年08月28日 15:18:11 +02:00
Slawek Kaplonski
e62d94fc98 Add pre-commit configuration
'pre-commit' tool [1] provides an extensible way to configure hooks
which can be run automatically before each commit. That way we can make
sure that code send to review is passing base static analysis checks
like e.g. bandit, flake8 or hacking.
For now this is optional to use and not integrated in e.g. tox.ini file
but we can integrate it there too as next step.
[1] https://pre-commit.com/
Change-Id: Ic3ec4d699b80d2e31fa8d52da71069b3f1104d9b
2024年05月27日 13:24:56 +00:00
Slawek Kaplonski
51ae343b0e Remove executable from python files which don't really needs it
TrivialFix
Change-Id: I47c32bdd9928a300176ae36a8e530f99562ee596
2024年05月27日 13:24:50 +00:00
Slawek Kaplonski
2a996982d6 Fix trailing whitespaces and replace tabs with 4 spaces
Those changes are done just to make pre-commit hook happy.
TrivialFix
Change-Id: I8e21f41626bcd34c7ff490ea9ac6d7eb40316013
2024年05月27日 15:23:21 +02:00
Zuul
afb98fabba Merge "Replace CRLF by LF" 2024年05月21日 19:56:35 +00:00
Zuul
49336fed59 Merge "Update jobs based on testing runtime for 2024.2" 2024年05月21日 17:35:08 +00:00
2e3547a79e reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I0e29f218f3f14bcf3f33a951bb19c101ee3954dc
2024年05月21日 14:05:18 +00:00
Takashi Kajinami
a7208e128f Fix compatibility with SQLAlchemy 2.0
* The str(url) function in SQLAlchemy hides the password. For a URL
 string that is to be re-used, use
 render_as_string(hide_password=False) .
* subtrasactions was removed in SQLAlchemy 2.0[1].
[1] https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#migration-to-2-0-step-five-use-the-future-flag-on-session
Co-Authored-By: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: I9c7539f26ad58ad62661f98d125ba5495e7ac271
2024年05月21日 16:16:28 +09:00
Takashi Kajinami
da4923014d Replace CRLF by LF
... because LF is commonly used as newline code.
Change-Id: If238971837e7732068bb935c16b2a9a160d9a9a1
2024年05月18日 14:11:51 +09:00
18af1fcb5f reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.
Change-Id: Iad8014d89f7618857c0eef25b8cc1e7cdc149a4e
2024年04月30日 08:51:50 +00:00
Zuul
6295e5fbc3 Merge "Drop x bit from dashboard files" 2024年04月20日 11:17:42 +00:00
OpenStack Proposal Bot
337b7f1936 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: If0161b63916e76683494328382e450c5767071b1
2024年04月19日 04:24:05 +00:00
Zuul
4b2dee2205 Merge "coveragerc: Remove reference to non-existant path" 2024年04月06日 00:59:36 +00:00
Zuul
7ec2a9c94e Merge "Remove reference to glance-registry" 2024年04月05日 17:58:14 +00:00
elajkat
a36bf908ed Update jobs based on testing runtime for 2024.2
Based on [0] & [1] only py39, py311 and py312 (non-voting)
jobs are in the testing runtime for 2024.2, updated relevant
files accordingly.
[0] https://review.opendev.org/c/openstack/governance/+/908862
[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html
Change-Id: If02b2a8f87cc13eaada5b045881e569e58defe5b
2024年03月27日 14:35:05 +01:00
581dec4871 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: I337f71b5faf43442eb8d91851e796cf286002bd7
2024年03月12日 19:49:22 +00:00
Zuul
c620fc3aea Merge "reno: Update master for unmaintained/victoria" 20.0.0 20.0.0.0rc1 2024年03月07日 19:59:52 +00:00
b66e0d7766 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I9637c7b1eff43979ae4bd681523cdb7d132dc2ee
2024年03月06日 12:15:05 +00:00
902212da50 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: Ie1e4b8307bae54532cb24fdec9392361c11ec6a2
2024年03月06日 11:55:31 +00:00
Zuul
af4140832a Merge "tox: Drop envdir" 2024年02月13日 20:48:36 +00:00
Zuul
0721db8fbc Merge "Bump hacking" 2024年02月13日 16:49:42 +00:00
elajkat
aa18632724 Bump hacking
hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.
Change-Id: I93206052a384ceaf182ff3a93a326e17b2110a4d
2024年02月12日 14:29:00 +01:00
elajkat
ed5d2968b1 tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~
According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293
Change-Id: I74c5c05679a3e9ecf376634fac34a9269a1e9cba
2024年02月06日 11:34:03 +01:00
cfdac6a278 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I703162937c60e0b623ccbe2410a15801e50eb42d
2024年02月05日 16:45:28 +00:00
Takashi Kajinami
a120a85260 coveragerc: Remove reference to non-existant path
The networking-bgpvpn/openstack directory does not exist.
Change-Id: Ieb962c002030cf1f78e1c37dd45de72e6a66a0b5
2024年01月25日 16:35:37 +00:00
Takashi Kajinami
77db6b68d3 Remove reference to glance-registry
... because the service was removed long ago.
Change-Id: I42d6fb39976b7aaf8e24b443dc548d4d110964b2
2024年01月25日 15:25:35 +00:00
Takashi Kajinami
0370650d9b Drop x bit from dashboard files
None of these files need to be executable.
Change-Id: I65e80a4b2a1136558c060da46b22189c1ed50c7d
2024年01月26日 00:21:40 +09:00
elajkat
2244a10a9c Dashboard: change ugettext_lazy to gettext_lazy
With django 4 some of the imports were changed, adopt
bgpvpn_dashboard to these changes.
Change-Id: If2728626f227a8cb4023cb2395c4c440e92347db
2024年01月25日 15:24:46 +01:00
elajkat
deafdf6b3a Update python classifier with py3.11 in setup.cfg
Change-Id: I2d4cb37d9e6bec6eec6dcd4978266bc8fd1388de
2024年01月10日 15:35:47 +01:00
Zuul
227943e2dc Merge "Add python3.10 support in testing runtime" 2023年12月01日 16:10:36 +00:00
elajkat
867e32b9a7 py311: add required projects to py311 job and add it to weekly
Change-Id: I2405bf23cbebd103f4c4566359e0dcd39d421401
2023年09月26日 10:22:20 +02:00
a16a6faced 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: Ie57176f70562e14028f5c91c4064c567ba758819
2023年09月15日 13:50:00 +00:00
likui
2e89844a20 Add python3.10 support in testing runtime
In 2023.2 cycle testing runtime, project test in py38 py39 and py10
[0] https://governance.openstack.org/tc/reference/runtimes/2023.2.html
Change-Id: I6e2ffe6f30f8fd5f82fef893b2edfee2705b6a16
2023年09月13日 14:20:49 +08:00
elajkat
f9491f5197 Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.
Copy-paste of
https://review.opendev.org/c/openstack/networking-bagpipe/+/893987
Change-Id: I42a369ebe8079b901a37ac44e117006ccb98ae9d
19.0.0 19.0.0.0rc1
2023年09月12日 08:55:29 +00:00