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

python3 3.11 broken script #221

Closed
14 tasks done
willysr opened this issue Mar 31, 2024 · 22 comments
Closed
14 tasks done

python3 3.11 broken script #221

willysr opened this issue Mar 31, 2024 · 22 comments

Comments

@willysr
Copy link
Contributor

willysr commented Mar 31, 2024

Please list all broken scripts due to python3 updates in current here

  • python3-scipy
  • python3-setuptools-rust-opt
  • cryptography
  • python3-bcrypt
  • python-colour
  • python3-twisted
  • python3-maturin
  • python3-autocommand
  • python3-pythran
  • gst-python
  • python3-platformdirs
  • gaupol
  • wxPython4
  • python3-setuptools-opt
@fourtysixand2
Copy link
Contributor

fourtysixand2 commented Mar 31, 2024

-python3-setuptools-rust-opt is fixed in my branch on SBo
-python3-maturin is fixed in my branch on SBo
-cryptography is fixed in my branch as well @willysr

-python3-bcrypt builds fine here but you should probably use python3-setuptools-rust-opt instead of the old python3-setuptools-rust. Then the old slackbuild can be removed. No bother renaming my -opt version until we move to 15.1 as it needs to stay in /opt for 15.0.

@fourtysixand2
Copy link
Contributor

-python3-autocommand is fixed in my branch
-python3-pythran I've sent a fix to the maintainer
-python3-scipy I've sent a fix to the maintainer

-python3-setuptools_scm_git_archive is no longer needed and should be removed from the current repo Changaco/setuptools_scm_git_archive#23 (comment)

@fourtysixand2
Copy link
Contributor

-gst-python needs updating to build

diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild
index 8add0166..805527f8 100644
--- a/python/gst-python/gst-python.SlackBuild
+++ b/python/gst-python/gst-python.SlackBuild
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM=gst-python
-VERSION=${VERSION:-1.18.5}
+VERSION=${VERSION:-1.24.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -101,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
 rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS RELEASE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS RELEASE README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install
diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info
index 27d2f540..f25ce655 100644
--- a/python/gst-python/gst-python.info
+++ b/python/gst-python/gst-python.info
@@ -1,8 +1,8 @@
 PRGNAM="gst-python"
-VERSION="1.18.5"
+VERSION="1.24.1"
 HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.5.tar.xz"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.24.1.tar.xz"
-MD5SUM="eb19229f72f61506e33182a6fbce4a2e"
+MD5SUM="a04bf7cfc76de2096d2dfd9feb12ddba"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""

@fourtysixand2
Copy link
Contributor

-python3-platformdirs I've sent a fix to the maintainer
-gaupol will be fixed in my branch on SBo

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

python3-pythran i believe i fixed it on my branch: https://git.slackbuilds.org/slackbuilds/commit/?id=85545a418

@fourtysixand2
Copy link
Contributor

Ahh, missed that.

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

@fourtysixand2 can you push the updates on your branch if you knew it is safe to use on stable?

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

i believe for gst-python, this is current spesific, so it should go under ponce's repo

@fourtysixand2
Copy link
Contributor

Sure, will push in a couple minutes. I have tested them on stable already.

And yes, gst-python update is for ponce's repo only.

@fourtysixand2
Copy link
Contributor

Done, and you have python3-scipy on there twice.

Does python3-bcrypt FTB for you? It works here as is.

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

yes, because it uses python3.9 hard-coded
export PYTHONPATH=/opt/python3.9/site-packages/

@fourtysixand2
Copy link
Contributor

That line doesn't affect python3-bcrypt building on current unless we make the changes I was suggesting above.

However, i would like to fix all those specific PYTHONPATH lines to be dynamic. There's a little over 60 of them total. Shall I go ahead and do that?

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

if it works for both stable and current, why not?
this will make it easier to transition for ponce once development cycle starts for 15.1 repo

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

Fixed python-colour

@Ponce
Copy link
Owner

Ponce commented Mar 31, 2024

-gst-python needs updating to build

diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild
index 8add0166..805527f8 100644
--- a/python/gst-python/gst-python.SlackBuild
+++ b/python/gst-python/gst-python.SlackBuild
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM=gst-python
-VERSION=${VERSION:-1.18.5}
+VERSION=${VERSION:-1.24.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -101,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
 rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS RELEASE README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS RELEASE README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install
diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info
index 27d2f540..f25ce655 100644
--- a/python/gst-python/gst-python.info
+++ b/python/gst-python/gst-python.info
@@ -1,8 +1,8 @@
 PRGNAM="gst-python"
-VERSION="1.18.5"
+VERSION="1.24.1"
 HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.5.tar.xz"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.24.1.tar.xz"
-MD5SUM="eb19229f72f61506e33182a6fbce4a2e"
+MD5SUM="a04bf7cfc76de2096d2dfd9feb12ddba"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""

thanks, pushed in its own branch!

@fourtysixand2
Copy link
Contributor

python3-bcrypt fixed in my branch. @willysr python3-setuptools-rust can be removed from stable

All of the builds using PYTHONPATH=/opt/python... have been fixed as well.

@willysr
Copy link
Contributor Author

willysr commented Mar 31, 2024

@fourtysixand2 thanks for the efforts
does it work well on stable as well?

@willysr
Copy link
Contributor Author

willysr commented Apr 1, 2024

@fourtysixand2 you missed python3-setuptools-opt
i mean you only edit the README, but the actual script is still failing to build

@willysr
Copy link
Contributor Author

willysr commented Apr 1, 2024

can you check this commit? https://git.slackbuilds.org/slackbuilds/commit/?id=757daece4

@fourtysixand2
Copy link
Contributor

Yes (python3-bcrypt), I tested on both.

Thanks I did miss that, but I've had ponce remove from this repo once Pat added it to -current so it's not too big a deal.

I'm going to rebase my branch and do a couple fixups, if you can remove that commit I'll fix it in mine.

@willysr
Copy link
Contributor Author

willysr commented Apr 1, 2024

sure no problem

@willysr
Copy link
Contributor Author

willysr commented May 14, 2024

it's now all fixed, so closing this issue

@willysr willysr closed this as completed May 14, 2024
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

No branches or pull requests

3 participants