This SO post seems relevant: https://stackoverflow.com/questions/13566200/how-can-i-install-from-a-git-subdirectory-with-pip/50930840#comment42223717_19516714
Can you change to git+https://... ?
On 6/13/2022 3:40 PM, Mark Rivers via Tech-talk wrote:
The .travis.yml file in areaDetector contains these lines:
- pip install git+git://github.com/drdoctr/[email protected]
- pip install git+git://github.com/michaeljones/[email protected]
- pip install git+git://github.com/return42/linuxdoc.git
This was working OK, but recently the travis builds have been failing with this error:
$ pip install git+git://github.com/drdoctr/[email protected]
Collecting git+git://github.com/drdoctr/[email protected]
Cloning git://github.com/drdoctr/doctr.git (to revision 1.7.4) to /tmp/pip-req-build-7r_gfskr
Running command git clone --filter=blob:none -q git://github.com/drdoctr/doctr.git /tmp/pip-req-build-7r_gfskr
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Connection timed out
I don’t understand what the syntax “git+git://github.com/drdoctr/[email protected]” means. I have used https://github.com <https://github.com> for https access and git at github.com <mailto:git at github.com> for ssh access, but I have not seen git://github.com outside of this travis script. Can someone explain?
I found that if I replace git:// with https:// it works.
- pip install git+https://github.com/drdoctr/[email protected]
- pip install git+https://github.com/michaeljones/[email protected]
- pip install git+https://github.com/return42/linuxdoc.git
What the difference between git:// and https:// is, and is OK to make this change?
Thanks,
Mark
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- References:
- Github and travis question Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Github and travis question Mark Rivers via Tech-talk
- Next:
Re: Github and travis question Torsten Bögershausen via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024
- Navigate by Thread:
- Prev:
Github and travis question Mark Rivers via Tech-talk
- Next:
Re: Github and travis question Torsten Bögershausen via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024
|