ìë íìžì, ì ê° ìŽíŽí ììë ê²ìŒ ìë ììµëë€. 2 ê°ì ìì€ê° ì§ì ëìŽ ìê³ ê·žì€ ìŽë ê²ë ê³µì pypiê° ìëì§ë§ 믞ë¬ìŽë¯ë¡ ì¬êž°ì ëŽ PipfileìŽ ììµëë€.
[[source]]
url = "https://company/api/pypi/pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[[source]]
url = "https://company/api/pypi/pypi-local/simple"
verify_ssl = true
name = "pypi-local"
[packages]
cachetools = "==2.0.1"
click = "==6.2"
data-object = "==1.2.1"
flask-cache = "==0.13.1"
flask-classy = "==0.6.10"
flask-humanize = "==0.3.0"
flask-migrate = "==2.1.1"
flask-oauthlib = "==0.9.4"
flask-sqlalchemy = "==2.3.2"
flask-wtf = "==0.14.2"
flask = "==0.12.2"
huey = "==1.6.0"
pendulum = "==1.4.0"
pyyaml = "==3.12"
redis = "==2.10.6"
requests = "==2.18.4"
requests-cache = "==0.4.13"
sqlalchemy = "==1.2.1"
whitenoise = "==3.3.1"
gunicorn = "==19.7.1"
[dev-packages]
ipdb = "*"
ipython = "*"
flask-shell-ipython = "*"
coverage = "*"
flake8 = "*"
flask-debugtoolbar = "*"
$ python -V
Python 3.6.1$ pipenv --version
pipenv, ë²ì 9.0.3몚ë íší€ì§ê° ìŠì ì€ì¹ë©ëë€.
Installing dependencies from Pipfile.lock (7e9249)âŠ
An error occurred while installing blinker==1.4! Will try again.
An error occurred while installing click==6.2! Will try again.
An error occurred while installing coverage==4.4.2! Will try again.
An error occurred while installing decorator==4.2.1! Will try again.
An error occurred while installing flask-debugtoolbar==0.10.1! Will try again.
An error occurred while installing flask-shell-ipython==0.3.0! Will try again.
An error occurred while installing ipdb==0.10.3! Will try again.
An error occurred while installing ipython==6.2.1! Will try again.
An error occurred while installing ipython-genutils==0.2.0! Will try again.
An error occurred while installing jedi==0.11.1! Will try again.
An error occurred while installing parso==0.1.1! Will try again.
An error occurred while installing pexpect==4.3.1; sys_platform != 'win32'! Will try again.
An error occurred while installing pickleshare==0.7.4! Will try again.
An error occurred while installing prompt-toolkit==1.0.15! Will try again.
An error occurred while installing ptyprocess==0.5.2! Will try again.
An error occurred while installing pygments==2.2.0! Will try again.
An error occurred while installing simplegeneric==0.8.1! Will try again.
An error occurred while installing traitlets==4.3.2! Will try again.
An error occurred while installing wcwidth==0.1.7! Will try again.
Installing initiallyâfailed dependenciesâŠ
Success installing blinker==1.4!
Success installing click==6.7!
Success installing coverage==4.4.2!
Success installing decorator==4.2.1!
Success installing flask-debugtoolbar==0.10.1!
Success installing flask-shell-ipython==0.3.0!
Success installing ipdb==0.10.3!
Success installing ipython==6.2.1!
Success installing ipython-genutils==0.2.0!
Success installing jedi==0.11.1!
Success installing parso==0.1.1!
Success installing pexpect==4.3.1; sys_platform != 'win32'!
Success installing pickleshare==0.7.4!
Success installing prompt-toolkit==1.0.15!
Success installing ptyprocess==0.5.2!
Success installing pygments==2.2.0!
Success installing simplegeneric==0.8.1!
Success installing traitlets==4.3.2!
Success installing wcwidth==0.1.7!
pipenv ì€ì¹-ìì€í
ëí pipenvë 6.2 ë²ì ì ì§ì íììë ë¶êµ¬íê³ click == 6.7ì ì€ì¹íê³ ììµëë€.
ìŽ ë¬žì ë¡ ìŽë €ìì ê²ªê³ ììµëë€. ì ë°ìŽíž ë íŽê²°ì± ìŽ ììµëê¹?
ìë
íìžì @jacekjab ì£ì¡í©ëë€. ìŽêž° ì€íšë ì€ì ë¡ ë²ê·žê° ìëëë€. ê·ž ìì²Žë¡ pypiê° ìë ì ì¥ìì ëì ì€ì¹ì êŽë šìŽ ìë€ê³ ìê°í©ëë€. ì²ììë ì€íší ë€ì ìì°š ì€ì¹ë¡ ëìê°ìµëë€. íŽëŠ ì€ì¹ì êŽíŽìë ì€í í ëª
ë ¹ì ì 첎 컚í
ì€íž ìž $PATH
, env
ì ì¶ë ¥ì ì ê³µíŽìŒí©ëë€.
ê²°êµ ì±ê³µì ìŽêž° ë묞ì ì¢ ë£í©ëë€. ë³µì íë €ë©Ž íšì¬ ë ë§ì ì ë³Žê° íìí©ëë€.
ìµì ë²ì ì pipenvì ëìŒí 묞ì ê° ììµëë€. ê¶êží©ëë€. @jacekjab ì ì¥ìì Nexus륌 ì¬ì©íê³ ììµëê¹?
ëë ê°ì 묞ì ê° ììµëë€. ꜀ ì§ìŠëê³ ìŽíŽ ëŽìŒí©ëë€.
@pawelswiecki 묞ì í í늿ë³ë¡ ì¬ì©í ì¶ë ¥ ë° Pipfileì í¬íší ìžë¶ ì 볎륌 ì ê³µíììì€. ì¶ê° ìžë¶ ì¬íìŽìë ê²ì ì¡°ì¬íëŒê³ ë§íë ê²ì ìì°ì ìŽì§ ììŒë©° ìì ëŽì¬ìë€ìŽ 목ë¡ìì ꜀ ëì ìì륌 ì°šì§íë¯ë¡ ì±ê°ì ìŒë ììµëë€.
ëë ê°ì 묞ì ê° ììµëë€. ì ë tox
ììµëë€.
ëŽ tox.ini
:
[tox]
envlist = flake8-py3
skipsdist = True
[testenv]
passenv=HOME
deps = pipenv
setenv=
PYTHONPATH = {toxinidir}/dag
commands=
pipenv install --skip-lock
pipenv install --dev --skip-lock
pipenv run flake8 --version
pipenv run flake8 dag
pipenv run pytest
ëŽ pipfile
:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
"flake8" = "*"
docker-py = "*"
google-cloud-dataflow = "==2.2.0"
google-cloud-bigquery = "*"
apache-airflow = {extras = ["crypto", "postgres", "hive", "celery", "jdbc", "gcp_api"], version = "==1.9.0"}
paramiko = "*"
[dev-packages]
pytest = "*"
coverage = "*"
[requires]
python_version = "3.6"
ì¶ë ¥ (ëëšžì§ë í ì€íž ì¶ë ¥ìŽë¯ë¡ ì늌) :
flake8-py3 installed: You are using pip version 9.0.3, however version 10.0.1 is available.,You should consider upgrading via the 'pip install --upgrade pip' command.,alembic==0.8.10,amqp==2.2.2,apache-airflow==1.9.0,apache-beam==2.2.0,asn1crypto==0.24.0,attrs==17.4.0,avro==1.8.2,Babel==2.5.3,bcrypt==3.1.4,billiard==3.5.0.3,bitarray==0.8.1,bleach==2.1.2,cachetools==2.0.1,celery==4.1.0,certifi==2018.1.18,cffi==1.11.5,chardet==3.0.4,click==6.7,configparser==3.5.0,coverage==4.5.1,crcmod==1.7,croniter==0.3.20,cryptography==2.2.2,dill==0.2.6,docker-py==1.10.6,docker-pycreds==0.2.2,docutils==0.14,flake8==3.5.0,Flask==0.11.1,Flask-Admin==1.4.1,Flask-Cache==0.13.1,Flask-Login==0.2.11,flask-swagger==0.2.13,Flask-WTF==0.14,flower==0.9.2,funcsigs==1.0.0,future==0.16.0,gapic-google-cloud-pubsub-v1==0.15.4,gitdb2==2.0.3,GitPython==2.1.9,google-api-core==1.1.0,google-api-python-client==1.5.5,google-apitools==0.5.11,google-auth==1.4.1,google-auth-httplib2==0.0.3,google-auth-oauthlib==0.2.0,google-cloud-bigquery==0.32.0,google-cloud-core==0.28.1,google-cloud-dataflow==2.2.0,google-cloud-pubsub==0.26.0,google-gax==0.15.16,google-resumable-media==0.3.1,googleapis-common-protos==1.5.3,googledatastore==7.0.1,grpc-google-iam-v1==0.11.4,grpcio==1.10.0,gunicorn==19.7.1,hive-thrift-py==0.0.1,html5lib==1.0.1,httplib2==0.9.2,idna==2.6,impyla==0.14.1,itsdangerous==0.24,JayDeBeApi==1.1.1,Jinja2==2.8.1,JPype1==0.6.3,kombu==4.1.0,lockfile==0.12.2,lxml==3.8.0,Mako==1.0.7,Markdown==2.6.11,MarkupSafe==1.0,mccabe==0.6.1,mock==2.0.0,more-itertools==4.1.0,numpy==1.14.2,oauth2client==2.0.2,oauthlib==2.0.7,ordereddict==1.1,pandas==0.22.0,pandas-gbq==0.4.0,paramiko==2.4.1,pbr==4.0.1,pipenv==11.9.0,pluggy==0.6.0,ply==3.8,proto-google-cloud-datastore-v1==0.90.4,proto-google-cloud-pubsub-v1==0.15.4,protobuf==3.3.0,psutil==4.4.2,psycopg2==2.7.4,py==1.5.3,pyasn1==0.4.2,pyasn1-modules==0.2.1,pycodestyle==2.3.1,pycparser==2.18,pyflakes==1.6.0,Pygments==2.2.0,PyHive==0.5.1,PyNaCl==1.2.1,pyOpenSSL==17.5.0,pytest==3.5.0,python-daemon==2.1.2,python-dateutil==2.7.2,python-editor==1.0.3,python-nvd3==0.14.2,python-slugify==1.1.4,pytz==2018.3,PyYAML==3.12,requests==2.18.4,requests-oauthlib==0.8.0,rsa==3.4.2,setproctitle==1.1.10,six==1.10.0,smmap2==2.0.3,SQLAlchemy==1.2.6,tabulate==0.7.7,thrift==0.11.0,thriftpy==0.3.9,tornado==5.0.1,typing==3.6.4,unicodecsv==0.14.1,Unidecode==1.0.22,uritemplate==3.0.0,urllib3==1.22,vine==1.1.4,virtualenv==15.2.0,virtualenv-clone==0.3.0,webencodings==0.5.1,websocket-client==0.47.0,Werkzeug==0.14.1,WTForms==2.1,zope.deprecation==4.3.0
flake8-py3 runtests: PYTHONHASHSEED='4112944039'
flake8-py3 runtests: commands[0] | pipenv install --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
Installing dependencies from PipfileâŠ
An error occurred while installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0! Will try again.
ð ââââââââââââââââââââââââââââââââ 6/6 â 00:00:02
Installing initiallyâfailed dependenciesâŠ
Success installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0!
†ââââââââââââââââââââââââââââââââ 1/1 â 00:00:01
flake8-py3 runtests: commands[1] | pipenv install --dev --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
Installing dependencies from PipfileâŠ
An error occurred while installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0! Will try again.
ð ââââââââââââââââââââââââââââââââ 8/8 â 00:00:02
Installing initiallyâfailed dependenciesâŠ
Success installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0!
†ââââââââââââââââââââââââââââââââ 1/1 â 00:00:01
flake8-py3 runtests: commands[2] | pipenv run flake8 --version
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.6.4 on Darwin
flake8-py3 runtests: commands[3] | pipenv run flake8 dag
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
flake8-py3 runtests: commands[4] | pipenv run pytest
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
python -m pip install --upgrade pip
CI ë¹ëìì pip륌 뚌ì ì
ê·žë ìŽëíë©Ž ìëí©ëê¹?
ìëì, ê°ì 묞ì ì ëë€. ëŽê° ì·ší ëšê³ì ì¶ë ¥ì ë€ì곌 ê°ìµëë€.
ì¢ìµëë€. .tox/
ëë í°ëŠ¬ë¥Œ ì ê±°íê³ tox
. ëë ìŽê²ì ë ë²íê³ ë ë² ëªšë ë€ì곌 ê°ì ì¶ë ¥ì ì»ììµëë€.
flake8-py3 create: /Users/jack.low/work/dpd_seller_triggers/.tox/flake8-py3
flake8-py3 installdeps: pipenv
flake8-py3 installed: certifi==2018.4.16,pipenv==2018.5.18,virtualenv==15.2.0,virtualenv-clone==0.3.0
flake8-py3 runtests: PYTHONHASHSEED='4227619038'
flake8-py3 runtests: commands[0] | pipenv install --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
Installing dependencies from PipfileâŠ
An error occurred while installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0! Will try again.
ð ââââââââââââââââââââââââââââââââ 6/6 â 00:00:35
Installing initiallyâfailed dependenciesâŠ
Success installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0!
†ââââââââââââââââââââââââââââââââ 1/1 â 00:01:12
flake8-py3 runtests: commands[1] | pipenv install --dev --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
Installing dependencies from PipfileâŠ
ð ââââââââââââââââââââââââââââââââ 8/8 â 00:00:08
flake8-py3 runtests: commands[2] | pipenv run flake8 --version
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.6.4 on Darwin
flake8-py3 runtests: commands[3] | pipenv run flake8 dag
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
flake8-py3 runtests: commands[4] | pipenv run pytest
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
ì§êžì ìì .tox/
ë€ì, ë€ì곌 ê°ì ëŒìžì ì¶ê° python -m pip install --upgrade pip
ëŽìì 첫 ë²ì§ž ëª
ë ¹ì tox.ini
:
[tox]
envlist = flake8-py3
skipsdist = True
[testenv]
passenv=HOME
deps = pipenv
setenv=
PYTHONPATH = {toxinidir}/dag
commands=
python -m pip install --upgrade pip
pipenv install --skip-lock
pipenv install --dev --skip-lock
pipenv run flake8 --version
pipenv run flake8 dag
pipenv run pytest
tox
ë€ì ì€ííë©Ž ë€ì곌 ê°ì ê²°ê³Œê° ëíë©ëë€.
flake8-py3 create: /Users/jack.low/work/dpd_seller_triggers/.tox/flake8-py3
flake8-py3 installdeps: pipenv
flake8-py3 installed: certifi==2018.4.16,pipenv==2018.5.18,virtualenv==15.2.0,virtualenv-clone==0.3.0
flake8-py3 runtests: PYTHONHASHSEED='2202490466'
flake8-py3 runtests: commands[0] | python -m pip install --upgrade pip
Requirement already up-to-date: pip in ./.tox/flake8-py3/lib/python3.6/site-packages (10.0.1)
flake8-py3 runtests: commands[1] | pipenv install --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
Installing dependencies from PipfileâŠ
An error occurred while installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0! Will try again.
ð ââââââââââââââââââââââââââââââââ 6/6 â 00:00:12
Installing initiallyâfailed dependenciesâŠ
Success installing apache-airflow[crypto,postgres,hive,celery,jdbc,gcp_api]==1.9.0!
†ââââââââââââââââââââââââââââââââ 1/1 â 00:00:30
flake8-py3 runtests: commands[2] | pipenv install --dev --skip-lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
Installing dependencies from PipfileâŠ
ð ââââââââââââââââââââââââââââââââ 8/8 â 00:00:06
flake8-py3 runtests: commands[3] | pipenv run flake8 --version
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.6.4 on Darwin
flake8-py3 runtests: commands[4] | pipenv run flake8 dag
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
flake8-py3 runtests: commands[5] | pipenv run pytest
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
ì°žê³ : tox
륌 ì€ííêž° ì ì python3 -m pip install --upgrade pip
ìëìŒë¡ ì€ííë©Ž ëìŒí 묞ì ê° ë°ìí©ëë€.
ì ë íìŽì¬ ê°ë°ìê° ìëêž° ë묞ì ì ì©í ì 볎륌 ì ê³µíë ë° ë묎 ë§ì ëìì ë늎 ì ììŒë¯ë¡ 믞늬 ì¬ê³Œë늜ëë€.
@wjlow @techalchemyê° ì믞íë ë°ë íë¡ì ížìì ì¬ì©íë ê²ìŽ ìë tox êŽëŠ¬ í겜 ëŽìì pip륌 ì
ê·žë ìŽëíŽìŒíë€ë ê²ì
ëë€. ìŠ, ë€ì곌 ê°ìŽ commands
구ì±ì ì¶ê°í©ëë€.
commands =
pipenv run python -m pip install --upgrade pip
pipenv install --skip-lock
pipenv install --dev --skip-lock
pipenv run flake8 --version
pipenv run flake8 dag
pipenv run pytest
ë¶ííë ê°ì 묞ì ì ëë€!
/ cc @hynek ìŽê² ì°ëŠ¬ê° ìêž°íë ê±°ì£ ?
ë ê·¹ë¬Œë¡ pipenv륌 ížì¶ íìµëê¹?
ìŽê²ìŽ ì¬ì í 묞ì ìžì§ ëêµ°ê° íìží ì ììµëê¹?
ëŽ CI ëšžì (gitlab ë¬ë)ìì ëìŒí 묞ì ê° ë°ìí©ëë€. ëë ê·žê²ìŽ ìŽë€ 겜ì 조걎ìŒë¡ ìžíŽ ìŒìŽëê³ ìë€ê³ ìê°íì§ë§ ì€ì ë¡ ê·žê²ì 못 ë°ì ìë ììµëë€.
ëë ê°ì§ê³ ììŽì.
ê·žë ì§ ììŒë©Ž ëë²ê¹ í ì ììŒë¯ë¡ ì¶ë ¥ì ì ê³µíììì€.
$ pipenv install --dev
Creating a virtualenv for this projectâŠ
Using /usr/local/bin/python3.6m (3.6.5) to create virtualenvâŠ
Running virtualenv with interpreter /usr/local/bin/python3.6m
Using base prefix '/usr/local'
New python executable in /src/.cache/virtualenv/src-OMz0Or2F/bin/python3.6m
Also creating executable in /src/.cache/virtualenv/src-OMz0Or2F/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: .cache/virtualenv/src-OMz0Or2F
Installing dependencies from Pipfile.lock (d65033)âŠ
An error occurred while installing addict==2.1.3! Will try again.
An error occurred while installing appdirs==1.4.3! Will try again.
An error occurred while installing apscheduler==3.5.1! Will try again.
An error occurred while installing arrow==0.12.1! Will try again.
An error occurred while installing attrs==18.1.0! Will try again.
An error occurred while installing babel==2.5.3! Will try again.
An error occurred while installing boto3==1.7.35! Will try again.
An error occurred while installing cryptography==2.2.2! Will try again.
An error occurred while installing defusedxml==0.5.0! Will try again.
An error occurred while installing docutils==0.14! Will try again.
An error occurred while installing hashids==1.2.0! Will try again.
An error occurred while installing iso8601==0.1.12! Will try again.
An error occurred while installing isodate==0.6.0! Will try again.
An error occurred while installing jsl==0.2.4! Will try again.
An error occurred while installing lz4==2.0.0! Will try again.
An error occurred while installing money==1.3.0! Will try again.
An error occurred while installing psycopg2-binary==2.7.4! Will try again.
An error occurred while installing pybase64==0.4.0! Will try again.
An error occurred while installing pycrypto==2.6.1! Will try again.
An error occurred while installing pyjwt==1.6.4! Will try again.
An error occurred while installing python-rapidjson==0.6.2! Will try again.
An error occurred while installing pytz==2018.4! Will try again.
An error occurred while installing retrying==1.3.3! Will try again.
An error occurred while installing sqlalchemy==1.2.8! Will try again.
An error occurred while installing typing==3.6.4! Will try again.
An error occurred while installing uvloop==0.10.1! Will try again.
An error occurred while installing validators==0.12.2! Will try again.
An error occurred while installing atomicwrites==1.1.5! Will try again.
An error occurred while installing attrs==18.1.0! Will try again.
An error occurred while installing cached-property==1.4.2! Will try again.
An error occurred while installing callee==0.3! Will try again.
An error occurred while installing docker-compose==1.20.1! Will try again.
An error occurred while installing docker-pycreds==0.3.0! Will try again.
An error occurred while installing docopt==0.6.2! Will try again.
An error occurred while installing idna==2.6! Will try again.
An error occurred while installing mock==2.0.0! Will try again.
An error occurred while installing more-itertools==4.2.0! Will try again.
An error occurred while installing pluggy==0.6.0! Will try again.
An error occurred while installing requests-mock==1.5.0! Will try again.
An error occurred while installing websocket-client==0.48.0! Will try again.
Installing initiallyâfailed dependenciesâŠ
Success installing addict==2.1.3!
Success installing appdirs==1.4.3!
Success installing apscheduler==3.5.1!
Success installing arrow==0.12.1!
Success installing attrs==18.1.0!
Success installing babel==2.5.3!
Success installing boto3==1.7.35!
Success installing cryptography==2.2.2!
Success installing defusedxml==0.5.0!
Success installing docutils==0.14!
Success installing hashids==1.2.0!
Success installing iso8601==0.1.12!
Success installing isodate==0.6.0!
Success installing jsl==0.2.4!
Success installing lz4==2.0.0!
Success installing money==1.3.0!
Success installing psycopg2-binary==2.7.4!
Success installing pybase64==0.4.0!
Success installing pycrypto==2.6.1!
Success installing pyjwt==1.6.4!
Success installing python-rapidjson==0.6.2!
Success installing pytz==2018.4!
Success installing retrying==1.3.3!
Success installing sqlalchemy==1.2.8!
Success installing typing==3.6.4!
Success installing uvloop==0.10.1!
Success installing validators==0.12.2!
Success installing atomicwrites==1.1.5!
Success installing attrs==18.1.0!
Success installing cached-property==1.4.2!
Success installing callee==0.3!
Success installing docker-compose==1.20.1!
Success installing docker-pycreds==0.3.0!
Success installing docopt==0.6.2!
Success installing idna==2.6!
Success installing mock==2.0.0!
Success installing more-itertools==4.2.0!
Success installing pluggy==0.6.0!
Success installing requests-mock==1.5.0!
Success installing websocket-client==0.48.0!
To activate this project's virtualenv, run the following:
$ pipenv shell
$ pipenv graph && pipenv run python --version && pwd
addict==2.1.3
alchemy-mock==0.3.1
- setuptools [required: Any, installed: 39.2.0]
- six [required: Any, installed: 1.11.0]
- sqlalchemy [required: Any, installed: 1.2.8]
APScheduler==3.5.1
- pytz [required: Any, installed: 2018.4]
- setuptools [required: >=0.7, installed: 39.2.0]
- six [required: >=1.4.0, installed: 1.11.0]
- tzlocal [required: >=1.2, installed: 1.5.1]
- pytz [required: Any, installed: 2018.4]
arrow==0.12.1
- python-dateutil [required: Any, installed: 2.6.1]
- six [required: >=1.5, installed: 1.11.0]
Babel==2.5.3
- pytz [required: >=0a, installed: 2018.4]
boto3==1.7.35
- botocore [required: <1.11.0,>=1.10.35, installed: 1.10.35]
- docutils [required: >=0.10, installed: 0.14]
- jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
- python-dateutil [required: <3.0.0,>=2.1, installed: 2.6.1]
- six [required: >=1.5, installed: 1.11.0]
- jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
- s3transfer [required: <0.2.0,>=0.1.10, installed: 0.1.13]
- botocore [required: <2.0.0,>=1.3.0, installed: 1.10.35]
- docutils [required: >=0.10, installed: 0.14]
- jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
- python-dateutil [required: <3.0.0,>=2.1, installed: 2.6.1]
- six [required: >=1.5, installed: 1.11.0]
callee==0.3
ciso8601==2.0.1
colorama==0.3.9
cryptography==2.2.2
- asn1crypto [required: >=0.21.0, installed: 0.24.0]
- cffi [required: >=1.7, installed: 1.11.5]
- pycparser [required: Any, installed: 2.18]
- idna [required: >=2.1, installed: 2.6]
- six [required: >=1.4.1, installed: 1.11.0]
docker-compose==1.20.1
- cached-property [required: >=1.2.0,<2, installed: 1.4.2]
- docker [required: >=3.1.4,<4.0, installed: 3.3.0]
- docker-pycreds [required: >=0.2.3, installed: 0.3.0]
- six [required: >=1.4.0, installed: 1.11.0]
- requests [required: !=2.18.0,>=2.14.2, installed: 2.18.4]
- certifi [required: >=2017.4.17, installed: 2018.4.16]
- chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
- idna [required: <2.7,>=2.5, installed: 2.6]
- urllib3 [required: <1.23,>=1.21.1, installed: 1.22]
- six [required: >=1.4.0, installed: 1.11.0]
- websocket-client [required: >=0.32.0, installed: 0.48.0]
- six [required: Any, installed: 1.11.0]
- dockerpty [required: <0.5,>=0.4.1, installed: 0.4.1]
- six [required: >=1.3.0, installed: 1.11.0]
- docopt [required: <0.7,>=0.6.1, installed: 0.6.2]
- jsonschema [required: >=2.5.1,<3, installed: 2.6.0]
- PyYAML [required: <4,>=3.10, installed: 3.12]
- requests [required: !=2.11.0,>=2.6.1,!=2.12.2,<2.19,!=2.18.0, installed: 2.18.4]
- certifi [required: >=2017.4.17, installed: 2018.4.16]
- chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
- idna [required: <2.7,>=2.5, installed: 2.6]
- urllib3 [required: <1.23,>=1.21.1, installed: 1.22]
- six [required: <2,>=1.3.0, installed: 1.11.0]
- texttable [required: >=0.9.0,<0.10, installed: 0.9.1]
- websocket-client [required: >=0.32.0,<1.0, installed: 0.48.0]
- six [required: Any, installed: 1.11.0]
flake8==3.5.0
- mccabe [required: <0.7.0,>=0.6.0, installed: 0.6.1]
- pycodestyle [required: >=2.0.0,<2.4.0, installed: 2.3.1]
- pyflakes [required: >=1.5.0,<1.7.0, installed: 1.6.0]
hashids==1.2.0
injector==0.13.4
- setuptools [required: >=0.6b1, installed: 39.2.0]
- typing [required: Any, installed: 3.6.4]
iso8601==0.1.12
jsl==0.2.4
lz4==2.0.0
mock==2.0.0
- pbr [required: >=0.11, installed: 4.0.4]
- six [required: >=1.9, installed: 1.11.0]
money==1.3.0
prometheus-client==0.2.0
psycopg2==2.7.4
psycopg2-binary==2.7.4
pybase64==0.4.0
- six [required: >=1.10.0, installed: 1.11.0]
pycrypto==2.6.1
PyJWT==1.6.4
pytest-sugar==0.9.1
- pytest [required: >=2.9, installed: 3.6.1]
- atomicwrites [required: >=1.0, installed: 1.1.5]
- attrs [required: >=17.4.0, installed: 18.1.0]
- more-itertools [required: >=4.0.0, installed: 4.2.0]
- six [required: <2.0.0,>=1.0.0, installed: 1.11.0]
- pluggy [required: >=0.5,<0.7, installed: 0.6.0]
- py [required: >=1.5.0, installed: 1.5.3]
- setuptools [required: Any, installed: 39.2.0]
- six [required: >=1.10.0, installed: 1.11.0]
- termcolor [required: >=1.1.0, installed: 1.1.0]
pytest-tornado==0.4.5
- pytest [required: Any, installed: 3.6.1]
- atomicwrites [required: >=1.0, installed: 1.1.5]
- attrs [required: >=17.4.0, installed: 18.1.0]
- more-itertools [required: >=4.0.0, installed: 4.2.0]
- six [required: <2.0.0,>=1.0.0, installed: 1.11.0]
- pluggy [required: >=0.5,<0.7, installed: 0.6.0]
- py [required: >=1.5.0, installed: 1.5.3]
- setuptools [required: Any, installed: 39.2.0]
- six [required: >=1.10.0, installed: 1.11.0]
- tornado [required: Any, installed: 4.5.3]
python-rapidjson==0.6.2
requests-mock==1.5.0
- requests [required: >=1.1, installed: 2.18.4]
- certifi [required: >=2017.4.17, installed: 2018.4.16]
- chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
- idna [required: <2.7,>=2.5, installed: 2.6]
- urllib3 [required: <1.23,>=1.21.1, installed: 1.22]
- six [required: Any, installed: 1.11.0]
retrying==1.3.3
- six [required: >=1.7.0, installed: 1.11.0]
SQLAlchemy-Utils==0.33.3
- six [required: Any, installed: 1.11.0]
- SQLAlchemy [required: >=1.0, installed: 1.2.8]
structlog==18.1.0
- six [required: Any, installed: 1.11.0]
uvloop==0.10.1
validators==0.12.2
- decorator [required: >=3.4.0, installed: 4.3.0]
- six [required: >=1.4.0, installed: 1.11.0]
xmltodict==0.11.0
zeep==2.5.0
- appdirs [required: >=1.4.0, installed: 1.4.3]
- cached-property [required: >=1.3.0, installed: 1.4.2]
- defusedxml [required: >=0.4.1, installed: 0.5.0]
- isodate [required: >=0.5.4, installed: 0.6.0]
- six [required: Any, installed: 1.11.0]
- lxml [required: >=3.0.0, installed: 4.2.1]
- pytz [required: Any, installed: 2018.4]
- requests [required: >=2.7.0, installed: 2.18.4]
- certifi [required: >=2017.4.17, installed: 2018.4.16]
- chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
- idna [required: <2.7,>=2.5, installed: 2.6]
- urllib3 [required: <1.23,>=1.21.1, installed: 1.22]
- requests-toolbelt [required: >=0.7.1, installed: 0.8.0]
- requests [required: <3.0.0,>=2.0.1, installed: 2.18.4]
- certifi [required: >=2017.4.17, installed: 2018.4.16]
- chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
- idna [required: <2.7,>=2.5, installed: 2.6]
- urllib3 [required: <1.23,>=1.21.1, installed: 1.22]
- six [required: >=1.9.0, installed: 1.11.0]
Python 3.6.5
ì íšì€ ë¹ëììë ëê°ì ê²ì 볌 ì ììµëë€. ìŽ ì¶ë ¥ì ìŒë°ì ì ëë€.
+ pipenv install -d --system
Installing dependencies from Pipfile.lock (bd3aef)...
An error occurred while installing grpcio==1.12.1! Will try again.
An error occurred while installing mypy==0.610! Will try again.
An error occurred while installing numpy==1.14.5! Will try again.
An error occurred while installing psutil==5.4.6! Will try again.
An error occurred while installing pyasn1-modules==0.2.1! Will try again.
Installing initially failed dependencies...
Success installing grpcio==1.12.1!
Success installing mypy==0.610!
Success installing numpy==1.14.5!
Success installing psutil==5.4.6!
Success installing pyasn1-modules==0.2.1!
python:3.6.5-jessie
docker ìŽë¯žì§ë¥Œ Ʞ볞ìŒë¡ ì¬ì©íê³ ë€ì곌 ê°ìŽ pipenv ë° ì¢
ìì±ì ì€ì¹í©ëë€. RUN set -ex && pip install pipenv && pipenv install --system
.
ížì§ : ì€ì ë¡ Jenkins ë¹ëìì python:3
륌 ì¬ì©íìµëë€. python:3.6.5-jessie
ë³ê²œíë©Ž ëìŒí ëììŽ ëíë©ëë€. 뚌ì ì€ì¹ì ì€íší ë€ì ì¬ ìëíê³ ì±ê³µí©ëë€.
ê³µê° ë 묞ì ì ì¶ë ¥ì ë¶ì¬ ë£êž° ì ì 컚í ì€ížë¥Œ ì ê³µíììì€.
ìŠììŽ ìŽë»ê² ì게ëì§ ìê³ ììµëë€. ì¬ííë ë° ëììŽëë 컚í ì€ížë¥Œ ì ê³µíë 겜ì°ìë§ ëììŽë©ëë€. ìí ê°ë¥Œ ê°ë ê²ê³Œ ê°ë€ê³ ìê°íììì€. ìŽ ë¬žì ë ëëµ 'ì°ëŠ¬ ê°ê° 구í 륌 íŽì, ì°ëŠ¬ê° 걞ì ë ìŒìŽëë€!' ê·žëŠ¬ê³ ë€ë¥ž ì¬ëë€ì ìŽì 'ëŽ ê°ë 구í 륌 íŽì!', 'ëŽ ê³ ììŽê° í ë² í íìŽ!', 'ìŽì ê±°ë¶ìŽ í íìŽ!'ëŒê³ ìžì¹ê³ ììµëë€. ê·žë€ì ê°ê° ëì ììì ëš¹ììµëê¹? ìŽë€ ìì? ê·žë€ì ê°ì ììì ëš¹ììµëê¹? ëŽê° ê±°ë¶ìŽë¥Œ ì§ì 구íë©Ž ëŽê° ë¹ì ì ë³µì¬íì¬ ëŽ êµ¬í 륌 í ì ììµëê¹? ë€ë¥ž ììžìŽ ììëì?
ìŽ ë¹ì ê° ìë¯žê° ìꞰ륌 ë°ëëë€. ì€ë¥ê° ë°ìíìì 볎ì¬ì£Œë ë€íë¿ë§ ìëëŒ ì€ë¥ì ëí ìžë¶ ì 볎륌 í¬íšíììì€.
ê·žëì ë¹ì ìŽ ì»ê³ ì¶ì 맥ëœì ë§ íŽì£Œìžì. ìì¬ë ëšìí ê±°êž°ì ìì íìê° ì§ë¬žììŽ ëªšë ê²ì ë§í ëê¹ì§ êž°ë€ëŠ¬ë ê²ìŽ ìëêž° ë묞ì ëë€.
ì£ì¡í©ëë€. ê·íì í겜ì ë¹ì¬ì CI ë° pipenv륌 ì¬ì©íë ëë€ìì ì¬ëë€ê³Œ ë€ë¥Žê² ë§ëë ê°ë¥í 몚ë ë³ì륌 ìì²íë ê²ì 볞ì§ì ìŒë¡ ë¶ê°ë¥í©ëë€. _exclusively_ ê°ìž ì ì¥ì륌 ì¬ì©íê³ ììµëê¹? ë³ê²œíŽ 볞 ì ìŽ ììµëê¹? ì±ê³µ íëì? ìŽë€ ë²ì ì pipenvê°ììŽ ë¬žì ê° ë°ì íìµëê¹? ëë ëŽê° ëª ê°ì§ ëµì ê°ì žìŒ í ê² ê°ì§ë§ ëë ë¹ì ì í겜ì ë í¹íê² ë§ëë ê²ë€ì ìì í ëìŽ ë©ìë€.
ê·žëŠ¬ê³ ëêµ°ê° ëŽê° ìŽê²ì ì¬í í ë°©ë²ìŽ íìíë€ë ê²ì ì§ëšíëë° ìê°ì í ì í ì ìë€ë©Ž-dockerfile ê°ì ê²
ì°ëŠ¬ë ëí ê°ìž ì ì¥ìì ê°ì 묞ì ê° ììµëë€.
ëë ë¹ì ì ìíŽ dockerfileë¡ ë¬žì 륌 ë¶ëŠ¬íë €ê³ ë
žë ¥í ê²ì
ëë€.
륎 ë€. 10 ì 7 ìŒ 2018 à 09:33, Dan Ryan [email protected] a écrit :
ê·žëŠ¬ê³ ëêµ°ê°ê° ëŽê° ìë§ë íìíë€ê³ ì§ëšíëë° ìê°ì í ì í ì ìë€ë©Ž
ìŽê²ì ì¬ííë ë°©ë²-dockerfile ëë 묎ìžê°â
ìŽ ì€ë ë륌 구ë íêž° ë묞ììŽ ë©ìì§ê° ì ì¡ëììµëë€.
ìŽ ìŽë©ìŒì ì§ì ëµì¥íê³ GitHubìì íìžíìžì.
https://github.com/pypa/pipenv/issues/1356#issuecomment-427635733 ëë ììê±°
ì€
https://github.com/notifications/unsubscribe-auth/AAcK2QorIRkvNx8xFFvDyC3RMCOiTMjIks5uibxugaJpZM4Rs3S3
.
ëë ê°ì 묞ì ê° ììµëë€. Pipenvë ì²ìì í겜ì ì€ì¹ë ìŒë¶ íší€ì§ë¥Œ ê°ì§íì§ë§ ì€ì¹ ìê°ìŽ ìŽê³Œëììµëë€.
ê·žë° ë€ì Pipenvë 몚ë íší€ì§ë¥Œ ë€ì ì€ì¹íêž° ììíìµëë€.
@techalchemy ìŽ ë¬žì 륌 ì¬ííë Dockerfile ëë ë ëì 묞ì ê° ììµëë€.
https://gist.github.com/hjwp/72489330407b85d7c52d29ec77c587e0
ì°ëŠ¬ì ê²œì° pipenvë ì²ì ì€ì¹í ë ëª ê°ì§ ì€íšë¥Œë³Žê³ í ë€ì ì¬ì€ì¹ ìëë¥Œë³Žê³ í ë€ì ì€ì ë¡ _fails_íì¬ ìŒë¶ íší€ì§ë¥Œ 몚ë ì€ì¹í©ëë€ (íì§ë§ ìŽì ëí ëª ì ì ì€ë¥ëë³Žê³ íì§ ìì).
ìŽë¥Œ íµíŽ íìží ì ììµëë€.
docker build -t repro .
docker run -t repro pytest # will error bc pytest is not installed, altho it should be
ë€ì곌 ê°ìŽ ìì í©ëë€.
pipenv lock --requirements > requirements.txt
pip install -r requirements.txt
ë°ëŒì ì¬êž°ì 묞ì ë editable = true
륌 ì¬ì©íì§ ìê³ VCS ì¢
ìì±ì ì€ì¹íë€ë ê²ì
ëë€. ë³µì ì¬ë¡ì ëíŽ @hjwp ìê² ê°ì¬ë늜ëë€.
ëë ìŽê²ì ëí ìì ìŽ ìë€ê³ ìê°íì§ë§, ë¹ì ìŽ ì ê³µ í í¹ì 겜ì°ìë íì ë€ë¥ž ì¢
ìì± ìŽíì ì€ì¹ íŽìŒíë ížì§ ê°ë¥í ì¢
ìì±ìŒë¡ ìžíŽ ëê¹ì§ ížìëìŽìŒíë ëšìŒ ì€ë¥ê° ììµëë€ (íŒí ì ììµëë€. --sequential
ëë ì€íší ì¢
ìì±ì ížì§ ê°ë¥íê² ë§ë€ìŽ)
@mcauto 묞ì ê° ë€ëŠ ëë€. Python 3.4륌 ì¬ì©íì¬ ìì€ìì ìíží ëŒìŽëžë¬ëŠ¬ë¥Œ 컎íìŒíê³ ììµëë€ (ëš ëª ë¬ ìì ìëª ìŽ ë€í ê²ì ëë€).
ëšìí ì€ì¹ ì€íšë¥Œ 볞ë€ê³ íŽì ë ê°ì§ 묞ì ê° ê°ì§ë ììµëë€. ë°ìŽ ë€êž° ì ì ì ì¬ì ì ìŽíŽë³Žê³ 묞ì ê° ë€ë¥Žê² 볎ìŽë©Ž ë€ë¥ž 묞ì 륌ì¬ììì€!
@techalchemy íì ì¡°ì¹ì ê°ì¬ë늜ëë€! ê·žë ë€ë©Ž VCS ì¢
ìì±ì ì€ì¹í ëë§ë€ editable = true
ì ì¶ê°íŽìŒí©ëê¹? ìëë©Ž ìŽë€ ì¢
ë¥ì ìì ì¬íë ì¶ê°íŽìŒí©ëê¹?
ëë ë¹ì·í 묞ì ê° ììµëë€.
ìŽë ê² ipython
ì€ì¹ë¥Œ ìëíìµëë€.
pipenv install ipython
ìŽê²ì ì¶ë ¥ì ëë€
(v3.spi.rfid) pi<strong i="11">@raspberrypi</strong>:~/v3.spi.rfid $ pipenv install ipython
Installing ipythonâŠ
Installing dependencies from Pipfile.lock (3a89f1)âŠ
â Installation Succeeded
An error occurred while installing msgpack-python==0.5.6 --hash=sha256:378cc8a6d3545b532dfd149da715abae4fda2a3adb6d74e525d0d5e51f46909b! Will try again.
An error occurred while installing socketio-client==0.7.2 --hash=sha256:64cd84fba79cf97f28c11e64d1fc42a2221f2d7a4fada05ab381e2d73d74d2c1! Will try again.
An error occurred while installing bcrypt==3.1.5 --hash=sha256:05d8b762cb8a9bd0ad92ee95ed34b6119200a8760b625dadacfe88537ae691a3 --hash=sha256:136243dc44e5bab9b61206bd46fff3018bd80980b1a1dfbab64a22ff5745957f --hash=sha256:1de0df7a9ca76d68ec8122573ae584aab78dcfb728fc2c78ecafb15750b79465 --hash=sha256:214c720cfcd394ab9fd1cac59303847b0d45cc8feeb8126ec55619c77d85ec19 --hash=sha256:290e07820d408e8c81f79f848279b95cef693d6e6ce148fa6b1e573e89a4305b --hash=sha256:2d60412b11994ab91d25572f780f8461748cecdb6014c23e33b2ea0aabc99782 --hash=sha256:62ff976497590c7ef714f426aff8b908f2a11686364bb01cfc7d338e86a2ee27 --hash=sha256:77c99c50bd7ac4e9e9f948015c4638176ebe0a495b22b6ae4857f3ba077b12d8 --hash=sha256:9af0a7e135e7f5feca9c16ba33064af545b33b7297c1bb65daedb11c0fa653c4 --hash=sha256:9b08088fd103eedfd750d832819555d1f96bc8bec749c6d35a3f3de3b9e8c98d --hash=sha256:a185efb05ef8bac9a531474abfefb8323f3ec8d524d308d6720657eaeda068b5 --hash=sha256:c7a733c4c309c9ab572644cf7f8779845addcd5ecf474bb5c376f05731842c41 --hash=sha256:cc3f53fa3287c0fc2bc1636e9514b896d4777444b03d9e0e4f16762a856bfe8a --hash=sha256:d216ee4e8e64d43d819acaf8aa0db6cb518859072152cf35ada4987bf5c92bff --hash=sha256:db3c7d712c4049eff365f00c9236279602af17c0ba44ca759008641c7fd892b7 --hash=sha256:e1bb330c56ddec65ad9ce989e9e8664901ce96badfe47853a5ed03bfeb76f91a --hash=sha256:efcaace6e2915434d84e865c44f0cfe34e802269378afbb39a4aa6381aaec78b --hash=sha256:f4431e01f1a5fdea95c78758e24c9565651499d92024ff34663b1ab12c8a10e5 --hash=sha256:fd21155abee7cd4c0ba8fad5138636f2531174ea79ad1751b25dc30d833e1723! Will try again.
An error occurred while installing cryptography==2.4.2 --hash=sha256:05a6052c6a9f17ff78ba78f8e6eb1d777d25db3b763343a1ae89a7a8670386dd --hash=sha256:0eb83a24c650a36f68e31a6d0a70f7ad9c358fa2506dc7b683398b92e354a038 --hash=sha256:0ff4a3d6ea86aa0c9e06e92a9f986de7ee8231f36c4da1b31c61a7e692ef3378 --hash=sha256:1699f3e916981df32afdd014fb3164db28cdb61c757029f502cb0a8c29b2fdb3 --hash=sha256:1b1f136d74f411f587b07c076149c4436a169dc19532e587460d9ced24adcc13 --hash=sha256:21e63dd20f5e5455e8b34179ac43d95b3fb1ffa54d071fd2ed5d67da82cfe6dc --hash=sha256:2454ada8209bbde97065453a6ca488884bbb263e623d35ba183821317a58b46f --hash=sha256:3cdc5f7ca057b2214ce4569e01b0f368b3de9d8ee01887557755ccd1c15d9427 --hash=sha256:418e7a5ec02a7056d3a4f0c0e7ea81df374205f25f4720bb0e84189aa5fd2515 --hash=sha256:471a097076a7c4ab85561d7fa9a1239bd2ae1f9fd0047520f13d8b340bf3210b --hash=sha256:5ecaf9e7db3ca582c6de6229525d35db8a4e59dc3e8a40a331674ed90e658cbf --hash=sha256:63b064a074f8dc61be81449796e2c3f4e308b6eba04a241a5c9f2d05e882c681 --hash=sha256:6afe324dfe6074822ccd56d80420df750e19ac30a4e56c925746c735cf22ae8b --hash=sha256:70596e90398574b77929cd87e1ac6e43edd0e29ba01e1365fed9c26bde295aa5 --hash=sha256:70c2b04e905d3f72e2ba12c58a590817128dfca08949173faa19a42c824efa0b --hash=sha256:8908f1db90be48b060888e9c96a0dee9d842765ce9594ff6a23da61086116bb6 --hash=sha256:af12dfc9874ac27ebe57fc28c8df0e8afa11f2a1025566476b0d50cdb8884f70 --hash=sha256:b4fc04326b2d259ddd59ed8ea20405d2e695486ab4c5e1e49b025c484845206e --hash=sha256:da5b5dda4aa0d5e2b758cc8dfc67f8d4212e88ea9caad5f61ba132f948bab859! Will try again.
An error occurred while installing pyyaml==3.13 --hash=sha256:3d7da3009c0f3e783b2c873687652d83b1bbfd5c88e9813fb7e5b03c0dd3108b --hash=sha256:3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf --hash=sha256:40c71b8e076d0550b2e6380bada1f1cd1017b882f7e16f09a65be98e017f211a --hash=sha256:558dd60b890ba8fd982e05941927a3911dc409a63dcb8b634feaa0cda69330d3 --hash=sha256:a7c28b45d9f99102fa092bb213aa12e0aaf9a6a1f5e395d36166639c1f96c3a1 --hash=sha256:aa7dd4a6a427aed7df6fb7f08a580d68d9b118d90310374716ae90b710280af1 --hash=sha256:bc558586e6045763782014934bfaf39d48b8ae85a2713117d16c39864085c613 --hash=sha256:d46d7982b62e0729ad0175a9bc7e10a566fc07b224d2c79fafb5e032727eaa04 --hash=sha256:d5eef459e30b09f5a098b9cea68bebfeb268697f78d647bd255a085371ac7f3f --hash=sha256:e01d3203230e1786cd91ccfdc8f8454c8069c91bee3962ad93b87a4b2860f537 --hash=sha256:e170a9e6fcfd19021dd29845af83bb79236068bf5fd4df3327c1be18182b2531! Will try again.
An error occurred while installing markupsafe==1.1.0 --hash=sha256:048ef924c1623740e70204aa7143ec592504045ae4429b59c30054cb31e3c432 --hash=sha256:130f844e7f5bdd8e9f3f42e7102ef1d49b2e6fdf0d7526df3f87281a532d8c8b --hash=sha256:19f637c2ac5ae9da8bfd98cef74d64b7e1bb8a63038a3505cd182c3fac5eb4d9 --hash=sha256:1b8a7a87ad1b92bd887568ce54b23565f3fd7018c4180136e1cf412b405a47af --hash=sha256:1c25694ca680b6919de53a4bb3bdd0602beafc63ff001fea2f2fc16ec3a11834 --hash=sha256:1f19ef5d3908110e1e891deefb5586aae1b49a7440db952454b4e281b41620cd --hash=sha256:1fa6058938190ebe8290e5cae6c351e14e7bb44505c4a7624555ce57fbbeba0d --hash=sha256:31cbb1359e8c25f9f48e156e59e2eaad51cd5242c05ed18a8de6dbe85184e4b7 --hash=sha256:3e835d8841ae7863f64e40e19477f7eb398674da6a47f09871673742531e6f4b --hash=sha256:4e97332c9ce444b0c2c38dd22ddc61c743eb208d916e4265a2a3b575bdccb1d3 --hash=sha256:525396ee324ee2da82919f2ee9c9e73b012f23e7640131dd1b53a90206a0f09c --hash=sha256:52b07fbc32032c21ad4ab060fec137b76eb804c4b9a1c7c7dc562549306afad2 --hash=sha256:52ccb45e77a1085ec5461cde794e1aa037df79f473cbc69b974e73940655c8d7 --hash=sha256:5c3fbebd7de20ce93103cb3183b47671f2885307df4a17a0ad56a1dd51273d36 --hash=sha256:5e5851969aea17660e55f6a3be00037a25b96a9b44d2083651812c99d53b14d1 --hash=sha256:5edfa27b2d3eefa2210fb2f5d539fbed81722b49f083b2c6566455eb7422fd7e --hash=sha256:7d263e5770efddf465a9e31b78362d84d015cc894ca2c131901a4445eaa61ee1 --hash=sha256:83381342bfc22b3c8c06f2dd93a505413888694302de25add756254beee8449c --hash=sha256:857eebb2c1dc60e4219ec8e98dfa19553dae33608237e107db9c6078b1167856 --hash=sha256:98e439297f78fca3a6169fd330fbe88d78b3bb72f967ad9961bcac0d7fdd1550 --hash=sha256:bf54103892a83c64db58125b3f2a43df6d2cb2d28889f14c78519394feb41492 --hash=sha256:d9ac82be533394d341b41d78aca7ed0e0f4ba5a2231602e2f05aa87f25c51672 --hash=sha256:e982fe07ede9fada6ff6705af70514a52beb1b2c3d25d4e873e82114cf3c5401 --hash=sha256:edce2ea7f3dfc981c4ddc97add8a61381d9642dc3273737e756517cc03e84dd6 --hash=sha256:efdc45ef1afc238db84cb4963aa689c0408912a0239b0721cb172b4016eb31d6 --hash=sha256:f137c02498f8b935892d5c0172560d7ab54bc45039de8805075e19079c639a9c --hash=sha256:f82e347a72f955b7017a39708a3667f106e6ad4d10b25f237396a7115d8ed5fd --hash=sha256:fb7c206e01ad85ce57feeaaa0bf784b97fa3cad0d4a5737bc5295785f5c613a1! Will try again.
An error occurred while installing odfpy==1.3.6 --hash=sha256:6bcaf3b23aa9e49ed8c8c177266539b211add4e02402748a994451482a10cb1b! Will try again.
An error occurred while installing cffi==1.11.5 --hash=sha256:151b7eefd035c56b2b2e1eb9963c90c6302dc15fbd8c1c0a83a163ff2c7d7743 --hash=sha256:1553d1e99f035ace1c0544050622b7bc963374a00c467edafac50ad7bd276aef --hash=sha256:1b0493c091a1898f1136e3f4f991a784437fac3673780ff9de3bcf46c80b6b50 --hash=sha256:2ba8a45822b7aee805ab49abfe7eec16b90587f7f26df20c71dd89e45a97076f --hash=sha256:3bb6bd7266598f318063e584378b8e27c67de998a43362e8fce664c54ee52d30 --hash=sha256:3c85641778460581c42924384f5e68076d724ceac0f267d66c757f7535069c93 --hash=sha256:3eb6434197633b7748cea30bf0ba9f66727cdce45117a712b29a443943733257 --hash=sha256:495c5c2d43bf6cebe0178eb3e88f9c4aa48d8934aa6e3cddb865c058da76756b --hash=sha256:4c91af6e967c2015729d3e69c2e51d92f9898c330d6a851bf8f121236f3defd3 --hash=sha256:57b2533356cb2d8fac1555815929f7f5f14d68ac77b085d2326b571310f34f6e --hash=sha256:770f3782b31f50b68627e22f91cb182c48c47c02eb405fd689472aa7b7aa16dc --hash=sha256:79f9b6f7c46ae1f8ded75f68cf8ad50e5729ed4d590c74840471fc2823457d04 --hash=sha256:7a33145e04d44ce95bcd71e522b478d282ad0eafaf34fe1ec5bbd73e662f22b6 --hash=sha256:857959354ae3a6fa3da6651b966d13b0a8bed6bbc87a0de7b38a549db1d2a359 --hash=sha256:87f37fe5130574ff76c17cab61e7d2538a16f843bb7bca8ebbc4b12de3078596 --hash=sha256:95d5251e4b5ca00061f9d9f3d6fe537247e145a8524ae9fd30a2f8fbce993b5b --hash=sha256:9d1d3e63a4afdc29bd76ce6aa9d58c771cd1599fbba8cf5057e7860b203710dd --hash=sha256:a36c5c154f9d42ec176e6e620cb0dd275744aa1d804786a71ac37dc3661a5e95 --hash=sha256:a6a5cb8809091ec9ac03edde9304b3ad82ad4466333432b16d78ef40e0cce0d5 --hash=sha256:ae5e35a2c189d397b91034642cb0eab0e346f776ec2eb44a49a459e6615d6e2e --hash=sha256:b0f7d4a3df8f06cf49f9f121bead236e328074de6449866515cea4907bbc63d6 --hash=sha256:b75110fb114fa366b29a027d0c9be3709579602ae111ff61674d28c93606acca --hash=sha256:ba5e697569f84b13640c9e193170e89c13c6244c24400fc57e88724ef610cd31 --hash=sha256:be2a9b390f77fd7676d80bc3cdc4f8edb940d8c198ed2d8c0be1319018c778e1 --hash=sha256:ca1bd81f40adc59011f58159e4aa6445fc585a32bb8ac9badf7a2c1aa23822f2 --hash=sha256:d5d8555d9bfc3f02385c1c37e9f998e2011f0db4f90e250e5bc0c0a85a813085 --hash=sha256:e55e22ac0a30023426564b1059b035973ec82186ddddbac867078435801c7801 --hash=sha256:e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4 --hash=sha256:ecbb7b01409e9b782df5ded849c178a0aa7c906cf8c5a67368047daab282b184 --hash=sha256:ed01918d545a38998bfa5902c7c00e0fee90e957ce036a4000a88e3fe2264917 --hash=sha256:edabd457cd23a02965166026fd9bfd196f4324fe6032e866d0f3bd0301cd486f --hash=sha256:fdf1c1dc5bafc32bc5d08b054f94d659422b05aba244d6be4ddc1c72d9aa70fb! Will try again.
An error occurred while installing flask-bcrypt==0.7.1 --hash=sha256:d71c8585b2ee1c62024392ebdbc447438564e2c8c02b4e57b56a4cafd8d13c5f! Will try again.
An error occurred while installing pycparser==2.19 --hash=sha256:a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3! Will try again.
An error occurred while installing docopt==0.6.2 --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491! Will try again.
An error occurred while installing unicodecsv==0.14.1 --hash=sha256:018c08037d48649a0412063ff4eda26eaa81eff1546dbffa51fa5293276ff7fc! Will try again.
An error occurred while installing simplegeneric==0.8.1 --hash=sha256:dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173! Will try again.
An error occurred while installing uwsgi==2.0.17.1 --hash=sha256:d2318235c74665a60021a4fc7770e9c2756f9fc07de7b8c22805efe85b5ab277! Will try again.
An error occurred while installing et-xmlfile==1.0.1 --hash=sha256:614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b! Will try again.
An error occurred while installing tablib==0.12.1 --hash=sha256:b8cf50a61d66655229993f2ee29220553fb2c80403479f8e6de77c0c24649d87! Will try again.
An error occurred while installing scandir==1.9.0 --hash=sha256:04b8adb105f2ed313a7c2ef0f1cf7aff4871aa7a1883fa4d8c44b5551ab052d6 --hash=sha256:1444134990356c81d12f30e4b311379acfbbcd03e0bab591de2696a3b126d58e --hash=sha256:1b5c314e39f596875e5a95dd81af03730b338c277c54a454226978d5ba95dbb6 --hash=sha256:346619f72eb0ddc4cf355ceffd225fa52506c92a2ff05318cfabd02a144e7c4e --hash=sha256:44975e209c4827fc18a3486f257154d34ec6eaec0f90fef0cca1caa482db7064 --hash=sha256:61859fd7e40b8c71e609c202db5b0c1dbec0d5c7f1449dec2245575bdc866792 --hash=sha256:a5e232a0bf188362fa00123cc0bb842d363a292de7126126df5527b6a369586a --hash=sha256:c14701409f311e7a9b7ec8e337f0815baf7ac95776cc78b419a1e6d49889a383 --hash=sha256:c7708f29d843fc2764310732e41f0ce27feadde453261859ec0fca7865dfc41b --hash=sha256:c9009c527929f6e25604aec39b0a43c3f831d2947d89d6caaab22f057b7055c8 --hash=sha256:f5c71e29b4e2af7ccdc03a020c626ede51da471173b4a6ad1e904f2b2e04b4bd! Will try again.
An error occurred while installing flask-uploads==0.2.1 --hash=sha256:53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02! Will try again.
An error occurred while installing openpyxl==2.5.11 --hash=sha256:8b0c2a44f394a7a913a2e7cdcc1dc601d5f45c59b85a356e591e2ac5463e21e7! Will try again.
An error occurred while installing greenlet==0.4.15 --hash=sha256:000546ad01e6389e98626c1367be58efa613fa82a1be98b0c6fc24b563acc6d0 --hash=sha256:0d48200bc50cbf498716712129eef819b1729339e34c3ae71656964dac907c28 --hash=sha256:23d12eacffa9d0f290c0fe0c4e81ba6d5f3a5b7ac3c30a5eaf0126bf4deda5c8 --hash=sha256:37c9ba82bd82eb6a23c2e5acc03055c0e45697253b2393c9a50cef76a3985304 --hash=sha256:51503524dd6f152ab4ad1fbd168fc6c30b5795e8c70be4410a64940b3abb55c0 --hash=sha256:8041e2de00e745c0e05a502d6e6db310db7faa7c979b3a5877123548a4c0b214 --hash=sha256:81fcd96a275209ef117e9ec91f75c731fa18dcfd9ffaa1c0adbdaa3616a86043 --hash=sha256:853da4f9563d982e4121fed8c92eea1a4594a2299037b3034c3c898cb8e933d6 --hash=sha256:8b4572c334593d449113f9dc8d19b93b7b271bdbe90ba7509eb178923327b625 --hash=sha256:9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc --hash=sha256:9854f612e1b59ec66804931df5add3b2d5ef0067748ea29dc60f0efdcda9a638 --hash=sha256:99a26afdb82ea83a265137a398f570402aa1f2b5dfb4ac3300c026931817b163 --hash=sha256:a19bf883b3384957e4a4a13e6bd1ae3d85ae87f4beb5957e35b0be287f12f4e4 --hash=sha256:a9f145660588187ff835c55a7d2ddf6abfc570c2651c276d3d4be8a2766db490 --hash=sha256:ac57fcdcfb0b73bb3203b58a14501abb7e5ff9ea5e2edfa06bb03035f0cff248 --hash=sha256:bcb530089ff24f6458a81ac3fa699e8c00194208a724b644ecc68422e1111939 --hash=sha256:beeabe25c3b704f7d56b573f7d2ff88fc99f0138e43480cecdfcaa3b87fe4f87 --hash=sha256:d634a7ea1fc3380ff96f9e44d8d22f38418c1c381d5fac680b272d7d90883720 --hash=sha256:d97b0661e1aead761f0ded3b769044bb00ed5d33e1ec865e891a8b128bf7c656! Will try again.
ð ââââââââââââââââââââââââââââââââ 75/75 â 00:03:14
An error occurred while installing pydblite==3.0.4 --hash=sha256:79ed97d17b5954c6fa8927d9f36033cb4486d1304005057d506ac1dee999bad6! Will try again.
An error occurred while installing sqlalchemy==1.2.14 --hash=sha256:9de7c7dabcf06319becdb7e15099c44e5e34ba7062f9ba10bc00e562f5db3d04! Will try again.
Installing initially failed dependenciesâŠ
†ââââââââââââââââââââââââââââââââ 22/22 â 00:07:59
[pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.5/dist-packages/pipenv/cli/command.py", line 254, in install
[pipenv.exceptions.InstallError]: editable_packages=state.installstate.editables,
[pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.5/dist-packages/pipenv/core.py", line 1992, in do_install
[pipenv.exceptions.InstallError]: skip_lock=skip_lock,
[pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.5/dist-packages/pipenv/core.py", line 1253, in do_init
[pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.5/dist-packages/pipenv/core.py", line 862, in do_install_dependencies
[pipenv.exceptions.InstallError]: _cleanup_procs(procs, False, failed_deps_queue, retry=False)
[pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.5/dist-packages/pipenv/core.py", line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: ['Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple', 'Collecting msgpack-python==0.5.6 (from -r /tmp/pipenv-wizt1b_m-requirements/pipenv-w10z6g1r-requirement.txt (line 1))', ' Using cached https://www.piwheels.org/simple/msgpack-python/msgpack_python-0.5.6-cp35-cp35m-linux_armv7l.whl']
[pipenv.exceptions.InstallError]: ['THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.', ' msgpack-python==0.5.6 from https://www.piwheels.org/simple/msgpack-python/msgpack_python-0.5.6-cp35-cp35m-linux_armv7l.whl#sha256=8cf32ef40e4f187e9b406c22f89b6bcaf909fd7d05c177f16df52dab391cd27d (from -r /tmp/pipenv-wizt1b_m-requirements/pipenv-w10z6g1r-requirement.txt (line 1)):', ' Expected sha256 378cc8a6d3545b532dfd149da715abae4fda2a3adb6d74e525d0d5e51f46909b', ' Got 8cf32ef40e4f187e9b406c22f89b6bcaf909fd7d05c177f16df52dab391cd27d']
ERROR: ERROR: Package installation failed...
ìë íìžì @jacekjab ì£ì¡í©ëë€. ìŽêž° ì€íšë ì€ì ë¡ ë²ê·žê° ìëëë€. ê·ž ìì²Žë¡ pypiê° ìë ì ì¥ìì ëì ì€ì¹ì êŽë šìŽ ìë€ê³ ìê°í©ëë€. ì²ììë ì€íší ë€ì ìì°š ì€ì¹ë¡ ëìê°ìµëë€. íŽëŠ ì€ì¹ì êŽíŽìë ì€í í ëª ë ¹ì ì 첎 컚í ì€íž, $ PATH, envì ì¶ë ¥ì ì ê³µíŽìŒí©ëë€.
ë°ëŒì ì¬êž°ì 묞ì ë
editable = true
륌 ì¬ì©íì§ ìê³ VCS ì¢ ìì±ì ì€ì¹íë€ë ê²ì ëë€. ë³µì ì¬ë¡ì ëíŽ @hjwp ìê² ê°ì¬ë늜ëë€.ëë ìŽê²ì ëí ìì ìŽ ìë€ê³ ìê°íì§ë§, ë¹ì ìŽ ì ê³µ í í¹ì 겜ì°ìë íì ë€ë¥ž ì¢ ìì± ìŽíì ì€ì¹ íŽìŒíë ížì§ ê°ë¥í ì¢ ìì±ìŒë¡ ìžíŽ ëê¹ì§ ížìëìŽìŒíë ëšìŒ ì€ë¥ê° ììµëë€ (íŒí ì ììµëë€.
--sequential
ëë ì€íší ì¢ ìì±ì ížì§ ê°ë¥íê² ë§ë€ìŽ)
ìë íìžì @techalchemy , ê°ì¬í©ëë€. ë§ìµëë€. ëì ì€ì¹ì êŽë šë ìŒì¢ ì 충ë ë묞ì ëë€. ê·žë¬ë ìŽë¬í ì¢ ìì±ì ížì§ ê°ë¥íê² ë§ë€ìŽë 묞ì ê° íŽê²°ëì§ ìììµëë€.
ì¬ëë€ TL; DRì ê²œì° ë€ì ì€ ì€ íëì ê°ìŽ ì€ì¹ ëª
ë ¹ì --sequential
륌 ì¶ê°íë©Žë©ëë€.
pipenv install --sequential
pipenv install --sequential -e .
md5-af518c1181e90054ae5e1484ec362846
pipenv sync --sequential
ì¶ê° ì 볎ë¡,ìŽ ë¬žì ë ìë§ì íŽê²° 묞ì 륌 íŽê²° í # 3298ë¶í° íŽê²°ëìŽìŒí©ëë€.
@changyuheng , ë¹ëì --sequential
ì ì¶ê°íë©Ž ëë¶ë¶ì ì¢
ìì±ìŽ ì€ì¹ëì§ ììµëë€. ì€íšë ììµëë€. Pipfile.lock
ì ë§ì ì¢
ìì±ì 걎ë ë°ê³ 걎ë ëŽ ìŽì 륌 ì€ëª
íë ì¶ë ¥ììŽ ( --verbose
ììë) ì í ì€ì¹íì§ ììµëë€. ë묎 ë§ìŽ ...
# 3537ìŽ ìì§ ì°©ë¥íì§ ììêž° ë묞ì ëë€.
ëëšžì§ prsë ë¶ë¥ ë êµ¬ì± ë¬žì ë¡ ìžíŽ ìŒë¶ CI ì€íšë¥Œ êž°ë€ëŠ¬ê³ ìììµëë€. ì€ì ë¡ ëëšžì§ ìê° ì ì 몚ë VCS ì¢
ìì±ì íŽê²°íë ìë¡ìŽ íŽê²° íë¡ìžì€ë¡ ìžíŽ ë ìŽì --sequential
ê° íìíì§ ììµëë€. ê·žë° ë€ì Pipfile
ë€ë¥ž 몚ë í목곌 íšê» íŽë¹ ì¢
ìì±ì ì ìœ ì¡°ê±Žì íŽê²° íë¡ê·žëšì ì ê³µí©ëë€. ìŽë¥Œ íµíŽ ìë €ì§ ëªšë ì ìœ ì¡°ê±Žì 충족íë ì€ì íŽìë ì§í©ì ìì± í ì ììµëë€. --sequential
@ nickwilliams-eventbrite륌 _dont_ ì¬ì©íë©Ž 몚ë ê²ìŽ ììëë¡ ìëí©ëê¹?
ìëì. ì¢ ìì±ì ìœ ì ë°ì ì€ì¹íì§ ëª»íê³ ë€ì ëììì ë§ì¹šëŽ ì±ê³µíêž° ì ì "ì²ìì ì€íší ì¢ ìì± ì€ì¹"ëŒê³ ë§í©ëë€. ìì곌 ë€ëŠ ëë€. ê·žë¬ëìŽ ë²ê·žì ì€ëª ëëë¡ì ëë€.
_any_ VCS ì¢ ìì±ìŽ ììµëë€. íëê° ìëëë€.
ëšìŒ ì€ì¹ë¡ìŽ ëìì ì¬í í ì ììµëë€.
pipenv install psycopg2
psycopy2 ë psycopg2-binary ìë§ìŒë¡ ìžíŽ ë°ìí ê°ë¥ì±ìŽ ë§€ì° ëìµëë€. psycopg2-binary : ì?
psycopg2 ì€ì¹ë ê²œê³ ë©ìì§ë¥Œ ì ê³µíë©° pipenv ê° "ì€íš"í ì ììµëë€.
ìŽê²ì ëí ìì ìŽ ìžì PyPiì ì¶ì ë ì§ ììëê¹? ì¬íŽ ì§êžê¹ì§ ì°ëŠ¬ ì¡°ì§ì ê°ë°ìê° í겜 ì±ëì "ëŽ ì»ší ìŽë륌 ë¹ëíì§ ëª»íìµëë€. ì€ë¥ë '____륌 ì€ì¹íë ëì ì€ë¥ê° ë°ìíìµëë€.'"ëŒë êžì ê²ì í íìê° 1,000 í ìŽìì ëë€. ì€ë¥ê° ìëëŒë ì ì ì ìžíë©Ž ì€ë¥ë ìŽëê°ììììµëë€. ê·žë ì§ ììŒë©Ž ì¬ëë€ìŽ ë¡ê·žìì ì€ì ì€ë¥ë¥Œ ì°Ÿë ë° ì§ëì¹ê² ë§ì ìê°ì ìë¹íìµëë€. ìŽê²ì ì°ëŠ¬ìê² í° ê³ íµì ëë€. :-(
ë°ëŒì ì¬êž°ì 묞ì ë
editable = true
륌 ì¬ì©íì§ ìê³ VCS ì¢ ìì±ì ì€ì¹íë€ë ê²ì ëë€. ë³µì ì¬ë¡ì ëíŽ @hjwp ìê² ê°ì¬ë늜ëë€.ëë ìŽê²ì ëí ìì ìŽ ìë€ê³ ìê°íì§ë§, ë¹ì ìŽ ì ê³µ í í¹ì 겜ì°ìë íì ë€ë¥ž ì¢ ìì± ìŽíì ì€ì¹ íŽìŒíë ížì§ ê°ë¥í ì¢ ìì±ìŒë¡ ìžíŽ ëê¹ì§ ížìëìŽìŒíë ëšìŒ ì€ë¥ê° ììµëë€ (íŒí ì ììµëë€.
--sequential
ëë ì€íší ì¢ ìì±ì ížì§ ê°ë¥íê² ë§ë€ìŽ)
ì€ì¹ ëª
ë ¹ì --sequential
륌 ì¶ê°íë©Ž íšê³Œê°ìììµëë€ ð
ê·žëë íŽê²° ë°©ë²ìŒë¡ ìê°íê³ ììµëë€ ...
íŽê²° ë°©ë²ìŽ ìëì§ íìžíêž° ìíŽìŽ 묞ì 륌 íŽê²°íê³ ì¶ììµëë€.
pipenv install psycopg2 --sequential
ê°) ì ìê² íšê³Œì ìŽììµëë€!
ì¬ë¬ë¶, ì ë pipenv íë¡ì ížìì ìŒíì§ ììµëë€.íì§ë§ ë©ìží ìŽë륌 ëì íŽì ë§ì ëëŠ¬ê² ìµëë€. ì, ë²ê·žê° ë ë§ì ì¬ëë€ìê² ìí¥ì 믞ì¹ëìꞰ륌 ìë ê²ìŽ ì ì©í©ëë€. "ìì§ ìì ëììµëê¹?"ëŒë ìì늬륌ë°ë ê²ì ì ì©íì§ ììµëë€.
ê·žê²ìŽ ì ë§ë¡ ë¹ì ì ꎎë¡íë 겜ì°, _ ì¬ë°ë¥ž _ ìŒì ì§ì ê³ ì¹ë ê²ì ëë€. @ nickwilliams-eventbrite, ë§ ê·žëë¡ìŽ 묞ì ì ë§ ê·žëë¡ ìì² ë² ë¶ëªíë©Ž ì€ì€ë¡ íŽê²°íê³ íì ìê°ê³Œ ì¢ì ì ì ìœíë ë° ìê°ì í ì íë ê²ìŽ ì¢ì í¬ìê° ë ê² ê°ìµëë€.
ìœê°ì ì€êµë¥ŒíŽì ì£ì¡í©ëë€! ê·žë¬ë ì€í ìì€ë ì ìë¡ ìŽë€ ì£œê³ , 몚ë ì¬ëë€ìŽ "ì ìì§ ê³ ì³ì§ì§ ìììµëê¹?"ëŒê³ ë¶ííë í ë²ì ì¡°êžì© 칚ìëììµëë€. ë¬Žêž ìì ëŽì¬ì íìì .... ê·žëŠ¬ê³ ìŽ ìê²¬ìŽ ë¹ì ì ì못ë ë°©ììŒë¡ 묞ì§ë¥Žë©Ž ì¬ëì€ë¬ìŽ pipenv íìŽ ìë ë륌 ë¹ëíë ê²ì êž°ìµíììì€ ;-)
ë€ë¥ž ì¬ëë€ê³Œ ë§ì°¬ê°ì§ë¡ ì ë ëê°ì 묞ì 륌 겪ììµëë€. ëŽ ê·Œë³ž ììžì ë€ë¥ž ì¬ë곌 ê°ì§ ìì ì ìì§ë§ ë¹ì·í ìí©ììë ì¬ëë€ì ëêž° ìíŽ ì¬êž°ì ëì ž ë£ê² ë€ê³ ìê°íìµëë€.
macOS High Sierra (10.13.6)륌 ì€ííë 구í 2011 ë
ìŽ MacBook Pro륌 ì¬ì©íê³ ììµëë€.
Python ë²ì ì 3.7.4ì
ëë€.
TL; DR-ëŽ ë¹ë íê²œìŽ ìë§ìŽììµëë€. ì ìê² ìì ì xcode-select --install
Xcode ëª
ë ¹ ì€ ë구륌 ë€ì ì€ì¹íë ê²ìŽ ììµëë€.
ëŽ ëë²ê¹ ëšê³ :
regex
ì€ì¹íë ê² ê°ìµëë€.$ pipenv install regex
...
An error occurred while installing regex==2019.8.19 --hash=sha256:1e9f9bc44ca195baf0040b1938e6801d2f3409661c15fe57f8164c678cfc663f --hash=sha256:587b62d48ca359d2d4f02d486f1f0aa9a20fbaf23a9d4198c4bed72ab2f6c849 --hash=sha256:835ccdcdc612821edf132c20aef3eaaecfb884c9454fdc480d5887562594ac61 --hash=sha256:93f6c9da57e704e128d90736430c5c59dd733327882b371b0cae8833106c2a21 --hash=sha256:a46f27d267665016acb3ec8c6046ec5eae8cf80befe85ba47f43c6f5ec636dcd --hash=sha256:c5c8999b3a341b21ac2c6ec704cfcccbc50f1fedd61b6a8ee915ca7fd4b0a557 --hash=sha256:d4d1829cf97632673aa49f378b0a2c3925acd795148c5ace8ef854217abbee89 --hash=sha256:d96479257e8e4d1d7800adb26bf9c5ca5bab1648a1eddcac84d107b73dc68327 --hash=sha256:f20f4912daf443220436759858f96fefbfc6c6ba9e67835fd6e4e9b73582791a --hash=sha256:f2b37b5b2c2a9d56d9e88efef200ec09c36c7f323f9d58d0b985a90923df386d --hash=sha256:fe765b809a1f7ce642c2edeee351e7ebd84391640031ba4b60af8d91a9045890!
...
$ pipenv install -v regex
...
Running command /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-wheel-42ajnw_w --python-tag cp37
BASE_DIR is /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex
/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.08.19' to '2019.8.19'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-3.7
creating build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/__init__.py -> build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/regex.py -> build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/_regex_core.py -> build/lib.macosx-10.11-x86_64-3.7/regex
creating build/lib.macosx-10.11-x86_64-3.7/regex/test
copying regex_3/regex/test/__init__.py -> build/lib.macosx-10.11-x86_64-3.7/regex/test
copying regex_3/regex/test/test_regex.py -> build/lib.macosx-10.11-x86_64-3.7/regex/test
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-10.11-x86_64-3.7
creating build/temp.macosx-10.11-x86_64-3.7/regex_3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c regex_3/_regex.c -o build/temp.macosx-10.11-x86_64-3.7/regex_3/_regex.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command 'clang' failed with exit status 1
Building wheel for regex (setup.py): finished with status 'error'
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Running command /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
BASE_DIR is /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex
/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.08.19' to '2019.8.19'
normalized_version,
running clean
removing 'build/temp.macosx-10.11-x86_64-3.7' (and everything under it)
removing 'build/lib.macosx-10.11-x86_64-3.7' (and everything under it)
'build/bdist.macosx-10.11-x86_64' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
removing 'build'
Failed to build regex
Installing collected packages: regex
Created temporary directory: /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-record-u8h1g1mx
Running setup.py install for regex: started
Running command /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-record-u8h1g1mx/install-record.txt --single-version-externally-managed --compile --install-headers /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/../include/site/python3.7/regex
BASE_DIR is /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex
/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.08.19' to '2019.8.19'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-3.7
creating build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/__init__.py -> build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/regex.py -> build/lib.macosx-10.11-x86_64-3.7/regex
copying regex_3/regex/_regex_core.py -> build/lib.macosx-10.11-x86_64-3.7/regex
creating build/lib.macosx-10.11-x86_64-3.7/regex/test
copying regex_3/regex/test/__init__.py -> build/lib.macosx-10.11-x86_64-3.7/regex/test
copying regex_3/regex/test/test_regex.py -> build/lib.macosx-10.11-x86_64-3.7/regex/test
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-10.11-x86_64-3.7
creating build/temp.macosx-10.11-x86_64-3.7/regex_3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c regex_3/_regex.c -o build/temp.macosx-10.11-x86_64-3.7/regex_3/_regex.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command 'clang' failed with exit status 1
Running setup.py install for regex: finished with status 'error'
Cleaning up...
Removing source in /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex
Removed build tracker '/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-req-tracker-68pwd4_a'
ERROR: Command errored out with exit status 1: /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-record-u8h1g1mx/install-record.txt --single-version-externally-managed --compile --install-headers /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/../include/site/python3.7/regex Check the logs for full command output.
Exception information:
Traceback (most recent call last):
File "/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in main
status = self.run(options, args)
File "/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 407, in run
use_user_site=options.use_user_site,
File "/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 58, in install_given_reqs
**kwargs
File "/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 959, in install
spinner=spinner,
File "/Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 931, in call_subprocess
raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-install-isftptee/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/74/nn92mwzn5p178mjyphzwhs6h0000gp/T/pip-record-u8h1g1mx/install-record.txt --single-version-externally-managed --compile --install-headers /Users/<user>/.local/share/virtualenvs/penv-EwluS9kv/bin/../include/site/python3.7/regex Check the logs for full command output.
í¹í ë€ì곌 ê°ì ëŒìžìŽ íìŽ ëììµëë€.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ì 겜ë¡ìë bin ëë í ëŠ¬ê° ì í ìììµëë€. ë¹ ë¥ž Google ê²ìì íµíŽ https://apple.stackexchange.com/questions/321858/xcrun-missing-installing-xcode-command-line-tools-not-fixing-issue ì ê°ì ë§í¬ê° ëí
ììì ë ë§ì ê²ì ìœì í ìµê·Œì ìŽì ë²ì ì macOSìì ì
ê·žë ìŽëíìì 깚ë¬ììµëë€. ìŽ ìì
ì ìííì ë Xcode ëª
ë ¹ ì€ ë구 ì€ì¹ê° ë ìŽì ì íšíì§ ìììµëë€. ìì í¬ëŒìì ì°Ÿì ì¡°ìžì ë°ëŒ xcode-select --install
ì ì í CLT륌 ì€ì¹íìµëë€. ê·ž í 몚ë ê²ìŽ ìŠì ìëíêž° ììíìµëë€.
ëìê²ìŽ 묞ì ë 컎íìŒíŽìŒíë íší€ì§ì ìíŽìë§ ë°ìíì ê²ì ëë€.
ìŽê²ì ë€ë¥ž ì¬ëë€ìŽ 겜ííë ê²ê³Œ ì ì¬ í ìë ìê³ ìë ìë ììµëë€. ê·žë ë€ë©Ž pipenvì ë ììží ê²œê³ / ì€ë¥ ë©ìì§ê° ì¬ì©ììê² ê·Œë³ž ììžì ìë €ì€ ì ììµëë€.
ìŽê²ìŽ ë€ë¥ž ì¬ëë€ìê² ëììŽëꞰ륌 ë°ëëë€.
ì¬êž°ìë ê°ì 묞ì ê° ììµëë€. ì¶ê° 컚í ì€íž / ì 볎 ì ê³µ.
(ì²ììë moto https://github.com/spulec/moto/issues/2465ì íŒë ëš).
ëìì± ë¬žì ì²ëŒ ë껎ì§ëë€ (ììží ëŽì©ê³ŒìŽë¥Œ ìŠëª
íë ì€íì íŽë¹ í°ìŒ ì°žì¡°).
ê¶ê·¹ì ìŒë¡ ë€ì곌 ê°ìŽ í©ëŠ¬ì ìŒë¡ ìŒêŽëê² ì¬í í ì ììµëë€.
Pipfile
[[ì¶ì²]]
URL = " https://pypi.org/simple "
verify_ssl = true
ìŽëŠ = "pypi"
[íší€ì§]
"boto3"= " "mygeotab = " "
mysql-connector-python = " "pyodbc = " "
ìì² = " "xlrd = " "
[ê°ë° íší€ì§]
freezegun = " "ë©ížëŠ = " "
몚í = " "pyfakefs = " "
êž°ë¥ = " "pytest = " "
pytest-cov = " "pytest-mock = " "
pytest-sugar = " "pytz = " "
sqlparse = "*"
[íì]
python_version = "3.7"
ê·žëŠ¬ê³ ë컀 ì€í ëª ë ¹ :
docker run --volume="$PWD":/app -it python:3-slim bash -c "pip3 install --upgrade pip; pip3 install pipenv; cd /app; apt-get update && apt-get install --yes awscli bc bsdmainutils curl freetds-dev g++ gcc git jq sshpass tdsodbc openssh-client rsync unixodbc-dev zip; pipenv sync --bare --three; pipenv install --skip-lock --dev"
(SNIP all the pre-setup & apt stuff)
Creating a virtualenv for this projectâŠ
Pipfile: /app/Pipfile
Using /usr/local/bin/python (3.7.3) to create virtualenvâŠ
â ¹ Creating virtual environment...Already using interpreter /usr/local/bin/python
Using base prefix '/usr/local'
New python executable in /root/.local/share/virtualenvs/app-4PlAip0Q/bin/python
Installing setuptools, pip, wheel...
done.
â Successfully created virtual environment!
Virtualenv location: /root/.local/share/virtualenvs/app-4PlAip0Q
Installing dependencies from Pipfile.lock (63414b)âŠ
ð ââââââââââââââââââââââââââââââââ 26/26 â 00:00:31
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from PipfileâŠ
An error occurred while installing metrics! Will try again.
An error occurred while installing moto! Will try again.
An error occurred while installing pylint! Will try again.
An error occurred while installing pytest-cov! Will try again.
An error occurred while installing pytest-mock! Will try again.
An error occurred while installing pytest-sugar! Will try again.
ð ââââââââââââââââââââââââââââââââ 17/17 â 00:00:54
Installing initially failed dependenciesâŠ
†ââââââââââââââââââââââââââââââââ 6/6 â 00:00:58
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
êŽë šìŽìë ê² ê°ìµëë€ ...
ìë lxmlì ì€ì¹íë ëììŽ ì€ë¥ê° ë°ìí©ëë€.
pipenv ì€ì¹ lxml
ì€ë¥ : ììž :
ì ì¶ì (ê°ì¥ ìµê·Œ ížì¶ ë§ì§ë§) :
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorurllib3response.py", 425 í, _error_catcher
ììš
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorurllib3response.py", 507 í, ìœì
data = self._fp.read (amt) if not fp_closed else b ""
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorcachecontrolfilewrapper.py", 62 í, ìœêž°
ë°ìŽí° = self .__ fp.read (amt)
íìŒ "c : usersshivamappdatalocalprogramspythonpython38-32libhttpclient.py", 458 í, ìœêž° ì€
n = self.readinto (b)
"c : usersshivamappdatalocalprogramspythonpython38-32libhttpclient.py"íìŒ, 502 í, readinto
n = self.fp.readinto (b)
"c : usersshivamappdatalocalprogramspythonpython38-32libsocket.py", 669 í, readinto íìŒ
return self._sock.recv_into (b)
íìŒ "c : usersshivamappdatalocalprogramspythonpython38-32libssl.py", 1241 í, recv_into
return self.read (nbytes, buffer)
íìŒ "c : usersshivamappdatalocalprogramspythonpython38-32libssl.py", 1099 í, ìœêž° ì€
return self._sslobj.read (len, buffer)
socket.timeout : ìœêž° ìì
ìê°ìŽ ìŽê³Œëììµëë€.
ìì ììžë¥Œ ì²ëŠ¬íë ëì ë€ë¥ž ììžê° ë°ìíìµëë€.
ì ì¶ì (ê°ì¥ ìµê·Œ ížì¶ ë§ì§ë§) :
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalclibase_command.py", 188 í, _main
ìí = self.run (ìµì
, ìžì)
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalclireq_command.py", ì€ 185, ëíŒì ìì
return func (self, options, args)
"C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalcommandsinstall.py"íìŒ, 332 í, ì€í ì€
requirements_set = resolver.resolve (
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalresolutionlegacyresolver.py", 179 í, íŽê²° ì€
found_reqs.extend (self._resolve_one (requirement_set, req))
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalresolutionlegacyresolver.py", 362 í, _resolve_one
abstract_dist = self._get_abstract_dist_for (req_to_install)
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalresolutionlegacyresolver.py", 314 í, _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement (req)
prepare_linked_requirementì íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internaloperationsprepare.py", 467 í
local_file = unpack_url (
unpack_urlì íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internaloperationsprepare.py", 255 í
íìŒ = get_http_url (
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internaloperationsprepare.py", 129 í, get_http_url
from_path, content_type = _download_http_url (
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internaloperationsprepare.py", 281 í, _download_http_urlì ìì
download.chunksì ì²í¬ :
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalcliprogress_bars.py", 166 í, ë°ë³µ
xì ê²œì° :
response_chunksì íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_internalnetworkutils.py", 15 í
response.raw.stream (ì ì²í¬
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorurllib3response.py", 564 í, ì€ížëŠŒ
ë°ìŽí° = self.read (amt = amt, decode_content = decode_content)
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorurllib3response.py", 529 í, ìœì
IncompleteRead (self._fp_bytes_read, self.length_remaining)륌 ì¬ëŠœëë€.
__exit__ììë "c : usersshivamappdatalocalprogramspythonpython38-32libcontextlib.py", 131 í íìŒ
self.gen.throw (ì í, ê°, ì ì¶ì )
íìŒ "C : UsersShivam.virtualenvsProjects-Muah_USQlibsite-packagespip_vendorurllib3response.py", 430 í, _error_catcher
ReadTimeoutError (self._pool, None, "ìœêž° ìê°ìŽ ìŽê³Œëììµëë€.") ë°ì
pip._vendor.urllib3.exceptions.ReadTimeoutError : HTTPSConnectionPool (host = 'files.pythonhosted.org', port = 443) : ìœêž° ìê°ìŽ ìŽê³Œëììµëë€.
ëë ê°ì 묞ì ê° ìëë° ìŽë»ê² íŽê²° íëì?
ìŽë€ ëìì 죌ìë©Ž ê°ì¬íê² ìµëë€ã
ë¿¡ ë¹µëš
ëë ê°ì 묞ì ê° ìëë° ìŽë»ê² íŽê²° íëì?
ìŽë€ ëìì 죌ìë©Ž ê°ì¬íê² ìµëë€ã
ë€ì곌 ê°ìŽ í¹ì Python ë²ì ì í ë¹íì¬ìŽ 묞ì 륌 íŽê²°íìµëë€.
ìì íêž° ì ì 3.7ìŽììµëë€.
ëŽ íìŽì¬ ë²ì ì 3.7.4ìŽë©° íìŽì¬ ë²ì ì êž°ë°ìŒë¡ ìì í ì ììµëë€.
ê°ì¥ ì ì©í ëêž
ìë íìžì @techalchemy , ê°ì¬í©ëë€. ë§ìµëë€. ëì ì€ì¹ì êŽë šë ìŒì¢ ì 충ë ë묞ì ëë€. ê·žë¬ë ìŽë¬í ì¢ ìì±ì ížì§ ê°ë¥íê² ë§ë€ìŽë 묞ì ê° íŽê²°ëì§ ìììµëë€.
ì¬ëë€ TL; DRì ê²œì° ë€ì ì€ ì€ íëì ê°ìŽ ì€ì¹ ëª ë ¹ì
--sequential
륌 ì¶ê°íë©Žë©ëë€.