×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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.
>       --
>       This is the IBMi Open Source Roundtable (OpenSource) mailing
list
>       To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
>       To subscribe, unsubscribe, or change list options,
>       visit:
[2][2]https://lists.midrange.com/mailman/listinfo/opensource ;
>       or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
>       Before posting, please take a moment to review the archives
>       at [3][3]https://archive.midrange.com/opensource  ;.
>
>       Help support midrange.com by shopping at amazon.com with our
affiliate
>       link: [4][4]https://amazon.midrange.com ;
>        
>
>      
>
> References
>
>     Visible links
>     1. [5]https://github.com/pypa/pip/pull/2618 ;
>     2. [6]https://lists.midrange.com/mailman/listinfo/opensource ;
>     3. [7]https://archive.midrange.com/opensource ;
>     4. [8]https://amazon.midrange.com/ ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [9]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [10]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [11]https://amazon.midrange.com ;
 

 

References

Visible links
1. https://github.com/pypa/pip/pull/2618
2. https://lists.midrange.com/mailman/listinfo/opensource
3. https://archive.midrange.com/opensource
4. https://amazon.midrange.com/
5. https://github.com/pypa/pip/pull/2618
6. https://lists.midrange.com/mailman/listinfo/opensource
7. https://archive.midrange.com/opensource
8. https://amazon.midrange.com/
9. https://lists.midrange.com/mailman/listinfo/opensource
10. https://archive.midrange.com/opensource
11. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.