Closed geoffreygarrett closed 3 years ago
After forcing install of github3.py 1.3.0
:
/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/rever/github.xsh:90: DeprecationWarning: The anonymous API function `github3.api.authorize` is deprecated. Use `GitHub.authorize` instead.
auth = github3.authorize(username, password, scopes, note, note_url,
activity-error:ghrelease:activity failed with execption:
But also finally:
github3.exceptions.NotFoundError: 404 Not Found
Installed from source, I realized that this is a known issue. Why not make a new conda release? Regardless, there's another issue cropping up (completely new tag/release version, never used).
(tudat-docs) ggarrett@DESKTOP-48LNJLH:/mnt/c/Users/ggarr/Repositories/tudat-bundle/tudatpy$ rever 0.5.24
Warning! Found 8,543 executable files in the PATH directories!
activity-start:authors:starting activity authors
wrote authors to AUTHORS
wrote authors since 0.5.23-rc to rever/LATEST-AUTHORS.json
wrote mailmap file to .mailmap
[feature/po_updates c33cc5e] Updated authorship for 0.5.24
1 file changed, 1 insertion(+), 1 deletion(-)
activity-end:authors:activity authors complete
activity-start:version_bump:starting activity version_bump
[feature/po_updates 9f0cd2b] bumped version to 0.5.24
activity-end:version_bump:activity version_bump complete
activity-start:changelog:starting activity changelog
[feature/po_updates 8d64aff] Updated CHANGELOG for 0.5.24
1 file changed, 9 insertions(+)
activity-end:changelog:activity changelog complete
activity-start:ghrelease:starting activity ghrelease
Archiving repository as rever/tudatpy-0.5.24.tar.gz
fatal: not a valid object name: 0.5.24
activity-error:ghrelease:activity failed with exception:
Traceback (most recent call last):
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/rever/activity.xsh", line 83, in __call__
self.func(*args, **kwargs)
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/rever/activities/ghrelease.xsh", line 108, in _func
filenames = asset()
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/rever/activities/ghrelease.xsh", line 43, in git_archive_asset
![git archive -9 --format=tar.gz --prefix=@(folder_name)/ -o @(fname) @(tag)]
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/xonsh/__amalgam__.py", line 20899, in subproc_captured_hiddenobject
return xonsh.procs.specs.run_subproc(cmds, captured="hiddenobject", envs=envs)
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/xonsh/procs/__amalgam__.py", line 3497, in run_subproc
command.end()
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/xonsh/procs/__amalgam__.py", line 907, in end
self._end(tee_output=tee_output)
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/xonsh/procs/__amalgam__.py", line 926, in _end
self._raise_subproc_error()
File "/home/ggarrett/anaconda3/envs/tudat-docs/lib/python3.8/site-packages/xonsh/procs/__amalgam__.py", line 1052, in _raise_subproc_error
raise subprocess.CalledProcessError(rtn, spec.args, output=self.output)
subprocess.CalledProcessError: Command '['git', 'archive', '-9', '--format=tar.gz', '--prefix=tudatpy-0.5.24/', '-o', 'rever/tudatpy-0.5.24.tar.gz', '0.5.24']' returned non-zero exit status 128.
rewinding to 8d64aff80d8f289edc880c335749eca78ac3b156
We are working towards a release now. There is a separate issue with a different feature.
The old version of github authentication is now deprecated. github3.py 2.0.0
introduced substantial changes to their API, so >=2.0.0 will be required in the new rever
release.
This should be fixed with latest release (0.5.0) which should be going live on conda-forge soon.
The latest version of rever should fix this. closing.
Can't seem to get
ghrelease
working in the workflow. I remember it worked in the past. After minor investigation, seems to be incompatibility withgithub3.py 2.0.0
?Packages installed: