-
Notifications
You must be signed in to change notification settings - Fork 274
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
Updating dependencies #2091
base: master
Are you sure you want to change the base?
Updating dependencies #2091
Conversation
unfortunately, the CI is broken (well, not running at all) because of #2092 |
The imp module is deprecated since Python 3.4 [1]. The import was added even after it was deprecated in [2]. In Python 3.12 the imp module will be removed. Use the reload function from importlib, which is the designated replacement [1]. With crossbario#2091 and this change, crossbar can be installed and run on Python 3.12 with: - numpy>=1.26.0b1 - wsaccel @ git+https://github.com/methane/wsaccel@v0.6.4 (assuming cython>=3.0.0 is installed, tarball from pypi won't work [3]) [1] https://docs.python.org/3.11/library/imp.html [2] crossbario@21910b0 [3] methane/wsaccel#30
The imp module is deprecated since Python 3.4 [1]. The import was added even after it was deprecated in [2]. In Python 3.12 the imp module will be removed. Use the reload function from importlib, which is the designated replacement [1]. With #2091 and this change, crossbar can be installed and run on Python 3.12 with: - numpy>=1.26.0b1 - wsaccel @ git+https://github.com/methane/wsaccel@v0.6.4 (assuming cython>=3.0.0 is installed, tarball from pypi won't work [3]) [1] https://docs.python.org/3.11/library/imp.html [2] 21910b0 [3] methane/wsaccel#30
As predicted in #2093: With wsaccel 0.6.6, numpy 1.26.0 and aiohttp 3.9.0 being released, this PR is the last thing needed for crossbar Python 3.12 compatibility. Any chance to get this merged soon? By the way, I need to specify
|
Ping? |
@Bastian-Krause yeah, fair enough, it should really be fixed. I mean the CI overall, and this specifically as well. personally, I won't have time soon, as my focus is on stuff that earns me money, sorry! classical OSS destiny;) if commercial users (and I'm not talking about you or your org) are using it (I know for a fact of publicly listed companies that do), they should pay for support and community, or provide fixes / PRs, or use something else. it's a free world .. pun;)
|
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. Since this is the last remaining issue before we can advertise Python 3.12 support, let's mark these tests as XFAIL for now. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <basti@randomprojects.de>
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. We shouldn't advertise Python 3.12 support until that happens. But we can make sure that everything else keeps working fine with Python 3.12 by running the test suite. A previous commit marked the failing crossbar tests as XFAIL for 3.12. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <bst@pengutronix.de>
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. Since this is the last remaining issue before we can advertise Python 3.12 support, let's mark these tests as XFAIL for now. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <basti@randomprojects.de>
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. We shouldn't advertise Python 3.12 support until that happens. But we can make sure that everything else keeps working fine with Python 3.12 by running the test suite. A previous commit marked the failing crossbar tests as XFAIL for 3.12. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <bst@pengutronix.de>
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. Since this is the last remaining issue before we can advertise Python 3.12 support, let's mark these tests as XFAIL for now. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <bst@pengutronix.de>
crossbar is not compatible with Python 3.12, yet: [1] and [2] are not part of a release. A release will probably take some more time [3][4]. We shouldn't advertise Python 3.12 support until that happens. But we can make sure that everything else keeps working fine with Python 3.12 by running the test suite. A previous commit marked the failing crossbar tests as XFAIL for 3.12. [1] crossbario/crossbar#2091 [2] crossbario/crossbar#2093 [3] crossbario/crossbar#2093 (comment) [4] crossbario/crossbar#2091 (comment) Signed-off-by: Bastian Krause <bst@pengutronix.de>
No description provided.