aports issueshttps://gitlab.alpinelinux.org/alpine/aports/-/issues2022-03-10T18:08:49Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11577Python 2 support and 3.132022-03-10T18:08:49ZSören TempelPython 2 support and 3.13The following packages in community require python2:
```
chromium
kodi
py2-setuptools
qt5-qtwebengine
py-bluez
rdiff-backup1
```
The following packages in testing require python2:
```
thunderbird
mame
seamonkey
```
Maybe it is possib...The following packages in community require python2:
```
chromium
kodi
py2-setuptools
qt5-qtwebengine
py-bluez
rdiff-backup1
```
The following packages in testing require python2:
```
thunderbird
mame
seamonkey
```
Maybe it is possible to adjust the necessary packages and move python2 from main to community before 3.13 is released. Moving it from community to testing or removing it entirely is probably not feasible at this point. Supporting python2 for the next 2 years seems very unrealistic to me.3.14.0https://gitlab.alpinelinux.org/alpine/aports/-/issues/12850Package Request: py3-pytorch2024-02-19T18:38:38ZJ0WIPackage Request: py3-pytorch- https://pytorch.org/
- https://github.com/pytorch/pytorch- https://pytorch.org/
- https://github.com/pytorch/pytorchhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11560py3-pretend is required to test py3-packaging2022-07-26T21:09:56ZKeith Maxwellpy3-pretend is required to test py3-packagingIf py3-pretend is packaged for Alpine Linux then the full test suite for py3-packaging should pass.
Tests are disabled in py3-packaging-20.3-r0 with `options="!check"` and by ignoring specific tests in https://gitlab.alpinelinux.org/alp...If py3-pretend is packaged for Alpine Linux then the full test suite for py3-packaging should pass.
Tests are disabled in py3-packaging-20.3-r0 with `options="!check"` and by ignoring specific tests in https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/8049
py3-packaging is a dependency of important python packages including py3-setuptools and py3-pip.https://gitlab.alpinelinux.org/alpine/aports/-/issues/10746[Request] TensorFlow (machine learning library)2022-08-18T13:02:58ZBob Green[Request] TensorFlow (machine learning library)TensorFlow is a python machine learning library that can't be isntalled with `pip`.
The `whl` files provided also don't work with musl natively.
I managed to get it up and running by using the special release crafted for Alpine at https:...TensorFlow is a python machine learning library that can't be isntalled with `pip`.
The `whl` files provided also don't work with musl natively.
I managed to get it up and running by using the special release crafted for Alpine at https://github.com/AfsmNGhr/alpine-py3-tensorflow
But the best solution would be to get a `py-tensorflow` natively for Alpine.https://gitlab.alpinelinux.org/alpine/aports/-/issues/15907community/py3-keepass: Missing dependency on py3-setuptools2024-03-27T19:29:02ZAirtowercommunity/py3-keepass: Missing dependency on py3-setuptools<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue....<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue.
Also note that this repository is intended for reporting issues with packages.
For other components, separate issue trackers exist:
* Installer issues: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues
* Infrastructure issues: https://gitlab.alpinelinux.org/alpine/infra/infra/-/issues
* Initramfs issues: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues
-->
## Package Information
* Package name: py3-keepass
* Package version: 4.0.7-r0
* Alpine version: 3.20.0_alpha20240315
* Alpine architecture: aarch64
## Summary
Secrets (`secrets`, from package `gnome-passwordsafe`) crashes on startup because module `pkg_resources`, imported from `pykeepass`, can't be found. Installing `py3-setuptools` fixes the issue, so I assume it's simply a missing dependency (aside from `pkg_resources` being deprecated, but that's an upstream issue, not one with the Alpine package).
## Steps to reproduce
Assuming `py3-setuptools` isn't already installed on your system, just install `gnome-passwordsafe` and start `secrets`:
```sh
$ secrets
Traceback (most recent call last):
File "/usr/bin/secrets", line 66, in <module>
main()
File "/usr/bin/secrets", line 57, in main
from gsecrets.application import Application
File "/usr/lib/python3.11/site-packages/gsecrets/application.py", line 10, in <module>
from gsecrets.widgets.mod import load_widgets
File "/usr/lib/python3.11/site-packages/gsecrets/widgets/mod.py", line 10, in <module>
from gsecrets.widgets.credentials_group import CredentialsGroup
File "/usr/lib/python3.11/site-packages/gsecrets/widgets/credentials_group.py", line 9, in <module>
from gsecrets.unlocked_database import UnlockedDatabase
File "/usr/lib/python3.11/site-packages/gsecrets/unlocked_database.py", line 26, in <module>
from gsecrets.widgets.search import Search
File "/usr/lib/python3.11/site-packages/gsecrets/widgets/search.py", line 9, in <module>
from pykeepass.group import Group
File "/usr/lib/python3.11/site-packages/pykeepass/__init__.py", line 4, in <module>
from .version import __version__
File "/usr/lib/python3.11/site-packages/pykeepass/version.py", line 4, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
```Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15321Add Python package: `diceware`2023-10-10T18:36:48ZSander MaijersAdd Python package: `diceware`[`diceware`](https://github.com/ulif/diceware) is a small CLI utility to generate secure passphrases.
As far as I can tell, it’s the most-used, most reputable and most well-maintained specific tool for this on Linux.
See: https://super...[`diceware`](https://github.com/ulif/diceware) is a small CLI utility to generate secure passphrases.
As far as I can tell, it’s the most-used, most reputable and most well-maintained specific tool for this on Linux.
See: https://superuser.com/questions/237228/command-line-tool-to-generate-memorable-passwords.
I use it in CI/CD workflows.
![Secure passphrases](https://imgs.xkcd.com/comics/password_strength.png)https://gitlab.alpinelinux.org/alpine/aports/-/issues/14938Package request: pdfsizeopt2023-06-22T16:21:48ZJ0WIPackage request: pdfsizeopthttps://github.com/pts/pdfsizeopthttps://github.com/pts/pdfsizeopthttps://gitlab.alpinelinux.org/alpine/aports/-/issues/14911[Package request]: Reminders2023-10-25T19:02:11ZMarek Ľach[Package request]: RemindersA nice little app to set task reminders with.
`Source code repo:` https://github.com/remindersdevs/Reminders
`License`: GPLv3
`Dependencies`: python, libadwaita, webkitgtk, glib ...A nice little app to set task reminders with.
`Source code repo:` https://github.com/remindersdevs/Reminders
`License`: GPLv3
`Dependencies`: python, libadwaita, webkitgtk, glib ...https://gitlab.alpinelinux.org/alpine/aports/-/issues/14392community/poetry: error when trying to invoke2022-12-04T08:35:52ZJacek Pruciakcommunity/poetry: error when trying to invoke```
/ # poetry --help
Traceback (most recent call last):
File "/usr/bin/poetry", line 5, in <module>
from poetry.console.application import main
File "/usr/lib/python3.11/site-packages/poetry/console/application.py", line 15, in ...```
/ # poetry --help
Traceback (most recent call last):
File "/usr/bin/poetry", line 5, in <module>
from poetry.console.application import main
File "/usr/lib/python3.11/site-packages/poetry/console/application.py", line 15, in <module>
from cleo.exceptions import CleoException
ImportError: cannot import name 'CleoException' from 'cleo.exceptions' (/usr/lib/python3.11/site-packages/cleo/exceptions/__init__.py)
```
This error occurs on edge branch and happens at least at aarch64 and riscv64.https://gitlab.alpinelinux.org/alpine/aports/-/issues/14161Package Request: tpm2-pytss2022-10-10T20:17:44ZJ0WIPackage Request: tpm2-pytsshttps://github.com/tpm2-software/tpm2-pytss
required for `testing/tpm2-pkcs11`https://github.com/tpm2-software/tpm2-pytss
required for `testing/tpm2-pkcs11`https://gitlab.alpinelinux.org/alpine/aports/-/issues/13811Python struct module broken on ppc64le2022-08-03T04:25:47ZDaniele VarrazzoPython struct module broken on ppc64leOn Alpine linux (Docker image `quay.io/pypa/manylinux_2_24_ppc64le:2022-04-03-da6ecb3` I believe), on ppc64le architecture, Python returns the wrong result:
`struct.Struct('!f').pack(1.0).hex()` = `'00000000'`
The correct result `'3f80...On Alpine linux (Docker image `quay.io/pypa/manylinux_2_24_ppc64le:2022-04-03-da6ecb3` I believe), on ppc64le architecture, Python returns the wrong result:
`struct.Struct('!f').pack(1.0).hex()` = `'00000000'`
The correct result `'3f800000'` is returned by Alpine on different platforms and on the same platform by libc-based Linux.
Original issue: https://github.com/psycopg/psycopg/issues/304
Reported to CPython at https://github.com/python/cpython/issues/92826https://gitlab.alpinelinux.org/alpine/aports/-/issues/13508Fix check for some Python packages2023-07-24T08:06:56ZPatrycja Rosaalpine@ptrcnull.meFix check for some Python packagesnewapkbuild seems to add `python3 setup.py check` to new Python packages' check function - that's not actually running any tests, just checking if metadata of the package is correct (see [here](https://docs.python.org/3.10/distutils/apir...newapkbuild seems to add `python3 setup.py check` to new Python packages' check function - that's not actually running any tests, just checking if metadata of the package is correct (see [here](https://docs.python.org/3.10/distutils/apiref.html#module-distutils.command.check)), which is useful to upstream devs but not so much for distro packaging
**list of affected packages:**
main:
- [x] meson (!29489)
- [x] py3-bcrypt (!30697)
- [x] py3-cairo (!30698)
- [x] py3-certifi (1085da3c)
- [x] py3-extras (!30717)
- [x] py3-fixtures (!30721)
- [x] py3-future (!30755)
- [x] py3-lxml (!30710)
- [x] py3-monotonic (!31603)
- [x] py3-pbr (!30757)
- [x] py3-pexpect (!30756)
- [x] py3-pynacl (!30713)
- [x] py3-pytest (!30773)
- [x] py3-sphinxcontrib-websupport (3b612e0d)
- [x] py3-testtools (!30769)
- [x] py3-urllib3 (!30709)
- [x] py3-wcwidth (!30711)
- [x] scons (!30766)
- [x] speedtest-cli (!30696)
community:
- [ ] aws-cli
- [x] certbot (!30688)
- [x] cloud-init (!30874)
- [x] docker-py (!30875)
- [x] electrum (!30741)
- [ ] git-review
- [x] gvm-tools (63e49c536a7)
- [ ] mate-tweak
- [x] ospd (51a71b185540)
- [x] ospd-openvas (24ed5058fc5)
- [ ] py3-aiohttp (!36944)
- [x] py3-aiohttp-socks (!36946)
- [x] py3-aiorpcx (!36947)
- [ ] py3-aiosignal
- [x] py3-alembic
- [ ] py3-anytree (!37088)
- [ ] py3-apache-libcloud
- [x] ~~py3-argparse~~
- [ ] py3-async_generator
- [ ] py3-blist
- [ ] py3-botocore
- [ ] py3-cached-property
- [ ] py3-cheetah
- [ ] py3-construct
- [ ] py3-cx_freeze
- [ ] py3-decorator (!36970)
- [ ] py3-dialog
- [ ] py3-distutils-extra
- [ ] py3-django-oscar
- [ ] py3-django-registration
- [x] py3-dotenv (!36964)
- [ ] py3-fasteners
- [x] py3-frozenlist (!36968)
- [ ] py3-gettext (!36948)
- [x] py3-gvm (88db827bc272)
- [ ] py3-icu
- [ ] py3-josepy
- [ ] py3-jsonrpclib
- [x] py3-mechanize (!37089)
- [ ] py3-netifaces
- [ ] py3-pdfrw
- [ ] py3-prompt_toolkit
- [ ] py3-psutil
- [ ] py3-pyaes
- [ ] py3-pysocks
- [ ] py3-rpigpio
- [ ] py3-scp
- [x] py3-secretstorage (!36793)
- [x] py3-solo1 (8081e96c)
- [ ] py3-sqlalchemy-migrate
- [ ] py3-unicodecsv (!36967)
- [ ] py3-zabbix (!37098)
- [ ] scapy
- [x] terminator (!30695)
- [x] virt-manager (!30690)
- [ ] you-get
- [ ] yubikey-manager
testing:
- [ ] awslogs
- [ ] bump2version
- [ ] gaupol
- [ ] guake
- [ ] junit2html
- [ ] nyx
- [ ] openscap-daemon
- [ ] ospd-acunetix
- [ ] ospd-debsecan
- [ ] ospd-ikescan
- [ ] ospd-nmap
- [ ] ospd-paloalto
- [ ] py3-apsw
- [ ] py3-blockchain
- [ ] py3-bump2version
- [ ] py3-cchardet
- [ ] py3-fpdf
- [ ] py3-kerberos
- [ ] py3-libacl
- [ ] py3-netmiko
- [ ] py3-pam
- [ ] py3-pefile
- [ ] py3-pg_activity
- [ ] py3-pgspecial
- [ ] py3-pyautogui
- [ ] py3-pygdbmi
- [ ] py3-pyte
- [ ] py3-sphinx-theme-better
- [ ] py3-stem
- [ ] py3-terminaltables
- [ ] py3-tls_parser
- [ ] py3-ufonormalizer
- [ ] py3-xmldiff
- [ ] py3-yara
- [ ] s3cmd
- [ ] solaar
- [ ] tartube
- [ ] thefuck
- [ ] vidcutter
- [ ] volatility3https://gitlab.alpinelinux.org/alpine/aports/-/issues/13364poetry package installing to wrong location in edge2021-12-30T00:04:36ZEdd Salkieldpoetry package installing to wrong location in edgeCurrently the poetry package is installing to `/usr/lib/python3.9` rather than `/usr/lib/python3.10`. This causes poetry to fail on edge, where `python3.10` is the default.
```
henleybeach:~$ poetry
Traceback (most recent call last):
...Currently the poetry package is installing to `/usr/lib/python3.9` rather than `/usr/lib/python3.10`. This causes poetry to fail on edge, where `python3.10` is the default.
```
henleybeach:~$ poetry
Traceback (most recent call last):
File "/usr/bin/poetry", line 5, in <module>
from poetry.console import main
ModuleNotFoundError: No module named 'poetry.console'
henleybeach:~$ PYTHONPATH=/usr/lib/python3.9/site-packages/ poetry
Poetry version 1.1.12
...
```
My guess is that this package therefore needs to be rebuilt. Is there a process in place that's supposed to detect when packages like this need to be rebuilt due to a version migration?https://gitlab.alpinelinux.org/alpine/aports/-/issues/12848Package Request: py3-keras2022-09-28T11:34:09ZJ0WIPackage Request: py3-keras- https://keras.io/
- https://github.com/keras-team/keras- https://keras.io/
- https://github.com/keras-team/kerashttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12752py3-setuptools: Conflicts with python32022-07-06T12:04:22ZJ. R. Schmidpy3-setuptools: Conflicts with python3As discussed on IRC:
> py3-setuptools was built-in into python3, but has been separated
>
> we need to tell apk that it's alright for this package to take over the files from python3As discussed on IRC:
> py3-setuptools was built-in into python3, but has been separated
>
> we need to tell apk that it's alright for this package to take over the files from python3https://gitlab.alpinelinux.org/alpine/aports/-/issues/12740Drop python22022-07-06T11:44:05ZNatanael CopaDrop python2There is no support for python2 from upstream anymore, so we should get rid of it in our remaining packages:
### community
- [x] chromium
- [x] nodejs8
- [x] qt5-qtwebengine
### testing
- [x] node-libpg-query (https://gitlab.alpineli...There is no support for python2 from upstream anymore, so we should get rid of it in our remaining packages:
### community
- [x] chromium
- [x] nodejs8
- [x] qt5-qtwebengine
### testing
- [x] node-libpg-query (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/31016)
- [x] proot (checkdepends - runs with 3)
- [x] pypy (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26176)
- [x] qt6-qtwebengine
- [x] seamonkey (removed)
- [x] py2-setuptools/python2 (last to go)
- [x] rdiff-backup1 (maybe should be dropped? 2.x exists)https://gitlab.alpinelinux.org/alpine/aports/-/issues/12718community/py3-pyside6-6.0.4-r0: build failure on armhf2022-07-30T04:47:31ZKevin Daudtcommunity/py3-pyside6-6.0.4-r0: build failure on armhfpy3-pyside6 fails to build on armhf with:
```
Traceback (most recent call last):
File "/home/buildozer/aports/community/py3-pyside6/src/pyside-setup-opensource-src-6.0.4/sources/pyside6/PySide6/QtOpenGLFunctions/../support/generate_py...py3-pyside6 fails to build on armhf with:
```
Traceback (most recent call last):
File "/home/buildozer/aports/community/py3-pyside6/src/pyside-setup-opensource-src-6.0.4/sources/pyside6/PySide6/QtOpenGLFunctions/../support/generate_pyi.py", line 322, in <module>
generate_all_pyi(outpath, options=options)
File "/home/buildozer/aports/community/py3-pyside6/src/pyside-setup-opensource-src-6.0.4/sources/pyside6/PySide6/QtOpenGLFunctions/../support/generate_pyi.py", line 301, in generate_all_pyi
generate_pyi(import_name, outpath, options)
File "/home/buildozer/aports/community/py3-pyside6/src/pyside-setup-opensource-src-6.0.4/sources/pyside6/PySide6/QtOpenGLFunctions/../support/generate_pyi.py", line 219, in generate_pyi
top = __import__(import_name)
File "/usr/lib/python3.9/site-packages/shiboken6/files.dir/shibokensupport/feature.py", line 140, in _import
return original_import(name, *args, **kwargs)
ImportError: Error relocating /home/buildozer/aports/community/py3-pyside6/src/pyside-setup-opensource-src-6.0.4/build/PySide6/QtOpenGLFunctions.cpython-39-arm-linux-musleabihf.so: _Z35init_QOpenGLVersionFunctionsFactoryP7_object: symbol not found
make[2]: *** [PySide6/QtOpenGLFunctions/CMakeFiles/QtOpenGLFunctions_pyi.dir/build.make:70: PySide6/QtOpenGLFunctions/CMakeFiles/QtOpenGLFunctions_pyi] Error 1
make[1]: *** [CMakeFiles/Makefile2:1562: PySide6/QtOpenGLFunctions/CMakeFiles/QtOpenGLFunctions_pyi.dir/all] Error 2
```
It has been disabled for now on armhf.
See: https://build.alpinelinux.org/buildlogs/build-3-14-armhf/community/py3-pyside6/py3-pyside6-6.0.4-r0.logLuca WeissLuca Weisshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12709testing/py3-imageio-2.9.0-r0: 2 test failures2021-06-10T08:44:55ZKevin Daudttesting/py3-imageio-2.9.0-r0: 2 test failuresWhen building for 3.14, there are test failures:
```
_____________________________ test_read_and_write ______________________________
> assert diff.mean() < 2.5
E assert 7.333151 < 2.5
E + whe...When building for 3.14, there are test failures:
```
_____________________________ test_read_and_write ______________________________
> assert diff.mean() < 2.5
E assert 7.333151 < 2.5
E + where 7.333151 = <built-in method mean of Array object at 0x7ebca63a2820>()
E + where <built-in method mean of Array object at 0x7ebca63a2820> = Array([[[ 0., 1., 0.],\n [ 0., 1., 0.],\n [ 0., 1., 0.],\n ...,\n [12., 11., 12.],\n ...8., 8., 7.],\n ...,\n [ 8., 8., 8.],\n [ 8., 8., 8.],\n [ 8., 8., 8.]]], dtype=float32).mean
__________________________ test_write_not_contiguous ___________________________
> assert diff.mean() < 2.5
E assert 7.4026303 < 2.5
E + where 7.4026303 = <built-in method mean of Array object at 0x7ebca4d58580>()
E + where <built-in method mean of Array object at 0x7ebca4d58580> = Array([[[ 0., 1., 0.],\n [ 0., 1., 0.],\n [ 0., 1., 0.],\n ...,\n [12., 11., 12.],\n ...2., 11., 13.],\n ...,\n [ 9., 9., 9.],\n [11., 11., 11.],\n [11., 11., 11.]]], dtype=float32).mean
```
See: https://build.alpinelinux.org/buildlogs//build-edge-ppc64le/testing/py3-imageio/py3-imageio-2.9.0-r0.log3.14.0Antoni Aloy TorrensAntoni Aloy Torrenshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12699community/py3-secure-cookie-0.1.0-r1: test failure due to removed module in w...2021-05-26T14:09:46ZKevin Daudtcommunity/py3-secure-cookie-0.1.0-r1: test failure due to removed module in werkzeugpy3-secure-cookie has a test failure:
```==================================== ERRORS ====================================
_________________ ERROR collecting tests/test_securecookie.py __________________
ImportError while importing test ...py3-secure-cookie has a test failure:
```==================================== ERRORS ====================================
_________________ ERROR collecting tests/test_securecookie.py __________________
ImportError while importing test module '/home/buildozer/aports/community/py3-secure-cookie/src/secure-cookie-0.1.0/tests/test_securecookie.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_securecookie.py:8: in <module>
from secure_cookie.cookie import SecureCookie
build/lib/secure_cookie/cookie.py:117: in <module>
from .session import ModificationTrackingDict
build/lib/secure_cookie/session.py:98: in <module>
from werkzeug.posixemulation import rename
E ModuleNotFoundError: No module named 'werkzeug.posixemulation'
___________________ ERROR collecting tests/test_sessions.py ____________________
ImportError while importing test module '/home/buildozer/aports/community/py3-secure-cookie/src/secure-cookie-0.1.0/tests/test_sessions.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_sessions.py:4: in <module>
from secure_cookie.session import FilesystemSessionStore
build/lib/secure_cookie/session.py:98: in <module>
from werkzeug.posixemulation import rename
E ModuleNotFoundError: No module named 'werkzeug.posixemulation'
```
Note that this is not just a test failure, the error happens in the library itself.
Upstream created an issue for it, but did not fix it yet: https://github.com/pallets/secure-cookie/issues/12
See: https://build.alpinelinux.org/buildlogs/build-3-14-x86/community/py3-secure-cookie/py3-secure-cookie-0.1.0-r1.log3.14.0Michał PolańskiMichał Polańskihttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12604setuptools>52.0.0-r0 do not recognize `entry_points`2022-10-04T01:47:42ZLeosetuptools>52.0.0-r0 do not recognize `entry_points`As stated in the title the `entry_points` section of a setup.py or setup.cfg file is not recognized causing the package to not install any binaries into `/usr/bin`.
Our package de-vendors upstream dependencies and Arch Linux is in 54.2....As stated in the title the `entry_points` section of a setup.py or setup.cfg file is not recognized causing the package to not install any binaries into `/usr/bin`.
Our package de-vendors upstream dependencies and Arch Linux is in 54.2.0 with no bug reports related to it.
@ddevaultLeoLeo