Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
Hi,
There is an issue with dependency of this package leading to this error:
conda create -n conda-forge-ci-setup-env conda-forge-ci-setup
conda activate conda-forge-ci-setup-env
python -c "from conda_forge_ci_setup import build_utils"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/peter/miniconda3/envs/conda-forge-ci-setup-env/lib/python3.11/site-packages/conda_forge_ci_setup/build_utils.py", line 15, in <module>
from conda_forge_ci_setup.upload_or_check_non_existence import retry_upload_or_check
File "/Users/peter/miniconda3/envs/conda-forge-ci-setup-env/lib/python3.11/site-packages/conda_forge_ci_setup/upload_or_check_non_existence.py", line 12, in <module>
from binstar_client.utils import get_server_api
File "/Users/peter/miniconda3/envs/conda-forge-ci-setup-env/lib/python3.11/site-packages/binstar_client/__init__.py", line 26, in <module>
from .requests_ext import NullAuth
File "/Users/peter/miniconda3/envs/conda-forge-ci-setup-env/lib/python3.11/site-packages/binstar_client/requests_ext.py", line 11, in <module>
from urllib3.filepost import choose_boundary, iter_fields
ImportError: cannot import name 'iter_fields' from 'urllib3.filepost' (/Users/peter/miniconda3/envs/conda-forge-ci-setup-env/lib/python3.11/site-packages/urllib3/filepost.py)
Solution to issue cannot be found in the documentation.
Issue
Hi,
There is an issue with dependency of this package leading to this error:
This is more of an FYI as this is not really a direct issue with this package, but you might consider pinning
urllib3 <2
. I think the most upstream issue I can find is https://github.com/Anaconda-Platform/anaconda-client/issues/654.Hope this helps, even if just an early warning.
Installed packages
Environment info