Re: Contributing to PyPy
Pierre-Yves David <[email protected]> Mon, 18 Oct 2021 13:25:56 +0200
| Newsgroups | gmane.comp.python.pypy |
|---|---|
| Message-ID | <[email protected]> |
Can you try with the latest Mercurial release ? (5.9.2) On 9/19/21 7:44 PM, M A wrote: > Hi I am interested in contributing to PyPy. I tried to clone the source code repository using hg but saw errors. I then found this git repo: https://github.com/mozillazg/pypy. I was actually able to clone it successfully. Could someone still contribute to PyPy using git instead of hg? > > If you are curious here are the errors I see when I try to clone the repository using hg: > > hg clone https://foss.heptapod.net/pypy/pypy > destination directory: pypy > applying clone bundle from https://cellar-c2.services.clever-cloud.com/heptapod-foss-clonebundles/pypy/pypy-2020-02-12-13-12-optimized-zstd-v2.hg > adding changesets > adding manifests > adding file changes > transaction abort! > rollback completed > ** unknown exception encountered, please report by visiting > ** https://mercurial-scm.org/wiki/BugTracker > ** Python 3.9.7 (default, Sep 3 2021, 04:31:11) [Clang 12.0.5 (clang-1205.0.22.9)] > ** Mercurial Distributed SCM (version 5.9.1) > ** Extensions loaded: > Traceback (most recent call last): > File "/opt/homebrew/bin/hg", line 61, in <module> > dispatch.run() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 144, in run > status = dispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 250, in dispatch > status = _rundispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 294, in _rundispatch > ret = _runcatch(req) or 0 > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 470, in _runcatch > return _callcatch(ui, _runcatchfunc) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 480, in _callcatch > return scmutil.callcatch(ui, func) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/scmutil.py", line 153, in callcatch > return func() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 460, in _runcatchfunc > return _dispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1273, in _dispatch > return runcommand( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 918, in runcommand > ret = _runcommand(ui, options, cmd, d) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1285, in _runcommand > return cmdfunc() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1271, in <lambda> > d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/util.py", line 1886, in check > return func(*args, **kwargs) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/commands.py", line 1955, in clone > r = hg.clone( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/hg.py", line 942, in clone > exchange.pull( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 1668, in pull > _maybeapplyclonebundle(pullop) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 2779, in _maybeapplyclonebundle > if trypullbundlefromurl(repo.ui, repo, url): > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 2810, in trypullbundlefromurl > bundle2.applybundle(repo, cg, tr, b'clonebundles', url) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 375, in applybundle > return processbundle(repo, unbundler, lambda: tr, source=source) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 486, in processbundle > processparts(repo, op, unbundler) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 494, in processparts > _processpart(op, part) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 568, in _processpart > handler(op, part) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 2025, in handlechangegroup > ret = _processchangegroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 498, in _processchangegroup > ret = cg.apply(op.repo, tr, source, url, **kwargs) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/changegroup.py", line 444, in apply > newrevs, newfiles = _addchangegroupfiles( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/changegroup.py", line 1946, in _addchangegroupfiles > added = fl.addgroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/filelog.py", line 168, in addgroup > return self._revlog.addgroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlog.py", line 2620, in addgroup > for data in deltas: > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 783, in filter_delta_issue6528 > is_affected = _is_revision_affected_fast_inner( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 649, in _is_revision_affected_fast_inner > return _is_revision_affected_inner( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 592, in _is_revision_affected_inner > has_meta = raw_text.startswith(b'\x01\n') > AttributeError: 'memoryview' object has no attribute 'startswith' > > ** Extensions loaded: > Traceback (most recent call last): > File "/opt/homebrew/bin/hg", line 61, in <module> > dispatch.run() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 144, in run > status = dispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 250, in dispatch > status = _rundispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 294, in _rundispatch > ret = _runcatch(req) or 0 > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 470, in _runcatch > return _callcatch(ui, _runcatchfunc) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 480, in _callcatch > return scmutil.callcatch(ui, func) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/scmutil.py", line 153, in callcatch > return func() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 460, in _runcatchfunc > return _dispatch(req) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1273, in _dispatch > return runcommand( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 918, in runcommand > ret = _runcommand(ui, options, cmd, d) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1285, in _runcommand > return cmdfunc() > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/dispatch.py", line 1271, in <lambda> > d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/util.py", line 1886, in check > return func(*args, **kwargs) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/commands.py", line 1955, in clone > r = hg.clone( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/hg.py", line 942, in clone > exchange.pull( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 1668, in pull > _maybeapplyclonebundle(pullop) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 2779, in _maybeapplyclonebundle > if trypullbundlefromurl(repo.ui, repo, url): > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/exchange.py", line 2810, in trypullbundlefromurl > bundle2.applybundle(repo, cg, tr, b'clonebundles', url) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 375, in applybundle > return processbundle(repo, unbundler, lambda: tr, source=source) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 486, in processbundle > processparts(repo, op, unbundler) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 494, in processparts > _processpart(op, part) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 568, in _processpart > handler(op, part) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 2025, in handlechangegroup > ret = _processchangegroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/bundle2.py", line 498, in _processchangegroup > ret = cg.apply(op.repo, tr, source, url, **kwargs) > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/changegroup.py", line 444, in apply > newrevs, newfiles = _addchangegroupfiles( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/changegroup.py", line 1946, in _addchangegroupfiles > added = fl.addgroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/filelog.py", line 168, in addgroup > return self._revlog.addgroup( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlog.py", line 2620, in addgroup > for data in deltas: > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 783, in filter_delta_issue6528 > is_affected = _is_revision_affected_fast_inner( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 649, in _is_revision_affected_fast_inner > return _is_revision_affected_inner( > File "/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py", line 592, in _is_revision_affected_inner > has_meta = raw_text.startswith(b'\x01\n') > AttributeError: 'memoryview' object has no attribute 'startswith' > > _______________________________________________ > pypy-dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/pypy-dev -- Pierre-Yves David