Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Python dependency to 3.9 #2691 #2692

Merged

Conversation

phillxnet
Copy link
Member

Update from Py3.6 to Py3.9 as commonly available in default repos across our Leap 15.4/15.5/TW
'Built on ...' OS targets.

Fixes #2691

Update from Py3.6 to Py3.9 as commonly available in
default repos across our Leap 15.4/15.5/TW
'Built on ...' OS targets.
@phillxnet
Copy link
Member Author

Raising our Python base version and updating via Poetry enabled the following to have been updated also:

cffi 1.15.1 to 1.16.0
gevent 22.10.2 to 23.9.1
greenlet 2.0.2 to 3.0.0
zope.event 4.6 to 5.0
zope.interface 5.5.2 to 6.1

@Hooverdan96
Copy link
Member

Hooverdan96 commented Oct 11, 2023

@phillxnet quick question, since when has Rockstor been using the two zope libraries above? I cant recall having seen them anywhere.

@phillxnet
Copy link
Member Author

@phillxnet quick question, since when has Rockstor been using the two zope libraries above? I cant recall having seen them anywhere.

@Hooverdan96 yes, these are new secondary dependencies I believe. Just checking from a TW amd64 test rpm build & install as part of this draft PR and it's partner draft in rpmbuild:

rtumbleweed:/opt/rockstor # poetry show --tree
dbus-python 1.2.18 Python bindings for libdbus
distro 1.8.0 Distro - an OS platform information API
django 2.2.28 A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
├── pytz *
└── sqlparse >=0.2.2
django-braces 1.13.0 Reusable, generic mixins for Django
django-oauth-toolkit 1.1.2 OAuth2 Provider for Django
├── django >=1.11
│   ├── pytz * 
│   └── sqlparse >=0.2.2 
├── oauthlib >=2.0.3
└── requests >=2.13.0
    ├── certifi >=2017.4.17 
    ├── charset-normalizer >=2.0.0,<2.1.0 
    ├── idna >=2.5,<4 
    └── urllib3 >=1.21.1,<1.27 
django-pipeline 1.7.0 Pipeline is an asset packaging library for Django.
djangorestframework 3.9.3 Web APIs for Django, made easy.
gevent 23.9.1 Coroutine-based network library
├── cffi >=1.12.2
│   └── pycparser * 
├── greenlet >=2.0.0
├── zope.event *
└── zope.interface *
gevent-websocket 0.10.1 Websocket handler for the gevent pywsgi server, a Python network library
└── gevent *
    ├── cffi >=1.12.2 
    │   └── pycparser * 
    ├── greenlet >=2.0.0 
    ├── zope.event * 
    └── zope.interface * 
gunicorn 19.10.0 WSGI HTTP Server for UNIX
huey 2.3.0 huey, a little task queue
oauthlib 3.1.0 A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
psutil 5.9.4 Cross-platform lib for process and system monitoring in Python.
psycogreen 1.0 psycopg2 integration with coroutine libraries
psycopg2 2.8.6 psycopg2 - Python-PostgreSQL Database Adapter
python-engineio 2.3.2 Engine.IO server
└── six >=1.9.0
python-socketio 1.6.0 Socket.IO server
├── python-engineio >=1.0.0
│   └── six >=1.9.0 
└── six >=1.9.0
pyzmq 19.0.2 Python bindings for 0MQ
requests 2.27.1 Python HTTP for Humans.
├── certifi >=2017.4.17
├── charset-normalizer >=2.0.0,<2.1.0
├── idna >=2.5,<4
└── urllib3 >=1.21.1,<1.27
six 1.16.0 Python 2 and 3 compatibility utilities
supervisor 4.2.4 A system for controlling process state under UNIX
urlobject 2.1.1 A utility class for manipulating URLs.

So it looks like our much newer gevent has pulled them in judging from the above.

@phillxnet
Copy link
Member Author

phillxnet commented Oct 11, 2023

Linking this PR to the following Tumbleweed aarch64 failure re gevent build:
"Tumbleweed-aarch64 .venv build fails on gevent wheel" #2693

As detailed in that issue, we are to forgo this specific OS/arch target until such time as we can move our Pyhton on just one more sub-version likely post the following pending Milestone:
https://github.com/rockstor/rockstor-core/milestone/24

@phillxnet phillxnet marked this pull request as ready for review October 11, 2023 18:19
@phillxnet phillxnet merged commit 8a4f59e into rockstor:testing Oct 12, 2023
@phillxnet phillxnet deleted the 2691-Update-Python-dependency-to-3.9 branch October 12, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants