Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2022 20:25:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 264657] security/libpwquality:  broken python bindings
Message-ID:  <bug-264657-39348-OWoOPVzmJ6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264657-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264657-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264657

--- Comment #20 from alt2600@icloud.com ---
so bumping py-setuptools to 65.5.0 doesn't fix anything

so no idea how to make this happy short of turning off the bindings. I'm
digging through Mk/Uses/python.mk but nothing is sticking out to me, as I h=
ave
never had any luck doing anything with python because it usually ends with
errors like these. I'm looking at maybe pip install, but no idea how to hack
that in.=20



/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and=
 pip
and other standards-based tools.
  warnings.warn(
/usr/local/lib/python3.9/site-packages/setuptools/command/easy_install.py:1=
44:
EasyInstallDeprecationWarning: easy_install command is deprecated. Use build
and pip and other standards-based tools.
  warnings.warn(
Checking .pth file support in
/usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa=
ckages/
/usr/local/bin/python3.9 -E -c pass
TEST FAILED:
/usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa=
ckages/
does NOT support .pth files
bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

=20=20=20
/usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa=
ckages/

and your PYTHONPATH environment variable currently contains:

    ''

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:

=20
https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-in=
stallation-locations

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264657-39348-OWoOPVzmJ6>