Package Details: python-url-normalize 1.4.3-17

Git Clone URL: https://aur.archlinux.org/python-url-normalize.git (read-only, click to copy)
Package Base: python-url-normalize
Description: URL normalization for Python
Upstream URL: https://github.com/niksite/url-normalize
Keywords: normalization uri
Licenses: MIT
Submitter: Kernald
Maintainer: carlosal1015 (JWCook, AutoUpdateBot)
Last Packager: carlosal1015
Votes: 8
Popularity: 0.000000
First Submitted: 2021-05-05 00:38 (UTC)
Last Updated: 2023-05-05 17:33 (UTC)

Latest Comments

1 2 3 4 Next › Last »

micwoj92 commented on 2025-03-04 22:37 (UTC) (edited on 2025-03-04 22:40 (UTC) by micwoj92)

@carlosal1015 please switch to using python-poetry-core. You mentioned this in comment 3 years ago.

EDIT: nvm, it still requires python-poetry

carlosal1015 commented on 2023-05-20 23:59 (UTC)

Hi @hexadecagram, is an interesting issue, what is the further problem.

hexadecagram commented on 2023-05-20 23:55 (UTC)

This package still installs into /usr/lib/python3.10/, which breaks the build now that the python package has been upgraded to 3.11.

carlosal1015 commented on 2022-01-20 13:48 (UTC)

Reminder for the future, use python-poetry-core.

carlosal1015 commented on 2022-01-06 00:59 (UTC)

Thank you very much @bpierre for help us.

bpierre commented on 2022-01-05 23:29 (UTC)

IMHO, you could just lighten the build requirements: both the coverage and flakes Pytest plugins only make sense for the maintainer / developer of the package. To disable those:

 PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git i/PKGBUILD w/PKGBUILD
index 9ced4a8..667c654 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -12,7 +12,7 @@ url="https://github.com/niksite/${_base}"
 license=(MIT)
 depends=(python-six)
 makedepends=(python-build python-install python-poetry)
-checkdepends=(python-pytest-cov python-pytest-flakes python-pytest-socket)
+checkdepends=(python-pytest-socket)
 source=(${url}/archive/${pkgver}.tar.gz)
 sha512sums=('46eaa1753b37e89d56cb19818144a7cf5b38653811720eb506732c35bb3732ef0c556420b22a9ee2c08e70e5b408aab7f44cea5e15d1ebe3d717c0c77706bfb8')

@@ -26,7 +26,7 @@ build() {

 check() {
   cd "${_base}-${pkgver}"
-  pytest tests
+  pytest -o addopts=--disable-socket tests
 }

 package() {

carlosal1015 commented on 2022-01-05 22:57 (UTC)

I publish this issue https://github.com/niksite/url-normalize/issues/29 because recently the tests are falling, some hint to modify the PKGBUILD will be appreciated.

carlosal1015 commented on 2021-10-28 23:21 (UTC)

Thank you @bpierre for inspecting the PKGBUILD, you are right.

bpierre commented on 2021-10-28 16:26 (UTC)

PYTHONPYCACHEPREFIX should not be set during the install phase as it prevents the inclusion of precompiled optimized bytecode in the final package. Minor nitpick: you have a duplicate --optimize=1 argument in the install call.

carlosal1015 commented on 2021-10-02 00:31 (UTC)

Thank you very much @shanewstone and wuggen, also @jxir. Now is installing, no issues anymore. Happy python-requests-cache.