Opened 6 years ago
Closed 6 years ago
#58038 closed defect (fixed)
py37-backports.weakref not found...
Reported by: | josephsacco | Owned by: | emcrisostomo (Enrico Maria Crisostomo) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-backports.weakref |
Description
When updating py36-backports.weakref:
DEBUG: Copying /Users/jsacco/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: epoch: in tree: 0 installed: 0 DEBUG: py36-backports.weakref 1.0.post1_1 exists in the ports tree DEBUG: py36-backports.weakref 1.0.post1_0 is the latest installed DEBUG: py36-backports.weakref 1.0.post1_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: ---> py36-backports.weakref is replaced by py37-backports.weakref Error: No port py37-backports.weakref found. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
-Joseph
Change History (6)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to emcrisostomo |
---|---|
Port: | py-backports.weakref added |
Status: | new → assigned |
comment:2 follow-up: 4 Changed 6 years ago by reneeotten (Renee Otten)
comment:3 Changed 6 years ago by josephsacco
Renee,
Thanks for the quick response. The only people who do not make mistakes are dead. No penalty. No foul... :-)
Onwards,
-Joseph
comment:4 Changed 6 years ago by ptighin
Replying to reneeotten:
that's my mistake... sorry about that! I fixed the installation issue for
py-backports.weakref
in this commit, and intended to remove the py35/py36 subports as they are not needed since the functionality is introduced in Python 3.4. Instead I moved them topy-graveyard
and now they are set to bereplaced_by py37-backports.weakref
, which (correctly) does not exist. I'll attempt to correct this later tonight!Either way, I assume you have this installed because of
py36-tensorflow
? If so, as a workaround for now you can do aport upgrade py36-tensorflow
first and then you can uninstallpy36-backports.weakref
.
Thanks for your prompt response Renee. I tried your workaround but I get an error when upgrading py36-tensorflow:
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/destroot/opt/local/share/doc/py36-tensorboard xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/destroot/opt/local/share/doc/py36-tensorboard/examples Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/tensorboard-1.12.0-py3-none-any" && pip-3.6 install --no-cache-dir --no-dependencies --root /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/destroot /opt/local/var/macports/distfiles/py-tensorboard/tensorboard-1.12.0-py3-none-any.whl Processing /opt/local/var/macports/distfiles/py-tensorboard/tensorboard-1.12.0-py3-none-any.whl Installing collected packages: tensorboard Found existing installation: tensorboard 1.11.0 Uninstalling tensorboard-1.11.0: Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted: '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/tensorboard' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/tensorboard-1.12.0-py3-none-any" && pip-3.6 install --no-cache-dir --no-dependencies --root /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/work/destroot /opt/local/var/macports/distfiles/py-tensorboard/tensorboard-1.12.0-py3-none-any.whl Exit code: 1 Error: Failed to destroot py36-tensorboard: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tensorboard/py36-tensorboard/main.log for details. Error: Problem while installing py36-tensorboard Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Should I file another bug report?
Petru
comment:5 Changed 6 years ago by reneeotten (Renee Otten)
I am not sure whether this is related to the py-backports.weakref
issue in this ticket... I opened a PR a few days ago to resolve this specific problem. I would suggest to try again once someone has merged that PR (after doing port clean --all py36-tensorboard py36-tensorflow
) and see if that helps. If not, it appears to be a different problem and then you can certainly open another ticket.
comment:6 Changed 6 years ago by reneeotten <reneeotten@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
that's my mistake... sorry about that! I fixed the installation issue for
py-backports.weakref
in this commit, and intended to remove the py35/py36 subports as they are not needed since the functionality is introduced in Python 3.4. Instead I moved them topy-graveyard
and now they are set to bereplaced_by py37-backports.weakref
, which (correctly) does not exist. I'll attempt to correct this later tonight!Either way, I assume you have this installed because of
py36-tensorflow
? If so, as a workaround for now you can do aport upgrade py36-tensorflow
first and then you can uninstallpy36-backports.weakref
.