Closed iljabek closed 3 months ago
For using cheby, you don't need a recursive clone. I don't think this is possible, so maybe we should simply remove the submodules.
From: Ilja Bekman @.> Sent: Monday, March 25, 2024 1:37 PM To: tgingold-cern/cheby @.> Cc: Subscribed @.***> Subject: [tgingold-cern/cheby] pip install blocked by hwog archived projects (Issue #39)
currently there are following recursive submodules in use:
cheby/ --> examples/svec-leds/ip_cores/general-cores (OHWR) --> examples/svec-leds/ip_cores/vme64x-core (OHWR) --> hdl/ip_cores/general-cores (OHWR)
this produces an error for a pip install attempt along the lines of:
$ pip install git+https://github.com/tgingold-cern/cheby.git Collecting git+https://github.com/tgingold-cern/cheby.git Cloning https://github.com/tgingold-cern/cheby.git to /tmp/pip-req-build-qtdpcoje Running command git clone --filter=blob:none -q https://github.com/tgingold-cern/cheby.git /tmp/pip-req-build-qtdpcoje Resolved https://github.com/tgingold-cern/cheby.git to commit a1ca9872e6d642da8520212a4b4d8d8f531c4d50 Running command git submodule update --init --recursive -q
fatal: unable to connect to ohwr.org: ohwr.org[0: 188.185.83.37]: errno=Connection timed out
[after a long wait]
fatal: clone of 'git://ohwr.org/hdl-core-lib/general-cores.git' into submodule path '/tmp/pip-req-build-qtdpcoje/examples/svec-leds/ip_cores/vme64x-core/hdl/ip_cores/general-cores' failed Failed to clone 'hdl/ip_cores/general-cores'. Retry scheduled fatal: unable to connect to ohwr.org: ohwr.org[0: 188.185.83.37]: errno=Connection timed out
fatal: clone of 'git://ohwr.org/hdl-core-lib/general-cores.git' into submodule path '/tmp/pip-req-build-qtdpcoje/examples/svec-leds/ip_cores/vme64x-core/hdl/ip_cores/general-cores' failed Failed to clone 'hdl/ip_cores/general-cores' a second time, aborting fatal: Failed to recurse into submodule path 'examples/svec-leds/ip_cores/vme64x-core'
with first attempts it's possible to pip install using GitHub-hosted repos, probably same will be true for CERN-Git.
$ pip install @._modules Collecting @._modules Cloning https://github.com/iljabek/cheby.git (to revision test_modules) to /tmp/pip-req-build-lzapf0rx Running command git clone --filter=blob:none -q https://github.com/iljabek/cheby.git /tmp/pip-req-build-lzapf0rx Running command git checkout -b test_modules --track origin/test_modules Switched to a new branch 'test_modules' branch 'test_modules' set up to track 'origin/test_modules'. Resolved https://github.com/iljabek/cheby.git to commit 209dd8550ee8d885bb5afdd3f99fd8f21cdb9674 Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done Collecting pyyaml Using cached PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (677 kB) Using legacy 'setup.py install' for cheby, since package 'wheel' is not installed. Installing collected packages: pyyaml, cheby Running setup.py install for cheby ... done Successfully installed cheby-1.6.dev0 pyyaml-6.0.1
would it be an idea to host the submodule repos on GitHub and replace the submodule-submodule url? is the example still in use - since the submodule projects are archived on OHWR?
— Reply to this email directly, view it on GitHubhttps://github.com/tgingold-cern/cheby/issues/39, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL3BNYZLAU6T4W32I7BYIMDY2ALB3AVCNFSM6AAAAABFG5UZ6GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDKNRVGM4DQMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>
currently there are following recursive submodules in use:
this produces an error for a
pip install
attempt along the lines of:with first attempts it's possible to pip install using GitHub-hosted repos, probably same will be true for CERN-Git.
would it be an idea to host the submodule repos on GitHub and replace the submodule-submodule url? is the example still in use - since the submodule projects are archived on OHWR?