Coder Social home page Coder Social logo

pip-feedstock's Introduction

About pip-feedstock

Feedstock license: BSD-3-Clause

Home: https://pip.pypa.io/en/stable/

Package license: MIT

Summary: PyPA recommended tool for installing Python packages

Development: https://github.com/pypa/pip

Documentation: https://pip.pypa.io/en/stable/

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing pip

Installing pip from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, pip can be installed with conda:

conda install pip

or with mamba:

mamba install pip

It is possible to list all of the versions of pip available on your platform with conda:

conda search pip --channel conda-forge

or with mamba:

mamba search pip --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search pip --channel conda-forge

# List packages depending on `pip`:
mamba repoquery whoneeds pip --channel conda-forge

# List dependencies of `pip`:
mamba repoquery depends pip --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating pip-feedstock

If you would like to improve the pip recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/pip-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

pip-feedstock's People

Contributors

antoined avatar beckermr avatar chrisburr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar forrestwaters avatar github-actions[bot] avatar hmaarrfk avatar isuruf avatar jakirkham avatar jjhelmus avatar mariusvniekerk avatar mwcraig avatar nehaljwani avatar ocefpaf avatar regro-cf-autotick-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pip-feedstock's Issues

noarch package possible?

For deprecated (but still used) Python versions it would be very nice to have a pip version in place, which supports pep517. Older versions of pip contains bugs concerning pep517 rendering it effectively useless for that manner.

pip 18.1 seems to contact pypi in the cleanup phase

Issue:
It seems that pip 18.1 is trying to contact pypi in the cleaning up phase of building a recipe
See
https://travis-ci.org/conda-forge/celiagg-feedstock/jobs/438435703#L758
https://circleci.com/gh/conda-forge/celiagg-feedstock/79?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Builds of:
conda-forge/celiagg-feedstock#4

And you can trust that it happens on windows too, a snippet from my local machine:
Cleaning up...
Removed build tracker 'C:\\Users\\mark\\AppData\\Local\\Temp\\pip-req-tracker-mjcpd6gi'
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
1 location(s) to search for versions of pip:
* https://pypi.org/simple/pip/
Getting page https://pypi.org/simple/pip/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pip/ HTTP/1.1" 200 10163
Analyzing links from page https://pypi.org/simple/pip/
  Found link https://files.pythonhosted.org/packages/3d/9d/1e313763bdfb6a48977b65829c6ce2a43eaae29ea2f907c8bbef024a7219/pip-0.2.tar.gz#sha256=88bb8d029e1bf4acd0e04d300104b7440086f94cc1ce1c5c3c31e3293aee1f81 (from https://pypi.org/simple/pip/), version: 0.
The following NEW packages will be INSTALLED:

    blas:           1.1-openblas                        conda-forge
    celiagg:        1.0.3-py36h0f91c3a_0                local
    certifi:        2018.8.24-py36_1001                 conda-forge
    freetype:       2.9.1-he8b6a0d_1004                 conda-forge
    libflang:       5.0.0-vc14_20180208                 conda-forge [vc14         ]
    libpng:         1.6.34-vc14_0                       conda-forge [vc14         ]
    llvm-meta:      5.0.0-0                             conda-forge
    numpy:          1.15.2-py36_blas_openblash8d851b4_1 conda-forge [blas_openblas]
    openblas:       0.2.20-vc14_8                       conda-forge [vc14         ]
    openmp:         5.0.0-vc14_1                        conda-forge [vc14         ]
    pip:            18.1-py36_1000                      conda-forge
    python:         3.6.6-he025d50_0                    conda-forge
    setuptools:     40.4.3-py36_0                       conda-forge
    vc:             14-0                                conda-forge
    vs2015_runtime: 14.0.25420-0                        conda-forge
    wheel:          0.32.1-py36_0                       conda-forge
    wincertstore:   0.2-py36_1002                       conda-forge
    zlib:           1.2.11-vc14_0                       conda-forge [vc14         ]


>conda info

     active environment : base
    active env location : C:\Users\mark\Miniconda3
            shell level : 1
       user config file : C:\Users\mark\.condarc
 populated config files : C:\Users\mark\.condarc
          conda version : 4.5.11
    conda-build version : 3.16.0
         python version : 3.6.6.final.0
       base environment : C:\Users\mark\Miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/ramonaoptics/win-64
                          https://conda.anaconda.org/ramonaoptics/noarch
                          https://conda.anaconda.org/mark.harfouche/win-64
                          https://conda.anaconda.org/mark.harfouche/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\mark\Miniconda3\pkgs
                          C:\Users\mark\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\mark\Miniconda3\envs
                          C:\Users\mark\AppData\Local\conda\conda\envs
                          C:\Users\mark\.conda\envs
               platform : win-64
             user-agent : conda/4.5.11 requests/2.18.4 CPython/3.6.6 Windows/10 Windows/10.0.17134
          administrator : False
             netrc file : None
           offline mode : False

Version 21.2.1 breaks "-r file:" identifiers

StackOverflow: https://stackoverflow.com/q/68571543/570918

Overview

Using a file: identifier in pip install -r commands results in FileNotFoundError error. This only appears to impact pip==21.2.1. Removing the file: identifier resolves issue.

Reproduce

Files

env.yaml

name: foo
channels:
  - conda-forge
dependencies:
  - python=3.9
  - pip=21.2.1
  - pip:
    - -r file:requirements.txt

requirements.txt

numpy

Commands

conda env create -f env.yaml

Result

Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/Users/mfansler/miniconda3/envs/foo/bin/python', '-m', 'pip', 'install', '-U', '-r', '/Users/mfansler/scratch/req/condaenv.kodk0gvc.requirements.txt']
Pip subprocess output:

Pip subprocess error:
ERROR: Exception:
Traceback (most recent call last):
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
    status = self.run(options, args)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
    return func(self, options, args)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 286, in run
    reqs = self.get_requirements(args, options, finder, session)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 384, in get_requirements
    for parsed_req in parse_requirements(
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 135, in parse_requirements
    for parsed_line in parser.parse(filename, constraint):
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 319, in parse
    yield from self._parse_and_recurse(filename, constraint)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 348, in _parse_and_recurse
    yield from self._parse_and_recurse(req_path, nested_constraint)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 324, in _parse_and_recurse
    for line in self._parse_file(filename, constraint):
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 353, in _parse_file
    _, content = get_file_content(filename, self._session)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 518, in get_file_content
    resp = session.get(url)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/network/session.py", line 454, in request
    return super().request(method, url, *args, **kwargs)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 697, in send
    r.content
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 836, in content
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 769, in generate
    chunk = self.raw.read(chunk_size)
AttributeError: 'FileNotFoundError' object has no attribute 'read'
|
failed

CondaEnvException: Pip failed

Temporary Workarounds

Leaving out the file: identifier works:

env.yaml

name: foo
channels:
  - conda-forge
dependencies:
  - python=3.9
  - pip=21.2.1
  - pip:
    - -r requirements.txt

Alternatively, previous version works:

env.yaml

name: foo
channels:
  - conda-forge
dependencies:
  - python=3.9
  - pip=21.1.3
  - pip:
    - -r file:requirements.txt

Additional Comments

This is likely an upstream issue, but at the least this can serve as a note on the release for others who may encounter it.

Pip 22 shipping for 3.6!

Pip 22 doesn’t support python 3.6, but it hasn’t been updated here. So this is breaking builds using 3.6.

This need to be updated (#88), and the old versions excluded on 3.6.

Maybe a general test for python requires would be useful in the infrastructure?

Create an additional entry point for pip3??

Issue:
A few instructions on the web like to specify pip3 instead of pip, but if you try to call pip3 you would likely get ubuntu's pip version:

12:40 $ conda activate base
(base) ✔ ~ 
12:40 $ which pip3
/usr/bin/pip3

Environment (conda list):
$ conda list
# packages in environment at /home/mark/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       0_gnu    conda-forge
anaconda-client           1.7.2                      py_0    conda-forge
attrs                     19.3.0                     py_0    conda-forge
beautifulsoup4            4.9.1            py37hc8dfbb8_0    conda-forge
blinker                   1.4                        py_1    conda-forge
boolean.py                3.7                        py_0    conda-forge
brotlipy                  0.7.0           py37h8f50634_1000    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37hd463f26_0    conda-forge
chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
clyent                    1.2.2                      py_1    conda-forge
conda                     4.8.3            py37hc8dfbb8_2    ramonaoptics
conda-build               3.19.2           py37hc8dfbb8_2    conda-forge
conda-forge-pinning       2020.05.18.14.31.44               0    conda-forge
conda-package-handling    1.6.0            py37h8f50634_2    conda-forge
conda-smithy              3.7.3                      py_0    conda-forge
cookies                   2.2.1                      py_0    conda-forge
cryptography              2.9.2            py37hb09aad4_0    conda-forge
curl                      7.69.1               h33f0ec9_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
deprecated                1.2.10             pyh9f0ad1d_0    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
filelock                  3.0.10                     py_0    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
git                       2.26.2          pl526h5e3e691_0    conda-forge
gitdb                     4.0.5                      py_0    conda-forge
gitpython                 3.1.2                      py_0    conda-forge
glob2                     0.7                        py_0    conda-forge
icu                       67.1                 he1b5a44_0    conda-forge
idna                      2.9                        py_1    conda-forge
importlib-metadata        1.6.0            py37hc8dfbb8_0    conda-forge
importlib_metadata        1.6.0                         0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
isodate                   0.6.0                      py_1    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
krb5                      1.17.1               h2fd8d38_0    conda-forge
ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
libarchive                3.3.3             h3a8160c_1008    conda-forge
libcurl                   7.69.1               hf7181ac_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgomp                   9.2.0                h24d8f2e_2    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
liblief                   0.9.0                hf8a498c_1    conda-forge
libsolv                   0.7.13               h8b12597_2    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libxml2                   2.9.10               h72b56ed_1    conda-forge
license-expression        1.2                        py_0    conda-forge
lz4-c                     1.9.2                he1b5a44_1    conda-forge
lzo                       2.10              h14c3975_1000    conda-forge
mamba                     0.2.9            py37h6d3251c_0    conda-forge
markupsafe                1.1.1            py37h8f50634_1    conda-forge
mock                      4.0.2            py37hc8dfbb8_0    conda-forge
more-itertools            8.3.0                      py_0    conda-forge
msrest                    0.6.10                     py_0    conda-forge
nbformat                  5.0.6                      py_0    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
oauthlib                  3.0.1                      py_0    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
packaging                 20.4               pyh9f0ad1d_0    conda-forge
patchelf                  0.10                 he1b5a44_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
perl                      5.26.2            h516909a_1006    conda-forge
pip                       20.1               pyh9f0ad1d_0    conda-forge
pkginfo                   1.5.0.1                    py_0    conda-forge
pluggy                    0.13.1           py37hc8dfbb8_1    conda-forge
prompt-toolkit            3.0.5                      py_0    conda-forge
prompt_toolkit            3.0.5                         0    conda-forge
psutil                    5.7.0            py37h8f50634_1    conda-forge
py                        1.8.1                      py_0    conda-forge
py-lief                   0.9.0            py37he1b5a44_1    conda-forge
pycosat                   0.6.3           py37h8f50634_1004    conda-forge
pycparser                 2.20                       py_0    conda-forge
pycrypto                  2.6.1           py37h8f50634_1004    conda-forge
pygithub                  1.43.6           py37hc8dfbb8_1    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pyjwt                     1.7.1                      py_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyrsistent                0.16.0           py37h8f50634_0    conda-forge
pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
pytest                    5.4.2            py37hc8dfbb8_0    conda-forge
python                    3.7.6           h8356626_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-libarchive-c       2.9                      py37_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pyyaml                    5.3.1            py37h8f50634_0    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
requests-oauthlib         1.2.0                      py_0    conda-forge
responses                 0.10.14            pyh9f0ad1d_0    conda-forge
ripgrep                   12.1.0               h516909a_0    conda-forge
ruamel.yaml               0.16.6           py37h8f50634_1    conda-forge
ruamel.yaml.clib          0.2.0            py37h8f50634_1    conda-forge
ruamel_yaml               0.15.80         py37h8f50634_1001    conda-forge
scrypt                    0.8.13           py37hb09aad4_3    conda-forge
setproctitle              1.1.10          py37h8f50634_1002    conda-forge
setuptools                46.4.0           py37hc8dfbb8_0    conda-forge
six                       1.14.0                     py_1    conda-forge
smmap                     3.0.4              pyh9f0ad1d_0    conda-forge
soupsieve                 2.0.1            py37hc8dfbb8_0    conda-forge
sqlite                    3.30.1               hcee41ef_0    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tqdm                      4.46.0             pyh9f0ad1d_0    conda-forge
traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
vsts-python-api           0.1.22                     py_0    conda-forge
wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
wheel                     0.34.2                     py_1    conda-forge
wrapt                     1.12.1           py37h8f50634_1    conda-forge
xonsh                     0.9.18           py37hc8dfbb8_0    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
yaml                      0.2.4                h516909a_0    conda-forge
zipp                      3.1.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.4                h6597ccf_3    conda-forge



Details about conda and system ( conda info ):
$ conda info

     active environment : base
    active env location : /home/mark/miniconda3
            shell level : 1
       user config file : /home/mark/.condarc
 populated config files : /home/mark/.condarc
          conda version : 4.8.3
    conda-build version : 3.19.2
         python version : 3.7.6.final.0
       virtual packages : __glibc=2.31
       base environment : /home/mark/miniconda3  (writable)
           channel URLs : 
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/mark/miniconda3/pkgs
                          /home/mark/.conda/pkgs
       envs directories : /home/mark/miniconda3/envs
                          /home/mark/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.6 Linux/5.4.0-31-generic ubuntu/20.04 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


pip does not set RPATH correctly with $ORIGIN

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

pyarrow 14.0.2 installed with pip, and pandas installed from conda-forge.

$ pip3 list -v|egrep '^(pyarrow|pandas)'
pandas                               2.0.3               /share/home/uuu/micromamba/envs/n311/lib/python3.11/site-packages conda
pyarrow                              14.0.2              /share/home/uuu/micromamba/envs/n311/lib/python3.11/site-packages pip

$ micromamba list|grep pandas
  pandas                                2.0.3            py311h320fe9a_1           conda-forge

$ readelf -d /share/home/uuu/micromamba/envs/n311/lib/python3.11/site-packages/pyarrow/libarrow.so.1400
Dynamic section at offset 0x289a528 contains 33 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [ld-linux-x86-64.so.2]
 0x000000000000000e (SONAME)             Library soname: [libarrow.so.1400]
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN]

$ readelf -d /share/home/uuu/micromamba/envs/n311/lib/python3.11/site-packages/pandas/_libs/window/aggregations.cpython-311-x86_64-linux-gnu.so

Dynamic section at offset 0x50778 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000f (RPATH)              Library rpath: [$ORIGIN/../../../../..]

So pip does not set rpath correctly. It should be better to modify its default behavior.

Installed packages

  python                                3.11.7           hab00c5b_1_cpython        conda-forge
  python_abi                            3.11             4_cp311                   conda-forge
  pip                                   23.3.2           pyhd8ed1ab_0              conda-forge
  pandas                                2.0.3            py311h320fe9a_1           conda-forge
  libstdcxx-devel_linux-64              13.2.0           ha9c7c90_103              conda-forge
  libstdcxx-ng                          13.2.0           h7e041cc_3                conda-forge
  libsystemd0                           255              h3516f8a_0                conda-forge
  gcc                                   13.2.0           h574f8da_2                conda-forge
  gcc_impl_linux-64                     13.2.0           h338b0a0_3                conda-forge

... ...

Environment info

libmamba version : 1.5.5
     micromamba version : 1.5.5
           curl version : libcurl/8.5.0 OpenSSL/3.2.0 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /share/home/uuu/micromamba/envs
          package cache : /share/home/uuu/micromamba/pkgs
                          /share/home/uuu/.mamba/pkgs
            environment : n311 (active)
           env location : /share/home/uuu/micromamba/envs/n311
      user config files : /share/home/uuu/.mambarc
 populated config files : /share/home/uuu/.condarc
       virtual packages : __unix=0=0
                          __linux=4.18.0=0
                          __glibc=2.28=0
                          __archspec=1=x86_64-v4
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://conda.anaconda.org/nodefaults/linux-64
                          https://conda.anaconda.org/nodefaults/noarch
                          https://conda.anaconda.org/pytorch/linux-64
                          https://conda.anaconda.org/pytorch/noarch
                          https://conda.anaconda.org/nvidia/linux-64
                          https://conda.anaconda.org/nvidia/noarch
                          https://conda.anaconda.org/intel/linux-64
                          https://conda.anaconda.org/intel/noarch
       base environment : /share/home/uuu/micromamba
               platform : linux-64

Pip 22.1.0 breaks many recipes

Pip added unavoidable build requirement verification when building in no build isolation mode in pypa/pip#10886. This breaks many packages on conda-forge, namely almost any that depend on numpy (see pypa/pip#11116 and pypa/pip#11118), and any that depend on cmake or ninja, which do not install Python packages.

This was almost immediately reverted and instead made an opt-in check. But there hasn't been a new Pip release yet, so I think we should mark pip 22.1.0 as broken (or apply the patch in pypa/pip#11117). @conda-forge/core?

Some examples of the error message:

pip._internal.exceptions.InstallationError: Some build dependencies for file://$SRC_DIR are missing: 'cmake>=3.12', 'ninja'.
ERROR: Some build dependencies for file:///home/conda/feedstock_root/build_artifacts/dwave-preprocessing_1652872033983/work conflict with the backend dependencies: numpy==1.22.3 is incompatible with numpy~=1.21.0.
ERROR: Some build dependencies for file:///Users/rgommers/code/tmp/scikit-learn are missing: 'oldest-supported-numpy'.

A example feedstock that ran into this: conda-forge/resample-feedstock#1 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.