Closed Bug 1600829 Opened 6 years ago Closed 6 years ago

Include django in the requirements file(s)

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ekyle, Unassigned)

Details

The Treeherder requirements\common.txt file is missing django

In short, after running

C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install -r requirements\common.txt
C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install -r requirements\dev.txt

manage.py does not work. Here is the offending line:

C:\Users\kyle\code\treeherder>c:\python37\python.exe -c "from django.core.management import execute_from_command_line"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'django'

installing django

C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install django
<...snip ... see full trace below...>
Installing collected packages: pytz, sqlparse, django
Successfully installed django-3.0 pytz-2019.3 sqlparse-0.3.0
You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

allows the import line to work

C:\Users\kyle\code\treeherder>c:\python37\python.exe -c "from django.core.management import execute_from_command_line"

does not throw an error.

Also, some of the hashes must be updated (see trace)

C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install -r requirements\common.txt
Collecting gunicorn==19.9.0 (from -r requirements\common.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl
Collecting whitenoise[brotli]==4.1.3 (from -r requirements\common.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/96/75/92afb2d8912ac19646f67a2c69bb8683e5aab78db3b0791bfd3e7ed022bb/whitenoise-4.1.3-py2.py3-none-any.whl
Collecting Brotli==1.0.7 (from -r requirements\common.txt (line 12))
  Using cached https://files.pythonhosted.org/packages/52/e4/4799eb65c0da03e3fac85f78e110572a4a6e85aa24238a8f2344c3f1a3c0/Brotli-1.0.7-cp37-cp37m-win_amd64.whl
Collecting Django==2.2.6 (from -r requirements\common.txt (line 42))
  Using cached https://files.pythonhosted.org/packages/b2/79/df0ffea7bf1e02c073c2633702c90f4384645c40a1dd09a308e02ef0c817/Django-2.2.6-py3-none-any.whl
Collecting celery==4.3.0 (from -r requirements\common.txt (line 46))
  Using cached https://files.pythonhosted.org/packages/5c/a1/a3dd9d8bfa09156ec2cba37f90accf35c0f4ecc3980d96cb4fb99e56504b/celery-4.3.0-py2.py3-none-any.whl
Collecting kombu==4.6.3 (from -r requirements\common.txt (line 48))
  Using cached https://files.pythonhosted.org/packages/8f/f6/a60d03e6179166134aab2ee15603641eeb91c6ac9344018209d3ef13fb7c/kombu-4.6.3-py2.py3-none-any.whl
Collecting simplejson==3.16.0 (from -r requirements\common.txt (line 50))
  Using cached https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz
Collecting newrelic==5.2.1.129 (from -r requirements\common.txt (line 73))
  Using cached https://files.pythonhosted.org/packages/28/71/6c37ac1a819f5285d48227011a2be0be42ff97653de2cccd29f682449743/newrelic-5.2.1.129.tar.gz
Collecting mysqlclient==1.4.4 (from -r requirements\common.txt (line 77))
  Using cached https://files.pythonhosted.org/packages/64/46/3811fe37b1e1a39d6c47f44957cdae9c207bc23bf6c22ebb1d7a6892a55f/mysqlclient-1.4.4-cp37-cp37m-win_amd64.whl
Collecting billiard==3.6.1.0 (from -r requirements\common.txt (line 81))
  Using cached https://files.pythonhosted.org/packages/9a/bb/2a016ac912fca48e06ff5a662407f3d1681aa47df97fb19feba7cc931ee1/billiard-3.6.1.0-py3-none-any.whl
Collecting pytz==2019.2 (from -r requirements\common.txt (line 82))
  Using cached https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl
Collecting amqp==2.5.2 (from -r requirements\common.txt (line 87))
  Using cached https://files.pythonhosted.org/packages/fc/a0/6aa2a7923d4e82dda23db27711d565f0c4abf1570859f168e3d0975f1eb6/amqp-2.5.2-py2.py3-none-any.whl
Collecting vine==1.3.0 (from -r requirements\common.txt (line 90))
  Using cached https://files.pythonhosted.org/packages/7f/60/82c03047396126c8331ceb64da1dc52d4f1317209f32e8fe286d0c07365a/vine-1.3.0-py2.py3-none-any.whl
Collecting mozterm==1.0.0 (from -r requirements\common.txt (line 93))
  Using cached https://files.pythonhosted.org/packages/ab/eb/0c53684f5821d666372c6ea03d8c64558c8f74fda0fd5b24ae3dd2ab6a95/mozterm-1.0.0-py2.py3-none-any.whl
Collecting blessings==1.7 (from -r requirements\common.txt (line 96))
  Using cached https://files.pythonhosted.org/packages/03/74/489f85a78247609c6b4f13733cbf3ba0d864b11aa565617b645d6fdf2a4a/blessings-1.7-py3-none-any.whl
Collecting jsonschema==3.0.1 (from -r requirements\common.txt (line 101))
  Using cached https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl
Collecting djangorestframework==3.9.4 (from -r requirements\common.txt (line 105))
  Using cached https://files.pythonhosted.org/packages/1b/fe/fcebec2a98fbd1548da1c12ce8d7f634a02a9cce350833fa227a625ec624/djangorestframework-3.9.4-py2.py3-none-any.whl
Collecting django-cors-headers==3.0.2 (from -r requirements\common.txt (line 109))
  Using cached https://files.pythonhosted.org/packages/07/10/14e9a34fed4f4c692a2863ae1e3591de56acb70295100aa9db89fc32bd92/django_cors_headers-3.0.2-py2.py3-none-any.whl
Collecting mozlog==4.2.0 (from -r requirements\common.txt (line 113))
  Using cached https://files.pythonhosted.org/packages/57/e5/c92b061ef59d0ed1d211a8e609c9a03d85ecff9438bc419f1eb7a7fb39d4/mozlog-4.2.0-py2.py3-none-any.whl
Collecting coreapi==2.3.3 (from -r requirements\common.txt (line 118))
  Using cached https://files.pythonhosted.org/packages/fc/3a/9dedaad22962770edd334222f2b3c3e7ad5e1c8cab1d6a7992c30329e2e5/coreapi-2.3.3-py2.py3-none-any.whl
Collecting coreschema==0.0.4 (from -r requirements\common.txt (line 121))
  Using cached https://files.pythonhosted.org/packages/93/08/1d105a70104e078718421e6c555b8b293259e7fc92f7e9a04869947f198f/coreschema-0.0.4.tar.gz
Collecting Jinja2==2.10.1 (from -r requirements\common.txt (line 124))
  Downloading https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl (124kB)
    100% |████████████████████████████████| 133kB 902kB/s
Collecting MarkupSafe==1.1.1 (from -r requirements\common.txt (line 127))
  Downloading https://files.pythonhosted.org/packages/65/c6/2399700d236d1dd681af8aebff1725558cddfd6e43d7a5184a675f4711f5/MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl
Collecting itypes==1.1.0 (from -r requirements\common.txt (line 158))
  Using cached https://files.pythonhosted.org/packages/d3/24/5e511590f95582efe64b8ad2f6dadd85c5563c9dcf40171ea5a70adbf5a9/itypes-1.1.0.tar.gz
Collecting uritemplate==3.0.0 (from -r requirements\common.txt (line 159))
  Using cached https://files.pythonhosted.org/packages/e5/7d/9d5a640c4f8bf2c8b1afc015e9a9d8de32e13c9016dcc4b0ec03481fb396/uritemplate-3.0.0-py2.py3-none-any.whl
Collecting requests==2.22.0 (from -r requirements\common.txt (line 163))
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 3.3MB/s
Collecting sqlparse==0.3.0 (from -r requirements\common.txt (line 168))
  Using cached https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
Collecting PyYAML==5.1.2 (from -r requirements\common.txt (line 173))
  Downloading https://files.pythonhosted.org/packages/bc/3f/4f733cd0b1b675f34beb290d465a65e0f06b492c00b111d1b75125062de1/PyYAML-5.1.2-cp37-cp37m-win_amd64.whl (215kB)
    100% |████████████████████████████████| 225kB 5.9MB/s
Collecting django-environ==0.4.5 (from -r requirements\common.txt (line 188))
  Using cached https://files.pythonhosted.org/packages/9f/32/76295a1a5d00bf556c495216581c6997e7fa5f533b2229e0a9d6cbaa95ae/django_environ-0.4.5-py2.py3-none-any.whl
Collecting six==1.12.0 (from -r requirements\common.txt (line 193))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting python-dateutil==2.8.0 (from -r requirements\common.txt (line 197))
  Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting django-filter==2.2.0 (from -r requirements\common.txt (line 201))
  Using cached https://files.pythonhosted.org/packages/0a/c9/acc63b687002afae8b5137afd6230d88c99411aa2daedf07fed3f0913516/django_filter-2.2.0-py3-none-any.whl
Collecting django-redis==4.10.0 (from -r requirements\common.txt (line 205))
  Using cached https://files.pythonhosted.org/packages/f8/79/1fd48c585d5a95fd314571ac34c13f6bc1f7e65cbb5ed9ac0299212f35ce/django_redis-4.10.0-py2.py3-none-any.whl
Collecting redis==3.3.11 (from -r requirements\common.txt (line 209))
  Using cached https://files.pythonhosted.org/packages/32/ae/28613a62eea0d53d3db3147f8715f90da07667e99baeedf1010eb400f8c0/redis-3.3.11-py2.py3-none-any.whl
Collecting elasticsearch==7.0.5 (from -r requirements\common.txt (line 213))
  Using cached https://files.pythonhosted.org/packages/ec/b9/ff5793ee7cf7fd43ff9ae0b3c70d40485520296f03fb6b1afd65a4819c0e/elasticsearch-7.0.5-py2.py3-none-any.whl
Collecting urllib3==1.25.3 (from -r requirements\common.txt (line 218))
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
    100% |████████████████████████████████| 153kB 3.3MB/s
Collecting certifi==2019.9.11 (from -r requirements\common.txt (line 222))
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
    100% |████████████████████████████████| 163kB 2.4MB/s
Collecting chardet==3.0.4 (from -r requirements\common.txt (line 227))
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 2.8MB/s
Collecting idna==2.8 (from -r requirements\common.txt (line 230))
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 1.4MB/s
Collecting slugid==2.0.0 (from -r requirements\common.txt (line 235))
  Using cached https://files.pythonhosted.org/packages/6f/f7/0e7d06fa6914e2694d9766a827409fef1000f7548ba869b2476ff5817d86/slugid-2.0.0-py2.py3-none-any.whl
Collecting taskcluster==7.0.1 (from -r requirements\common.txt (line 239))
  Using cached https://files.pythonhosted.org/packages/23/17/63cb2d40696737bffc71a4135332a79676ac3b5959642934213da43d3475/taskcluster-7.0.1-py3-none-any.whl
Collecting aiohttp==3.6.2 (from -r requirements\common.txt (line 242))
  Downloading https://files.pythonhosted.org/packages/0b/b3/744a16bdaba2e4df90f6ff10b9ade9c2dce3f01d94848f3949aa4ce7868d/aiohttp-3.6.2-cp37-cp37m-win_amd64.whl (649kB)
    100% |████████████████████████████████| 655kB 3.1MB/s
Collecting mohawk==1.1.0 (from -r requirements\common.txt (line 256))
  Using cached https://files.pythonhosted.org/packages/84/2a/56172c8d68b1439cc01a7c9eb5620006a77f91f313f8aa13877c6393d9cf/mohawk-1.1.0-py3-none-any.whl
Collecting async-timeout==3.0.1 (from -r requirements\common.txt (line 260))
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting multidict==4.5.2 (from -r requirements\common.txt (line 263))
  Downloading https://files.pythonhosted.org/packages/38/c7/07d8d88c3c16fe65d8596da429d104229dd7433b07432694a3ab45a72eaa/multidict-4.5.2-cp37-cp37m-win_amd64.whl (138kB)
    100% |████████████████████████████████| 143kB 1.9MB/s
Collecting yarl==1.3.0 (from -r requirements\common.txt (line 266))
  Downloading https://files.pythonhosted.org/packages/7d/dc/fb3617b3de980566b54b1ae59eb72fc72810350d7ed9164b26f155fa682d/yarl-1.3.0-cp37-cp37m-win_amd64.whl (121kB)
    100% |████████████████████████████████| 122kB 1.4MB/s
Collecting taskcluster-urls==11.0.0 (from -r requirements\common.txt (line 269))
  Using cached https://files.pythonhosted.org/packages/cf/24/ae4f15fec931d7cba98c8ff6ec93353c12c7fb07ef91b256113b3431f834/taskcluster_urls-11.0.0-py3-none-any.whl
Collecting graphene-django==2.4.0 (from -r requirements\common.txt (line 272))
  Using cached https://files.pythonhosted.org/packages/f6/b2/557c2d6f16dac23622eb3227e11d20384f3eb9210e2403d736211f7d2e51/graphene_django-2.4.0-py2.py3-none-any.whl
Collecting graphene==2.1.8 (from -r requirements\common.txt (line 278))
  Using cached https://files.pythonhosted.org/packages/05/97/45e743b372f65a619f8d1eb2897efb74fb1b0ffddc731ad37e0aa187ec5c/graphene-2.1.8-py2.py3-none-any.whl
Collecting graphql-core==2.2.1 (from -r requirements\common.txt (line 281))
  Using cached https://files.pythonhosted.org/packages/6a/11/bc4a7eb440124271289d93e4d208bd07d94196038fabbe2a52435a07d3d3/graphql_core-2.2.1-py2.py3-none-any.whl
Collecting graphql-relay==2.0.0 (from -r requirements\common.txt (line 284))
  Using cached https://files.pythonhosted.org/packages/85/52/0242f2d01a3b925bc200928a2a88925b915b88efcb31c67e966991aa4dee/graphql_relay-2.0.0-py3-none-any.whl
Collecting typing==3.7.4.1 (from -r requirements\common.txt (line 285))
  Using cached https://files.pythonhosted.org/packages/fe/2e/b480ee1b75e6d17d2993738670e75c1feeb9ff7f64452153cf018051cc92/typing-3.7.4.1-py3-none-any.whl
Collecting promise==2.2.1 (from -r requirements\common.txt (line 289))
  Using cached https://files.pythonhosted.org/packages/5a/81/221d09d90176fd90aed4b530e31b8fedf207385767c06d1d46c550c5e418/promise-2.2.1.tar.gz
Collecting rx==1.6.1 (from -r requirements\common.txt (line 292))
  Using cached https://files.pythonhosted.org/packages/33/0f/5ef4ac78e2a538cc1b054eb86285fe0bf7a5dbaeaac2c584757c300515e2/Rx-1.6.1-py2.py3-none-any.whl
Collecting singledispatch==3.4.0.3 (from -r requirements\common.txt (line 295))
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting iso8601==0.1.12 (from -r requirements\common.txt (line 296))
  Using cached https://files.pythonhosted.org/packages/ef/57/7162609dab394d38bbc7077b7ba0a6f10fb09d8b7701ea56fa1edc0c4345/iso8601-0.1.12-py2.py3-none-any.whl
Collecting aniso8601==6.0.0 (from -r requirements\common.txt (line 300))
  Using cached https://files.pythonhosted.org/packages/85/58/1e804d6d53435b1b2241036056360575640b69a332e7ead086a04bd5ad95/aniso8601-6.0.0-py2.py3-none-any.whl
Collecting python-jose[pycryptodome]==3.0.1 (from -r requirements\common.txt (line 305))
  Downloading https://files.pythonhosted.org/packages/96/da/c0dcc5e7a98a53440b8db3cf9771345fa696754f79e8734ea59123f7d734/python_jose-3.0.1-py2.py3-none-any.whl
Collecting rsa==4.0 (from -r requirements\common.txt (line 310))
  Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting pyasn1==0.4.7 (from -r requirements\common.txt (line 313))
  Downloading https://files.pythonhosted.org/packages/a1/71/8f0d444e3a74e5640a3d5d967c1c6b015da9c655f35b2d308a55d907a517/pyasn1-0.4.7-py2.py3-none-any.whl (76kB)
    100% |████████████████████████████████| 81kB 3.7MB/s
Collecting pycryptodome==3.8.2 (from -r requirements\common.txt (line 327))
  Using cached https://files.pythonhosted.org/packages/30/f9/b9dc137598a0e76ec233cc33df7f5507723fbe91dae7d370cfe448df3878/pycryptodome-3.8.2-cp37-cp37m-win_amd64.whl
Collecting ecdsa==0.13.3 (from -r requirements\common.txt (line 355))
  Using cached https://files.pythonhosted.org/packages/a6/81/2b170b460c84fdc8700cf08aa077ac6a9ff41f4ad3f05d0b3a64ba9f8f2e/ecdsa-0.13.3-py2.py3-none-any.whl
Collecting future==0.18.0 (from -r requirements\common.txt (line 358))
  Using cached https://files.pythonhosted.org/packages/f6/85/c273089eb6efa5644c0a1382ea553554bc0d40e00a46d989ec67f123f8b5/future-0.18.0.tar.gz
Collecting furl==2.1.0 (from -r requirements\common.txt (line 361))
  Using cached https://files.pythonhosted.org/packages/9f/c7/e9dc30914bf048bcd06284bb93d9650d318ecac8668b684fc41e975558ff/furl-2.1.0-py2.py3-none-any.whl
Collecting orderedmultidict==1.0.1 (from -r requirements\common.txt (line 364))
  Using cached https://files.pythonhosted.org/packages/04/16/5e95c70bda8fe6ea715005c0db8e602400bdba50ae3c72cb380eba551289/orderedmultidict-1.0.1-py2.py3-none-any.whl
Collecting first==2.0.2 (from -r requirements\common.txt (line 367))
  Using cached https://files.pythonhosted.org/packages/40/62/eda58db762d4845c971029becfecf6e85ad71c3bcba7d400598013a222a1/first-2.0.2-py2.py3-none-any.whl
Collecting attrs==19.3.0 (from -r requirements\common.txt (line 372))
  Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Collecting pyrsistent==0.15.4 (from -r requirements\common.txt (line 375))
  Using cached https://files.pythonhosted.org/packages/b9/66/b2638d96a2d128b168d0dba60fdc77b7800a9b4a5340cefcc5fc4eae6295/pyrsistent-0.15.4.tar.gz
Collecting django-cache-memoize==0.1.6 (from -r requirements\common.txt (line 378))
  Using cached https://files.pythonhosted.org/packages/8e/26/4de73cd5e6b762231dbaee246d7b44a9d5c4bf0b91ddcd1c9d56659db7be/django_cache_memoize-0.1.6-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\python37\lib\site-packages (from jsonschema==3.0.1->-r requirements\common.txt (line 101)) (40.8.0)
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.
    mysqlclient==1.4.4 from https://files.pythonhosted.org/packages/64/46/3811fe37b1e1a39d6c47f44957cdae9c207bc23bf6c22ebb1d7a6892a55f/mysqlclient-1.4.4-cp37-cp37m-win_amd64.whl#sha256=79a498ddda955e488f80c82a6392bf6e07c323d48db236033f33825665d8ba5c (from -r requirements\common.txt (line 77)):
        Expected sha256 9c737cc55a5dc8dd3583a942d5a9b21be58d16f00f5fefca4e575e7d9682e98c
             Got        79a498ddda955e488f80c82a6392bf6e07c323d48db236033f33825665d8ba5c

    multidict==4.5.2 from https://files.pythonhosted.org/packages/38/c7/07d8d88c3c16fe65d8596da429d104229dd7433b07432694a3ab45a72eaa/multidict-4.5.2-cp37-cp37m-win_amd64.whl#sha256=4a6ae52bd3ee41ee0f3acf4c60ceb3f44e0e3bc52ab7da1c2b2aa6703363a3d1 (from -r requirements\common.txt (line 263)):
        Expected sha256 c18498c50c59263841862ea0501da9f2b3659c00db54abfbf823a80787fde8ce
             Got        4a6ae52bd3ee41ee0f3acf4c60ceb3f44e0e3bc52ab7da1c2b2aa6703363a3d1

    yarl==1.3.0 from https://files.pythonhosted.org/packages/7d/dc/fb3617b3de980566b54b1ae59eb72fc72810350d7ed9164b26f155fa682d/yarl-1.3.0-cp37-cp37m-win_amd64.whl#sha256=73f447d11b530d860ca1e6b582f947688286ad16ca42256413083d13f260b7a0 (from -r requirements\common.txt (line 266)):
        Expected sha256 024ecdc12bc02b321bc66b41327f930d1c2c543fa9a561b39861da9388ba7aa9
             Got        73f447d11b530d860ca1e6b582f947688286ad16ca42256413083d13f260b7a0

You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install -r requirements\dev.txt
Collecting pytest==5.0.1 (from -r requirements\dev.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/69/1d/2430053122a3c6106f7fd1ff0bc68eb73e27db8f951db70fcd942da52c7b/pytest-5.0.1-py3-none-any.whl
Collecting django-debug-toolbar==2.0 (from -r requirements\dev.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/67/ed/587fd4fd954717fb4cd6b87fa3345ff793ecb995d91c604fcaf26510eeff/django_debug_toolbar-2.0-py3-none-any.whl
Collecting mock==3.0.5 (from -r requirements\dev.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Collecting responses==0.10.6 (from -r requirements\dev.txt (line 13))
  Using cached https://files.pythonhosted.org/packages/d1/5a/b887e89925f1de7890ef298a74438371ed4ed29b33def9e6d02dc6036fd8/responses-0.10.6-py2.py3-none-any.whl
Collecting django-extensions==2.2.5 (from -r requirements\dev.txt (line 17))
  Using cached https://files.pythonhosted.org/packages/bd/44/d54c3ea6239d1d00700defc272d28cc4551c399bcad99a5282b04e454f1b/django_extensions-2.2.5-py2.py3-none-any.whl
Collecting pytest-selenium==1.17.0 (from -r requirements\dev.txt (line 21))
  Using cached https://files.pythonhosted.org/packages/0f/fe/80aa09ab74cb9316271b8916d3dc818c16ddf0dd571871642d6326b49de1/pytest_selenium-1.17.0-py2.py3-none-any.whl
Collecting PyPOM==2.2.0 (from -r requirements\dev.txt (line 25))
  Using cached https://files.pythonhosted.org/packages/62/ac/95f9178fdad0365ea55edf347f7dc346be37b23dbfd3d8f58bb8482473c5/PyPOM-2.2.0-py2.py3-none-any.whl
Collecting Werkzeug==0.15.5 (from -r requirements\dev.txt (line 30))
  Using cached https://files.pythonhosted.org/packages/d1/ab/d3bed6b92042622d24decc7aadc8877badf18aeca1571045840ad4956d3f/Werkzeug-0.15.5-py2.py3-none-any.whl
Collecting flake8==3.7.9 (from -r requirements\dev.txt (line 34))
  Using cached https://files.pythonhosted.org/packages/f8/1f/7ea40d1e4146ea55dbab41cda1376db092a75794914169aabd7e8d7a7def/flake8-3.7.9-py2.py3-none-any.whl
Collecting isort==4.3.21 (from -r requirements\dev.txt (line 38))
  Using cached https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedfec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl
Collecting zipp==0.5.2 (from -r requirements\dev.txt (line 43))
  Using cached https://files.pythonhosted.org/packages/da/bd/1a5fdf15aa44231fd09f63ecf175b60f057ae37ec65b343bb009364923f3/zipp-0.5.2-py2.py3-none-any.whl
Collecting importlib-metadata==0.19 (from -r requirements\dev.txt (line 45))
  Using cached https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl
Collecting atomicwrites==1.3.0 (from -r requirements\dev.txt (line 50))
  Downloading https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting more-itertools==7.2.0 (from -r requirements\dev.txt (line 53))
  Downloading https://files.pythonhosted.org/packages/45/dc/3241eef99eb45f1def35cf93af35d1cf9ef4c0991792583b8f33ea41b092/more_itertools-7.2.0-py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 1.0MB/s
Collecting packaging==19.1 (from -r requirements\dev.txt (line 56))
  Using cached https://files.pythonhosted.org/packages/ec/22/630ac83e8f8a9566c4f88038447ed9e16e6f10582767a01f31c769d9a71e/packaging-19.1-py2.py3-none-any.whl
Collecting pluggy==0.13.0 (from -r requirements\dev.txt (line 59))
  Downloading https://files.pythonhosted.org/packages/92/c7/48439f7d5fd6bddb4c04b850bb862b42e3e2b98570040dfaf68aedd8114b/pluggy-0.13.0-py2.py3-none-any.whl
Collecting py==1.8.0 (from -r requirements\dev.txt (line 62))
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 825kB/s
Collecting pyparsing==2.4.2 (from -r requirements\dev.txt (line 65))
  Using cached https://files.pythonhosted.org/packages/11/fa/0160cd525c62d7abd076a070ff02b2b94de589f1a9789774f17d7c54058e/pyparsing-2.4.2-py2.py3-none-any.whl
Collecting wcwidth==0.1.7 (from -r requirements\dev.txt (line 67))
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting funcsigs==1.0.2 (from -r requirements\dev.txt (line 72))
  Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting pbr==5.4.3 (from -r requirements\dev.txt (line 73))
  Using cached https://files.pythonhosted.org/packages/46/a4/d5c83831a3452713e4b4f126149bc4fbda170f7cb16a86a00ce57ce0e9ad/pbr-5.4.3-py2.py3-none-any.whl
Collecting entrypoints==0.3 (from -r requirements\dev.txt (line 78))
  Downloading https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting mccabe==0.6.1 (from -r requirements\dev.txt (line 79))
  Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting pycodestyle==2.5.0 (from -r requirements\dev.txt (line 82))
  Using cached https://files.pythonhosted.org/packages/0e/0c/04a353e104d2f324f8ee5f4b32012618c1c86dd79e52a433b64fceed511b/pycodestyle-2.5.0-py2.py3-none-any.whl
Collecting pyflakes==2.1.1 (from -r requirements\dev.txt (line 85))
  Using cached https://files.pythonhosted.org/packages/84/f2/ed0ffb887f8138a8fe5a621b8c0bb9598bfb3989e029f6c6a85ee66628ee/pyflakes-2.1.1-py2.py3-none-any.whl
Collecting pytest-django==3.5.1 (from -r requirements\dev.txt (line 89))
  Using cached https://files.pythonhosted.org/packages/0f/02/1da366c7a382dbbaa6e5e156675159b9380f6dc875614669f39244ac9150/pytest_django-3.5.1-py2.py3-none-any.whl
Collecting selenium==3.141.0 (from -r requirements\dev.txt (line 94))
  Using cached https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl
Collecting pytest-html==2.0.0 (from -r requirements\dev.txt (line 97))
  Using cached https://files.pythonhosted.org/packages/f7/05/7cc56180a9c4b00b4055ffdad3763884000082a471c2e7251e97ea055932/pytest_html-2.0.0-py2.py3-none-any.whl
Collecting pytest-metadata==1.8.0 (from -r requirements\dev.txt (line 100))
  Using cached https://files.pythonhosted.org/packages/ce/8f/d0542e1aa0e23d902ce6acce2790736473da94453a36bdc7829f25734199/pytest_metadata-1.8.0-py2.py3-none-any.whl
Collecting pytest-variables==1.7.1 (from -r requirements\dev.txt (line 103))
  Using cached https://files.pythonhosted.org/packages/c9/44/3d7e29a985d978a24b32f5e08fc9eaff46c2aed6703b57f3e52d2f3ecbfb/pytest_variables-1.7.1-py2.py3-none-any.whl
Collecting pytest-base-url==1.4.1 (from -r requirements\dev.txt (line 106))
  Using cached https://files.pythonhosted.org/packages/f4/2e/e2001eb40c88a66ebca4db017358bc47d1fd87dec895a7ec8c3103498437/pytest_base_url-1.4.1-py2.py3-none-any.whl
Collecting zope.event==4.4 (from -r requirements\dev.txt (line 111))
  Using cached https://files.pythonhosted.org/packages/c5/96/361edb421a077a4c208b4a5c212737d78ae03ce67fbbcd01621c49f332d1/zope.event-4.4-py2.py3-none-any.whl
Collecting zope.interface==4.6.0 (from -r requirements\dev.txt (line 114))
  Using cached https://files.pythonhosted.org/packages/a8/d2/e2fb1052cdf1c1d05a23c5f7a192a8dc104d5afda0539f86b9839264e1cc/zope.interface-4.6.0-cp37-cp37m-win_amd64.whl
Collecting zope.component==4.5 (from -r requirements\dev.txt (line 144))
  Using cached https://files.pythonhosted.org/packages/97/e2/c785df1171f277ea93cc16bdcc112cb3ddfde1aeefbc401d46c49727f472/zope.component-4.5-py2.py3-none-any.whl
Collecting zope.hookable==4.2.0 (from -r requirements\dev.txt (line 147))
  Using cached https://files.pythonhosted.org/packages/41/b5/378175b959565de41f45c775cdfbf8897aaeaf29a258b94e40bd2661ce46/zope.hookable-4.2.0.tar.gz
Collecting zope.deferredimport==4.3.1 (from -r requirements\dev.txt (line 158))
  Using cached https://files.pythonhosted.org/packages/63/e3/05b02057b56cd9c59d848b67aff1cc701e1d2237055ebd0d0c1f44331186/zope.deferredimport-4.3.1-py2.py3-none-any.whl
Collecting zope.deprecation==4.4.0 (from -r requirements\dev.txt (line 161))
  Using cached https://files.pythonhosted.org/packages/f9/26/b935bbf9d27e898b87d80e7873a0200cebf239253d0afe7a59f82fe90fff/zope.deprecation-4.4.0-py2.py3-none-any.whl
Collecting zope.proxy==4.3.2 (from -r requirements\dev.txt (line 164))
  Using cached https://files.pythonhosted.org/packages/e4/90/0b68f90fa6d20edd469f7e416c793a39abdbeda82a0a54c80eff6e10c8c1/zope.proxy-4.3.2-cp37-cp37m-win_amd64.whl
Collecting pytest-asyncio==0.10.0 (from -r requirements\dev.txt (line 168))
  Using cached https://files.pythonhosted.org/packages/55/8e/c45f87e42c2e905082e98753d4cb6b71e6da086c71bf15899a6aee285304/pytest_asyncio-0.10.0-py3-none-any.whl
Collecting attrs>=17.4.0 (from pytest==5.0.1->-r requirements\dev.txt (line 3))
Requirement already satisfied: colorama; sys_platform == "win32" in c:\python37\lib\site-packages (from pytest==5.0.1->-r requirements\dev.txt (line 3)) (0.4.1)
Collecting sqlparse>=0.2.0 (from django-debug-toolbar==2.0->-r requirements\dev.txt (line 7))
Collecting Django>=1.11 (from django-debug-toolbar==2.0->-r requirements\dev.txt (line 7))
Collecting six (from mock==3.0.5->-r requirements\dev.txt (line 11))
Collecting requests>=2.0 (from responses==0.10.6->-r requirements\dev.txt (line 13))
Collecting urllib3 (from selenium==3.141.0->-r requirements\dev.txt (line 94))
Requirement already satisfied: setuptools in c:\python37\lib\site-packages (from zope.event==4.4->-r requirements\dev.txt (line 111)) (40.8.0)
In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    attrs>=17.4.0 from https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl#sha256=08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c (from pytest==5.0.1->-r requirements\dev.txt (line 3))
    sqlparse>=0.2.0 from https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl#sha256=40afe6b8d4b1117e7dff5504d7a8ce07d9a1b15aeeade8a2d10f130a834f8177 (from django-debug-toolbar==2.0->-r requirements\dev.txt (line 7))
    Django>=1.11 from https://files.pythonhosted.org/packages/43/d6/0aed0b12c66527748ce5a007da4618a65dfbe1f8fca82eccedf57d60295f/Django-3.0-py3-none-any.whl#sha256=6f857bd4e574442ba35a7172f1397b303167dae964cf18e53db5e85fe248d000 (from django-debug-toolbar==2.0->-r requirements\dev.txt (line 7))
    six from https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl#sha256=1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd (from mock==3.0.5->-r requirements\dev.txt (line 11))
    requests>=2.0 from https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl#sha256=9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31 (from responses==0.10.6->-r requirements\dev.txt (line 13))
    urllib3 from https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl#sha256=a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293 (from selenium==3.141.0->-r requirements\dev.txt (line 94))
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.
    zope.proxy==4.3.2 from https://files.pythonhosted.org/packages/e4/90/0b68f90fa6d20edd469f7e416c793a39abdbeda82a0a54c80eff6e10c8c1/zope.proxy-4.3.2-cp37-cp37m-win_amd64.whl#sha256=b8fd3a3de3f7b6452775e92af22af5977b17b69ac86a38a3ddfe870e40a0d05f (from -r requirements\dev.txt (line 164)):
        Expected sha256 ab6d6975d9c51c13cac828ff03168de21fb562b0664c59bcdc4a4b10f39a5b17
             Got        b8fd3a3de3f7b6452775e92af22af5977b17b69ac86a38a3ddfe870e40a0d05f

You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\kyle\code\treeherder>c:\python37\python.exe -c "from django.core.management import execute_from_command_line"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'django'

C:\Users\kyle\code\treeherder>c:\python37\python.exe -m pip install django
Collecting django
  Using cached https://files.pythonhosted.org/packages/43/d6/0aed0b12c66527748ce5a007da4618a65dfbe1f8fca82eccedf57d60295f/Django-3.0-py3-none-any.whl
Collecting pytz (from django)
  Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)
    100% |████████████████████████████████| 512kB 2.8MB/s
Collecting sqlparse>=0.2.2 (from django)
  Using cached https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
Requirement already satisfied: asgiref~=3.2 in c:\python37\lib\site-packages (from django) (3.2.3)
flask-restful 0.3.7 requires aniso8601>=0.82, which is not installed.
flask-restful 0.3.7 requires six>=1.3.0, which is not installed.
Installing collected packages: pytz, sqlparse, django
Successfully installed django-3.0 pytz-2019.3 sqlparse-0.3.0
You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\kyle\code\treeherder>c:\python37\python.exe -c "from django.core.management import execute_from_command_line"

C:\Users\kyle\code\treeherder>

Support for development outside of the Docker container is currently unavailable.
With the current set of priorities it will be unlikely it will be fixed within H1.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.