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>
- 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>
The constraints these notes reference no longer exist.
Change-Id: I06ecfe9e3a0ec52f2077da266e22113663fa5ba3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
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>
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>
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
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
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
According to the history this was added to Karbor[1] but the project
was already retired.
[1] 1766bb5123
Change-Id: I03c39c342794b62ba13aec88a833e1bc5bb87eaf
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>
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
- 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
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
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
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
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
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
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>
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
This patch adds influxdb-client as it is now a Cloudkitty
requirement. For more details please check [1]
- Is the library actively maintained?
Yes.
- Is the library good code?
Yes, code coverage is about 90%.
- Is the library python 3 compatible?
Yes, Python 3.7 or later.
- Is the library license compatible?
Yes, MIT License.
- Is the library already packaged in the distros we target
(Ubuntu latest / Fedora latest)?
No, but is already available in pip repositories.
- Is the function of this library already covered by other libraries
in global-requirements.txt?
No, the already available library only supports InfluxDBv1, we need v2.
- Is the library required for OpenStack project or related dev
or infrastructure setup? (Answer to this should be Yes, of course) Which?
Yes, Cloudkitty.
- If the library release is managed by the Openstack release process
does it use the cycle-with-intermediary release type?
It is not managed by OpenStack release process.
- Do I need to update anything else?
upper-contraints.txt updated
[1] https://review.opendev.org/c/openstack/cloudkitty/+/895204
Change-Id: Id6e172674acc3f10e76cf671dba466c43a2503fa
This reverts commit 45eeb10dd4. OpenStack
projects should be using openstackdocstheme. In addition, the current
release is not compatible with Sphinx 7.x.
Change-Id: I9697bf8722f7fe24d928f627c6080f48aacf97a0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Gating jobs started to fail with latest pyproject-api (1.6.1) release.
This release would need latest tox (4.11.0) to not fail, but we are
pinning tox via pinning virtualenv in tox.ini.
To resolve this we have to remove the virtualenv pinning, which was a
"temporary" hack to avoid py3*-check-uc jobs to break. This job is
failing because of ryu package, which is unmaintained and projects
started to use os_ken instead, which "is a fork of the Ryu library
tailored for OpenStack Neutron" [1]. Hence, this patch removes ryu
from requirements files to eliminate the need of pinning virtualenv.
[1] https://opendev.org/openstack/os-ken
Change-Id: I23ba892e6dd7f2566e5af6626c072c2dcc5a4382
This patch remove capping for xstatic-jQuery.
Capping for xstatic-jQuery added in the past
becuase with jQuery 3.x version horizon is not
compatiable but now horizon is working fine with
jQuery 3.x. So let's remove this capping.
Change-Id: I6331b964f2fa8145ca97bcda0534e8cacfcf24dc
This commit bumps the upper bound of XStatic-jQuery to <3.
Since we upgraded XStatic-JQuery-Migrate to 3.3.2.1 in patch
https://review.opendev.org/c/openstack/requirements/+/883402 we now
need newer jquery, because that version of jquery-migrate won't
work with jquery 1.2.
Note: upper-constraints.txt will be updated in a seprate patch.
Change-Id: I186780a029c15de15764f1491f43737de8066b12
In preparation to migrate projects from the abandoned appdirs
library to the currently maintained platformdirs replacement,
explicitly add it to our global requirements list. It's already in
the upper constraints list due to being a transitive dependency, but
we want to make sure we don't inadvertently drop it in the future.
Change-Id: I58c5c36f2f60030f81b09fe27b68323f7f46caeb
This patch limits the version of XStatic-Font-Awesome in
``global-requirements.txt`` to <4.8.0. The purpose is to
prevent automatic updates of XStatic-Font-Awesome, as the
Horizon team does not currently support or require the
updated versions. This decision is based on the fact that
XStatic-Font-Awesome, being a font package[1], does not pose
any security risks or vulnerabilities (CVEs). By maintaining
the current version, we ensure compatibility and stability
within the Horizon project.
[1] https://meetings.opendev.org/irclogs/%23openstack-horizon/%23openstack-horizon.2023-05-31.log.html#t2023-05-31T15:50:28
Change-Id: Iadc94128566ee68da13eb6fd4f9dd20e2e3d4b35
This reverts commit dff4253a1f.
Reason for revert: Most of the deprecation warning horizon get after upgrading to jQuery-migrate version 3.3.2.1 is fixed now.
Change-Id: Ieba70cb9e9300ab027c4b2ac7a72c4df7a21e660
The pysnmp library is not maintained since 4 years and it's
now incompatible with other related libraries like pyasn1.
Deprecate it and add its fork pysnmp-lextudio with its
dependencies pyasn1-lextudio and pyasn1-modules-lextudio
For more info on the new pysnmp ecosystem please look at
https://github.com/etingof/pysnmp/issues/429
[Q] Is the library actively maintained?
[A] Yes.
[Q] Is the library good code?
[A] Yes.
[Q] Is the library python 3 compatible?
[A] Yes.
[Q] Is the library license compatible?
[A] Yes. BSD
[Q] Is the library already packaged in the distros we target
(Ubuntu latest / Fedora latest)?
[A] No.
[Q] Is the function of this library already covered by other
libraries in global-requirements.txt?
[A] Yes, but they're unmaintained or not part of the same ecosystem,
which brings incompatibility in the long term (see the issue with
pyasn1 0.5.0 update that is incompatible with pysnmp, even if it
is one of its dependencies!)
Change-Id: I90274181c1e027d9b17a556fa1ac4767cbf6b5d0
This patch blocks oslo.log version 5.0.1, as reported in [1].
oslo.log 5.0.2, without the corresponding oslo.privsep one, will
break the Neutron CI, in particular the job
"neutron-functional-with-uwsgi", that will be temporary disabled.
Next steps:
1) Push a path in oslo.privsep using this new oslo.log version [2],
fixing the problem reported.
2) Release a new oslo.privsep version.
3) Bump the oslo.privsep version in this project.
4) Unblock the Neutron CI "neutron-functional-with-uwsgi" job.
[1]https://bugs.launchpad.net/oslo.log/+bug/1995514
[2]https://review.opendev.org/c/openstack/oslo.privsep/+/864254
Related-Bug: #1995514
Related-Bug: #1995091
Change-Id: I1ed628b0ff6c98d21d36caf828edfbc7ef822363
Used for osprofiler, see work in progress:
https://review.opendev.org/c/openstack/osprofiler/+/877358
Some questions:
>>> Is the library actively maintained?
Yes, a link for it: https://github.com/open-telemetry/opentelemetry-python
>>> Is the library good code?
Yes
>>> Is the library python 3 compatible?
Yes
>>> Is the library license compatible?
Yes, it is under Apache 2.0 license
>>> Is the library required for OpenStack project or related dev
>>> or infrastructure setup? Which?
Yes, this change: I74cdcb2aa99b0162ba1c14059111f09d0bb534e3
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: Idcff5d79b4884dd1cc7ed1ab42c9e4ce89d4a6d2
No active project is using this and isn't buildable in recent Python 3
due to use of 2to3.
Change-Id: I29ee8fb08b170bcfa9b57c1a46be49fe673c666f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>