You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, the files ciso-requirements.txt extra-requirements.txt and test-requirements.txt are put at the same location.
Specifications:
Client Version: 1.11.0, 1.16.0
InfluxDB Version: N/A
Platform: Ubuntu Focal, Centos 8
Other:
I found this because of another bug openshift/openshift-restclient-python#403. The combination of these two bugs means you cannot successfully run pip3 install influxdb_client openshift because one tries to create the path as a directory and the other tries to create the path as a file.
# pip3 install influxdb_client openshift
...
error: could not create '/usr/local/requirements.txt': File exists
----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-har3wcw1/openshift/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ttrrwxh5-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-har3wcw1/openshift/
# pip3 install openshift influxdb_client
...
IsADirectoryError: [Errno 21] Is a directory: '/usr/local/requirements.txt'
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Expected behavior:
Only the influxdb_client library files should be deployed.
Actual behavior:
The influxdb_client requirements.txt file gets deployed to ~/.local/requirements.txt or /usr/local/requirements.txt.
Additionally, the files ciso-requirements.txt extra-requirements.txt and test-requirements.txt are put at the same location.
Specifications:
Other:
I found this because of another bug openshift/openshift-restclient-python#403. The combination of these two bugs means you cannot successfully run
pip3 install influxdb_client openshift
because one tries to create the path as a directory and the other tries to create the path as a file.The text was updated successfully, but these errors were encountered: