Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip error messages #2196

Merged
merged 4 commits into from
Aug 3, 2020
Merged

Pip error messages #2196

merged 4 commits into from
Aug 3, 2020

Conversation

mtitov
Copy link
Contributor

@mtitov mtitov commented Aug 2, 2020

This PR is related to these changes
It was giving the following error:

# -------------------------------------------------------------------
#
# update radical.utils-1.4.0-v1.4.0-48-g0befcdb-devel/ via pip
# cmd: /scratch1/07151/tg864504/radical.pilot.sandbox/ve.tacc.frontera_prte.1.4.1/bin/python -m pip install  --src '/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0000/pilot.0000/rp_install/src' --build '/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0000/pilot.0000/rp_install/build' --install-option='--prefix=/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0000/pilot.0000/rp_install' --no-deps --no-cache-dir --no-build-isolation radical.utils-1.4.0-v1.4.0-48-g0befcdb-devel/
#
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
/scratch1/07151/tg864504/radical.pilot.sandbox/ve.tacc.frontera_prte.1.4.1/lib/python3.7/site-packages/pip/_internal/commands/install.py:236: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
  cmdoptions.check_install_build_global(options)
ERROR: Location-changing options found in --install-option: ['--prefix'] from command line. This is unsupported, use pip-level options like --user, --prefix, --root, and --target instead.
#
# ERROR
# no fallback command available

Also need to consider another deprecation warning:

# -------------------------------------------------------------------
#
# update radical.utils-1.4.0-v1.4.0-48-g0befcdb-devel/ via pip
# cmd: /scratch1/07151/tg864504/radical.pilot.sandbox/ve.tacc.frontera_prte.1.4.1/bin/python -m pip install  --src '/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0001/pilot.0000/rp_install/src' --build '/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0001/pilot.0000/rp_install/build' --prefix=/scratch1/07151/tg864504/radical.pilot.sandbox/rp.session.login4.frontera.tacc.utexas.edu.tg864504.018476.0001/pilot.0000/rp_install --no-deps --no-cache-dir --no-build-isolation radical.utils-1.4.0-v1.4.0-48-g0befcdb-devel/
#
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
Processing ./radical.utils-1.4.0-v1.4.0-48-g0befcdb-devel
Building wheels for collected packages: radical.utils
  Building wheel for radical.utils (setup.py): started
  Building wheel for radical.utils (setup.py): finished with status 'done'
  Created wheel for radical.utils: filename=radical.utils-1.4.0_v1.4.0_48_g0befcdb_devel-py3-none-any.whl size=298252 sha256=adea8feacfde86d0471292d2a76b6af97623a5fa142dd1c9165d581fabd045d1
  Stored in directory: /tmp/pip-ephem-wheel-cache-uyw1grmm/wheels/70/5a/95/6408948b0d2557b121b5e4e0844e8468decd92ed62feca5122
Successfully built radical.utils
Installing collected packages: radical.utils
Successfully installed radical.utils
#
# SUCCESS

@codecov
Copy link

codecov bot commented Aug 2, 2020

Codecov Report

Merging #2196 into devel will increase coverage by 0.03%.
The diff coverage is 21.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel    #2196      +/-   ##
==========================================
+ Coverage   32.13%   32.17%   +0.03%     
==========================================
  Files          72       72              
  Lines        6348     6353       +5     
==========================================
+ Hits         2040     2044       +4     
- Misses       4308     4309       +1     
Impacted Files Coverage Δ
src/radical/pilot/constants.py 100.00% <ø> (ø)
src/radical/pilot/db/database.py 15.52% <0.00%> (ø)
src/radical/pilot/utils/component.py 10.26% <0.00%> (+0.02%) ⬆️
src/radical/pilot/utils/session.py 4.42% <0.00%> (ø)
src/radical/pilot/session.py 14.46% <5.55%> (-0.27%) ⬇️
src/radical/pilot/agent/resource_manager/base.py 18.40% <14.28%> (+0.93%) ⬆️
src/radical/pilot/umgr/staging_input/base.py 42.10% <25.00%> (+2.10%) ⬆️
src/radical/pilot/umgr/staging_output/base.py 42.10% <25.00%> (+2.10%) ⬆️
src/radical/pilot/agent/executing/base.py 45.16% <33.33%> (+1.41%) ⬆️
src/radical/pilot/agent/launch_method/mpiexec.py 80.39% <100.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c89bd0a...9668e1e. Read the comment docs.

Copy link
Member

@andre-merzky andre-merzky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Do we need to worry about backward compatibility?

@mtitov
Copy link
Contributor Author

mtitov commented Aug 2, 2020

@andre-merzky good point, I'll re-check it today (after confirm no issues with it then will merge it)

@mtitov
Copy link
Contributor Author

mtitov commented Aug 3, 2020

it will be compatible with early versions of pip, but due to important updates version 19.1 and newer should be used. By default when new virtualenv is created, it installs the latest version of pip.

p.s. for option --build - should be used env variable TMPDIR, so that option could be removed from the installation command. This issue will be discussed separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants