|
Sorry, that was my confusion due to venv automatically installing pip 18.1
which is neither the version installed from rpm, nor the newest version
available. I assumed that 18.1 must be the version in rpm (been a while
since I looked at the pip version we ship).
Ok, now that we got that sorted, I found that pip _does_ automatically
build and install wheels _if_ the wheel package is installed, which
apparently is not the default. After installing the wheel package, I now
see the METADATA file and again see
Requires-Dist: tornado (<6) ; python_version == "2.7"
Requires-Dist: tornado ; python_version > "2.7"
just like on Linux. I got the same result with 9.0.1, 18.1, and 20.3.3 so
I'm not sure how you got the result you did.
----- Original message -----
From: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: opensource@xxxxxxxxxxxxxxxxxx
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Python, ACS, Open Source and MKDocs **
SOLVED **
Date: Mon, Dec 21, 2020 6:05 PM
pip 9.0.1 from /QOpenSys/pkgs/lib/python3.6/site-packages (python 3.6)
On 12/21/2020 5:59 PM, Kevin Adler wrote:
> This is what I see on a Linux venv:
>
> Requires-Dist: tornado (<6) ; python_version == "2.7"
> Requires-Dist: tornado ; python_version > "2.7"
>
>
> I installed livereload in a venv an it didn't even make a METADATA
file,
> though. These are only created when installing from wheels, but
livereload
> only provides tar.gz source distributions. Of course, pip since v7
should
> auto build wheels and install from those
> ([1][1]https://github.com/pypa/pip/pull/2618 ;), but that's not
working for me
> for some reason. From your pip3 list, you're using 9.0.1? I'm not
sure how
> you got that version. Are you sure you were running pip3 from rpm?
Try
> running /QOpenSys/pkgs/bin/pip3 --version.
>
>
> ----- Original message -----
> From: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
> Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
> To: opensource@xxxxxxxxxxxxxxxxxx
> Cc:
> Subject: [EXTERNAL] Re: [IBMiOSS] Python, ACS, Open Source and
MKDocs **
> SOLVED **
> Date: Mon, Dec 21, 2020 5:28 PM
>
> Yeah, that makes sense, Kevin. The METADATA generation should
have been
> conditioned.
>
> On 12/21/2020 5:25 PM, Kevin Adler wrote:
> > Glad you got it figured out. My guess is that setuptools
should
> have
> > inserted one or another line depending on the version of
python
> you're
> > installing with not both.
> >
> > eg. pip2 install livereload -> Requires-Dist: tornado
(<6), pip3
> install
> > livereload -> Requires-Dist: tornado
> >
> > Now that you nailed down the culprit, I can do some
further
> digging.
> --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.