Commit Graph

3591 Commits

Author SHA1 Message Date
Zuul 738d8ab524 Merge "Remove kafka-python" 2024-05-15 06:09:17 +00:00
Zuul 4524319e31 Merge "Remove the Solum deliverables from req" 2024-05-15 04:28:32 +00:00
Zuul 694c8ad8eb Merge "Improve terminology in the requirements tree" 2024-05-14 13:21:38 +00:00
Zuul 1f514f5266 Merge "Update SQLAlchemy and alembic, drop sqlalchemy-migrate" 2024-05-14 13:06:08 +00:00
Brian Haley ea345875cd Improve terminology in the requirements tree
There is no real reason we should be using some of the
terms we do, they're outdated, and we're behind other
open-source projects in this respect. Let's switch to
using more inclusive terms in all possible places.

Change-Id: I90ac679c1745a31474c6f24ec7953624ad056d79
2024-05-14 10:08:34 +02:00
Ghanshyam Mann f8bc6a896b Remove the Solum deliverables from req
Solum is going to be retired (depends-on), so let's
remove its deliverables/constraints from requirements.

Depends-On: https://review.opendev.org/c/openstack/governance/+/919211
Change-Id: Id1b93fd5c83320bd4ab83ed28112de6e10d5ec45
2024-05-10 12:42:41 -07:00
Ghanshyam Mann 091035a031 Retire TripleO: remove the TripleO deliverable from requirements
TripleO is retired so removing its deliverables from
the requirements

- https://review.opendev.org/q/topic:%22retire-tripleo%22

Depends-On: https://review.opendev.org/c/openstack/governance/+/905145
Change-Id: I76787707134419a49e7577a4ea31d168c29756ee
2024-05-10 15:39:33 +02:00
Takashi Kajinami d928c81e15 Stop pinning gabbi
The issue with gabbi 2.5.0[1] was fixed in 2.5.1. Prohibit 2.5.0 to
avoid installing that bad version (though it was already yanked).

Bump gabbi to the latest 2.x.0 version. We may later bump it to 3.x .

[1] https://github.com/cdent/gabbi/issues/309

Change-Id: If6f23a66d22af1d97a87a280b0bfe8d0578cc39e
2024-05-09 18:08:11 +09:00
Stephen Finucane 8f2ae54cbe Remove kafka-python
This is no longer maintained. It has been replaced by confluent-kafka in
oslo.messaging.

Change-Id: Ife587a0e62e18f2bf07434c837424f824705d982
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/devstack-plugin-kafka/+/916054
2024-05-07 12:46:23 +09:00
Zuul 1e07b8cf6e Merge "Remove pyinotify" 2024-05-03 03:45:53 +00:00
Takashi Kajinami c1cef7381c Remove pyinotify
The library has been unmaintained for long and is not compatible with
Python 3.12. We decided to remove the implementation dependent on it
so it's no longer used now.

Depends-on: https://review.opendev.org/c/openstack/oslo.log/+/917808
Change-Id: Ic631bf666290d08a7214b07c7c863ee0d070ef9f
2024-05-02 10:12:41 +09:00
Takashi Kajinami 9aaceb9d44 Add back docutils to global-requirements
docutils was removed[1] because of the note saying it's not directly
used, but in fact it is used as a direct dependency by some repos such
as octavia.

[1]: I06ecfe9e3a0ec52f2077da266e22113663fa5ba3

Change-Id: I674972c9d13758c2bca78f31b66ce47dec2f8cd2
2024-05-02 10:10:33 +09:00
Takashi Kajinami cf1e5cae45 Revert "Add ability to strip old excludes"
This reverts commit 314734e938.

Reason for revert:
This change caused failures in requirement-check jobs in multiple repos
because old excludes are still kept in their requirements files. There
are multiple feedbacks about removing old excludes and most of these
are negative because of concern with removing our old knowledge about
know bad versions.

Also global requirements have had to be the central place to find know
bad versions but clean up requires distros to look at every single
repository to get full list of known bad versions.

Given these negative feedbacks, it's better to revert the change now,
and discuss further maintenance policy before we re-do this clean up.

Change-Id: I8e010ad56ddcafdad3a05dce4630d7d158fdc418
2024-05-01 17:44:28 +00:00
Zuul fccd0b4f8c Merge "Add ability to strip old excludes" 2024-04-29 22:58:55 +00:00
Tom Weininger f624135ca4 Add some more types packages
The added packages are used in [1] to allow mypy do proper type checking
in the Octavia project. The specific versions in u-c is needed in
order to avoid false positives due to unaligned version of the
respective types-* packages.

This is somewhat related to the discussion on the mailing list about
modernization [2] even though I started working on it in Octavia way
before that discussion started.

types-requests===2.31.0.6 is necessary because we're still using
urllib3<2.[3]

[1]: https://review.opendev.org/c/openstack/octavia/+/879749
[2]: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/4V63CHMZ4GPC4IYN7JCJPVKHLZAHN5BL/
[3]: https://pypi.org/project/types-requests/#description

Change-Id: Ic8b557a512c29ae76a3ba5e805f7b6f5d118baff
2024-04-24 18:21:09 +02:00
Stephen Finucane 92c8b4c52b Update SQLAlchemy and alembic, drop sqlalchemy-migrate
Bump SQLAlchemy to the 2.x series. sqlalchemy-migrate is not compatible
with SQLAlchemy 2.x so it is removed: any projects consuming upper
constraints will need to remove sqlalchemy-migrate integration.

Change-Id: I23af86739e699bdcb42e1b112861497d35edc42e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-On: https://review.opendev.org/c/openstack/manila/+/888318/
2024-04-19 03:50:26 +09:00
Stephen Finucane 314734e938 Add ability to strip old excludes
There's no point keeping these ancient excludes around: they're not
going to be installed on any modern system. Add a tool to remove these.
Comments are not easily machine parsable and must still be handled
manually, unfortunately.

Change-Id: I9dc1746ca77fa145a8030dbafa9b107872719290
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-17 15:32:32 +01:00
Stephen Finucane 258e59dd69 Group requirements into sections and sort
We add the script used to do this. This script will grow in complexity
in future changes as we add logic to e.g. remove old version constraints
that are no longer necessary. There's probably more sorting to be done
here, but that can always be tacked on with a follow-up.

Psst, reviewers: you can ensure we haven't lost/gained any dependencies
with this little script:

  #!/usr/bin/env python3
  import pathlib
  import subprocess
  import sys

  previous = subprocess.check_output(
      ['git', 'show', 'HEAD~:global-requirements.txt']
  ).decode(sys.stdout.encoding)
  current = pathlib.Path('global-requirements.txt').read_text()

  assert sorted(
      x for x in previous.split('\n') if x and not x.startswith('#')
  ) == sorted(
      x for x in current.split('\n') if x and not x.startswith('#')
  )

We haven't checked _this_ in since it's trivial and not broadly useful
here.

Change-Id: If836960167fe66534034a8a512ea63553649c3ff
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-17 12:05:50 +01:00
Stephen Finucane 07d44b297b Remove stale, unused dependencies
- couchdb
  A client library for couchdb that we indicated was only used for
  tests. Trove references it but doesn't list it in requirements and
  instead seems to install from apt

- django-pymemcache
  A django cache backend that allows you to use pymemcache. No users in
  openstack namespace.

- marathon
  No users in openstack namespace.

- openstack.nose-plugin, nose-exclude, nosehtmloutput, nosexcover, proboscis
  Various plugins for nose. No users in openstack namespace.

- python-rsdclient
  Abandoned client library. We no longer depend on this in
  openstackclient.

- sphinx-testing
  A testing package for Sphinx. Replace by the testing module in Sphinx
  itself.

- unittest2
  A backport of unittest features to Python 2.4+. No longer needed.

There are a couple of libraries that we should work to replace, but
those are not tackled here since they need more work elsewhere.

- influxdb
  Deprecated and replaced by influxdb3-python, per the GitHub page
  https://github.com/influxdata/influxdb-python

- jsonpath-rw, jsonpath-rw-ext
  Untouched in 8 and 4 years, respectively, but has a few users dotted
  about.

- kafka-python
  A client for kafka, replaced by kafka-python3. No users in openstack
  namespace.

- nose
  Ancient test runner that's been untouched in 8 years.

- oauth2client
  A client library for oauth2. No users in openstack namespace.

- os-client-config
  Unmaintained. Users should switch to openstacksdk.

- oslosphinx
  Unmaintained. Users should switch to openstackdocstheme or another
  theme if not OpenStack-affiliated.

- pydotplus
  A library for interfacing with Graphviz's Dot language. Super old.

- pyinotify
  Python wrappers for the inotify API. Unmaintained since 2015.
  Used by oslo.log which is dropping it but has not completed this work
  yet.

- pykmip
  Used by barbican but unmaintained.

- pysendfile
  A test dependency for Glance. Unmaintained since 2014 (!!!).

- pyngus
  A dependency of oslo.messaging. Unmaintained since 2020.

- python-consul
  A dependency of masakari-monitors and an optional dependency of tooz.
  Unmaintained since 2018.

- requests-aws
  An optional dependency of ceilometer. Unmaintained since 2015.

- sadisplay
  An optional dependency of octavia. Unmaintained since 2018.

- testrepository
  A test runner. Unmaintained since 2014 and replaced by stestr.

- testresources, testscenarios
  Add-ons for unittest. Unmaintained since 2016 and 2015, respectively.

- zake
  A set of test utilities for kazoo used by a number of projects such as
  tooz, mistral and taskflow. Unmaintained since 2015.

Change-Id: I4ea0ca2e4df21446996951617d0d000951069bc6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-17 12:04:16 +01:00
Stephen Finucane 0a72885e10 Remove irrelevant notes
The constraints these notes reference no longer exist.

Change-Id: I06ecfe9e3a0ec52f2077da266e22113663fa5ba3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-16 17:45:14 +01:00
Stephen Finucane 538809b8da Remove indirect dep blocks
- grpcio
  The 1.16.x and 1.17.x series are ancient and won't be pulled now [1].

- textfsm
  The maintainer pushed a wheel soon after the bug was filed [2].

[1] https://pypi.org/project/grpcio/1.16.0/#history
[2] https://github.com/google/textfsm/issues/105

Change-Id: I8044589d9ebaf5881202f61c75d1aca51b483817
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-05 16:49:29 +01:00
Stephen Finucane d068d9323c Remove cap on tomllib
Change Id6853599492ad869d25ee8b7f99afa9416926c2b was added. This was
since fixed in 0.10.2. Remove the cap.

Change-Id: I57fd3e85cc8081b2d5faafbad7b072f381d2b865
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-05 16:28:52 +01:00
Stephen Finucane e8bff3574c Remove unnecessary Python 3 cap libs
Change I398c0aee001f4e6a8e7fc89597738b356b885437 added these way back
to allow us to handle the Python 2.7/3.x split for misbehaving
libraries. They've simply been carried forward since and are vestigial.
Remove them.

Change-Id: Id70074e98abb3f7f4ac5a1330a65cd9493f4e63d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-05 16:28:52 +01:00
Tony Breeds b5b63fb819 Partial Revert "Updated from generate-constraints"
This partially reverts commit c40d5da7fd.

In the above commit we added a version specifier for funclibparser
due to a) there was an 2.0.0a0 release available ; abd b) caution
around potentially breaking docs builds.

This reverts that and part of the change and should be applied early in
the D/2024.2 cycle

Change-Id: I51ed0e4c181b136e8291c373847ba3d12664451a
2024-04-05 10:22:11 +00:00
Hervé Beraud e293ec7620
bump eventlet to the latest version
It will allow us to benefit from several recent fixes
related to the new asyncio hub.

We started to implement some devstack integrations
with the new eventlet asyncio hub [1], so it is worth
using a version that contains useful fixes.
See https://review.opendev.org/c/openstack/devstack/+/914108

Also this patch propose to blacklist version 0.36.0 which is
buggy version in some wsgi context. 0.36.1 fix that wsgi problem.
For further details see:

- https://github.com/eventlet/eventlet/issues/946
- https://github.com/eventlet/eventlet/pull/949

Change-Id: I2add78de0e3d2f439964afa0d0c9d854a52b5f7f
2024-03-29 17:19:48 +01:00
Zuul 47be246dae Merge "Retire PowerVMStacker SIG: Stop requirements syncing" 2024-02-28 05:21:24 +00:00
Zuul 5dfc98244c Merge "Block scrypt==0.8.21" 2024-02-21 10:18:29 +00:00
Takashi Kajinami 24a03452f6 Remove unused deprecation library
It's no longer used in openstack namespace according to [1].

[1] https://codesearch.opendev.org/?q=deprecation&i=nope&literal=nope&files=.*requirements.txt&excludeFiles=&repos=

Change-Id: I34d6723e9301014bcb092f76536bf8be106f7939
2024-02-21 10:48:04 +09:00
Takashi Kajinami cbf882ac02 Retire PowerVMStacker SIG: Stop requirements syncing
... and also remove the pypowervm library which is no longer used.

Depends-on: https://review.opendev.org/c/openstack/governance/+/909540
Change-Id: I4ed0f235cf52a4fd6db9cf5e715cfb78c989a188
2024-02-20 23:01:10 +09:00
Dr. Jens Harbott ca4b5e2a30 Block scrypt==0.8.21
There are no cp311 wheels published for this version, leading to testing
issues[0].

[0] https://github.com/holgern/py-scrypt/issues/16

Change-Id: I4ab8e52d4531257628280b14c80b98cda9622fd2
2024-02-19 14:36:28 +01:00
Takashi Kajinami 1d8a989096 Remove unused abclient
According to the history this was added to Karbor[1] but the project
was already retired.

[1] 1766bb5123

Change-Id: I03c39c342794b62ba13aec88a833e1bc5bb87eaf
2024-02-06 17:20:27 +09:00
Zuul 90ee2e4ea1 Merge "Updated from generate-constraints" 2024-01-31 07:38:33 +00:00
OpenStack Proposal Bot a0fe9ec214 Updated from generate-constraints
Changes from auto-generated update[1]

Add version selectors and python_version markers for:
  alabaster, Pint, sphinxcontrib-htmlhelp, networkx, scipy,
  async-timeout, exceptiongroup, sphinxcontrib-serializinghtml,
  autobahn, importlib-metadata, pysaml2, numpy, Sphinx, tomli,
  sphinxcontrib-qthelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp,
  scikit-learn

Stay on current versions (rather than the latest releases) due to
issues with OpenStack code:
  SQLAlchemy, alembic, pillow

Stay on tested version as separate change is incoming to handle
constraints update
  eventlet[2]

Stick with existing release rather than Alpha-major version release
  funcparserlib

[1] https://review.opendev.org/c/openstack/requirements/+/906938/1/upper-constraints.txt
[2] https://review.opendev.org/c/openstack/requirements/+/907243

Change-Id: I66638be398ffaee743640e86fc0188c500958e89
Signed-off-by: Matthew Thode <mthode@mthode.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2024-01-31 11:08:25 +11:00
Jay Faulkner b88debab9d Force use of 0.35.1 eventlet
We anticipate a release of eventlet 0.35.1 to resolve issues in docs
jobs for manila. This change will ensure we utilize that release, and do
not permit use of any other release of "new era" eventlet except 0.35.1,
which is expected to work across all openstack projects.

Change-Id: I5eb2e84a94646aedc07568346cf5ae05fbe02718
2024-01-30 09:46:00 -08:00
Zuul 362e15ee67 Merge "Remove components from TripleO" 2024-01-29 06:19:48 +00:00
Zuul 9b88756370 Merge "Add infoblox-client for Designate [1]" 2024-01-24 16:30:59 +00:00
Zuul 706dc5913a Merge "Add cinder extras py-pure-client library" 2024-01-23 22:22:44 +00:00
Erik Olof Gunnar Andersson b3ee412f3d Add infoblox-client for Designate [1]
- Is the library actively maintained?
Yes

- Is the library good code?
Yes

- Is the library python 3 compatible?
Yes

- Is the library license compatible?
Yes, Apache License 2.0

- Is the library already packaged in the distros we target
  (Ubuntu latest / Fedora latest)?
No, not yet

- Is the function of this library already covered by other libraries
  in global-requirements.txt?
No

- Is the library required for OpenStack project or related dev
  or infrastructure setup? (Answer to this should be Yes, of course) Which?
Yes, of course, Designate.

- If the library release is managed by the Openstack release process
  does it use the cycle-with-intermediary release type?
No

[1] https://review.opendev.org/c/openstack/designate/+/904978

Change-Id: Ieb836d28351d753af064f7f20e7c82840ccf71ae
2024-01-22 02:57:06 -08:00
Zuul b684251042 Merge "Remove directord and task-core" 2024-01-22 06:54:22 +00:00
Zuul 43ceeec64c Merge "Remove unused os-xen and XenAPI" 2024-01-22 06:54:19 +00:00
Simon Dodsley 9efb48dda5 Add cinder extras py-pure-client library
This patch adds the cinder extras py-pure-client library for the cinder
purestorage driver.

active: yes
good code: seems good
py3: yes
license compat: yes
packaged: in PyPI
covered by other libs: no
needed by: cinder
managed by openstack: no

Needed-By: https://review.opendev.org/903095
Change-Id: I9027eac8bd5bf1efc9ef619d578b2e0d9450027f
2024-01-22 14:26:06 +09:00
Takashi Kajinami 4060815706 Remove components from TripleO
... because TripleO project was deprecated[1] and is under the process
of complete retirement[2].

[1] https://review.opendev.org/c/openstack/governance/+/877132
[2] https://review.opendev.org/c/openstack/governance/+/905145

Change-Id: I85866434097f3722002154b27cffc3087ffe94d8
2024-01-22 11:24:55 +09:00
Takashi Kajinami c9c9d9303e Remove directord and task-core
These libraries were added to be used by TripleO as a replacement of
ansible but that work was abandoned (and even the whole TripleO project
was abandoned).

Change-Id: I8cbe8071d5152e9a6cf56bd2340e0d1b8d5f785a
2024-01-22 11:17:48 +09:00
Takashi Kajinami deb03b3cb3 Remove unused os-xen and XenAPI
Nova already removed Xen from nova in 22.0.0. The os-xenapi was removed
from nova's dependency in 25.0.0 .

Change-Id: I699eca917db6d7ce2f7e6b900777a53400a5b08e
2024-01-22 11:17:05 +09:00
Takashi Kajinami d26730b811 Drop etcd3
This library was added for tooz[1] but we dropped the etcd3 driver from
tooz during this cycle[2], in favor of alternative options such as
etcd3gw driver and inactivity in the etcd3 library.

[1] dbce88da79
[2] 6bc02cda5b452bbf4821621eafc031bd676f8a2f

Change-Id: I911ac0fbdf510441510fd626c8094bc8d7e82e07
2024-01-20 01:36:45 +09:00
manchandavishal 67bd2cb1ca Bump Django version to Current LTS Version
This patch update Django version to the current LTS version i.e. 4.2
in global-requirements.txt as Django 3.2 is going to end its extended
support by April 2024[1]. horizon and all its plugins already support
Django 4.2 version, So let's make this the default version. Also,
I will update the Django version in ``upper-constraints.txt' in a
separate patch because if I update the Django version in
upper-constraints.txt in the same patch requirements check-uc job
starts failing.

[1] https://www.djangoproject.com/download/

Change-Id: I0e0dfc3ef4fd0e6ff1064944aeb9128a607050e9
2023-12-20 21:20:34 +05:30
Zuul e8425bc831 Merge "Add typing_extensions" 2023-11-07 16:41:49 +00:00
Zuul 987c18af52 Merge "Add influxdb-client" 2023-11-07 03:21:23 +00:00
Stephen Finucane 88840c6482 Add typing_extensions
This patch adds typing_extensions for use in openstacksdk and other
projects.

- Is the library actively maintained?
Yes.

- Is the library good code?
Yes.

- Is the library python 3 compatible?
Yes.

- Is the library license compatible?
Yes (PSF).

- Is the library already packaged in the distros we target
  (Ubuntu / Debian latest LTS)?
Yes (as python3-typing-extensions).

- Is the function of this library already covered by other libraries
  in global-requirements.txt?
No.

- Is the library required for OpenStack project or related dev
  or infrastructure setup? (Answer to this should be Yes, of course) Which?
Yes, openstacksdk.

- If the library release is managed by the Openstack release process
  does it use the cycle-with-intermediary release type?
N/A.

Change-Id: I859abd5902dd4311a4c449501a3869445614ffb2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-11-06 22:03:55 +00:00
Martin Mágr d2f135f2a9 Add python-observabilityclient
This patch adds python-observabilityclient as it is nww Aodh
requirement. For more details please check [1]

- Is the library actively maintained?
Yes

- Is the library good code?
Yes

- Is the library python 3 compatible?
Yes

- Is the library license compatible?
Yes, Apache License 2.0

- Is the library already packaged in the distros we target
  (Ubuntu latest / Fedora latest)?
No, not yet

- Is the function of this library already covered by other libraries
  in global-requirements.txt?
No, it is not

- Is the library required for OpenStack project or related dev
  or infrastructure setup? (Answer to this should be Yes, of course) Which?
Yes, of course, Aodh.

- If the library release is managed by the Openstack release process
  does it use the cycle-with-intermediary release type?
Yes

[1] https://review.opendev.org/c/openstack/aodh/+/890529

Change-Id: Ie7477e0b11479449f7f13c7a784737ac70059964
2023-10-20 10:41:03 +02:00