Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Error when building local machine developer setup via docker image #50

Closed
milan-tom opened this issue Nov 11, 2020 · 12 comments · Fixed by #54
Closed

Error when building local machine developer setup via docker image #50

milan-tom opened this issue Nov 11, 2020 · 12 comments · Fixed by #54
Assignees
Labels
bug Something isn't working needs-review windows

Comments

@milan-tom
Copy link
Collaborator

Whilst following the steps to build local machine developer setup via docker image, when I run the command PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" BUCKET_NAME="gae-bizlead" DJANGO_SETTINGS_MODULE="covidX.settings" WSGI_APPLICATION="covidX.wsgi.application" bazel run --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage (in GIT Bash within the cloned repository directory), the following error occurs:
ERROR: no such package @my_deps//': pip_compile failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202):
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

How can I overcome this obstacle to build a developer setup on my local machine?

@codecakes codecakes added the bug Something isn't working label Nov 12, 2020
@codecakes codecakes self-assigned this Nov 12, 2020
@codecakes
Copy link
Contributor

@milan-tom paste the following;

@codecakes codecakes reopened this Nov 12, 2020
@milan-tom
Copy link
Collaborator Author

echo $(pwd)

bash: /c/Users/milan: Is a directory

lsb_release -a

bash: lsb_release: command not found

Did you successfully go through the steps in here https://github.com/Xcov19/covidX#no-docker-local-machine-developer-setup ?

This does not run either as it fails with the same aforementioned error message in the second step.

Does this run?: https://github.com/Xcov19/covidX#how-to-run-locally-using-docker

This outputs the following error message:

System check identified 1 issue (0 silenced).
Error occurred during checks: OperationalError('could not connect to server: Con
nection refused\n\tIs the server running on host "localhost" (127.0.0.1) and acc
epting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot
assign requested address\n\tIs the server running on host "localhost" (::1) and
accepting\n\tTCP/IP connections on port 5432?\n')

@codecakes
Copy link
Contributor

echo $(pwd)

bash: /c/Users/milan: Is a directory

Is this the directory where you have cloned the project? You need to be in the project root first check that.
If you don't run this command that you attempted above from a project directory where you cannot see the file named WORKSPACE it won't run.

lsb_release -a

bash: lsb_release: command not found

So you are on windows.

Did you successfully go through the steps in here https://github.com/Xcov19/covidX#no-docker-local-machine-developer-setup ?

This does not run either as it fails with the same aforementioned error message in the second step.

What is the specific error in this case?

Does this run?: https://github.com/Xcov19/covidX#how-to-run-locally-using-docker

This outputs the following error message:

System check identified 1 issue (0 silenced).
Error occurred during checks: OperationalError('could not connect to server: Con
nection refused\n\tIs the server running on host "localhost" (127.0.0.1) and acc
epting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot
assign requested address\n\tIs the server running on host "localhost" (::1) and
accepting\n\tTCP/IP connections on port 5432?\n')

This means you either don't have psql installed in your local or it is not running. which means docker atleast runs.

@codecakes codecakes linked a pull request Nov 14, 2020 that will close this issue
@milan-tom
Copy link
Collaborator Author

echo $(pwd)

bash: /c/Users/milan: Is a directory

Is this the directory where you have cloned the project? You need to be in the project root first check that.
If you don't run this command that you attempted above from a project directory where you cannot see the file named WORKSPACE it won't run.

Ah yes. Sorry, when I was actually running the steps for setting up development, I ran it in the correct directory (/c/Xcov19-covidX). However, when I ran the specific command that you requested, I ran it in the wrong directory. I have confirmed that when I was following the steps, I was in a directory that could see the file named WORKSPACE.

Did you successfully go through the steps in here https://github.com/Xcov19/covidX#no-docker-local-machine-developer-setup ?

This does not run either as it fails with the same aforementioned error message in the second step.

What is the specific error in this case?

Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server after 10 seconds ...
(12:36:48) INFO: Current date is 2020-11-14
(12:36:52) INFO: Repository my_deps instantiated at:
  C:/xcov19-covidx/WORKSPACE:85:11: in <toplevel>
Repository rule pip_import defined at:
  C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl:55:29: in <toplevel>
(12:36:52) ERROR: An error occurred during the fetch of repository 'my_deps':
   Traceback (most recent call last):
        File "C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl", line 38, column 17, in _pip_import_impl
                fail("pip_compile failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(12:36:52) ERROR: no such package '@my_deps//': pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(12:36:52) INFO: Elapsed time: 30.480s
(12:36:52) INFO: 0 processes.
(12:36:52) FAILED: Build did NOT complete successfully (0 packages loaded)

Does this run?: https://github.com/Xcov19/covidX#how-to-run-locally-using-docker

This outputs the following error message:

System check identified 1 issue (0 silenced).
Error occurred during checks: OperationalError('could not connect to server: Con
nection refused\n\tIs the server running on host "localhost" (127.0.0.1) and acc
epting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot
assign requested address\n\tIs the server running on host "localhost" (::1) and
accepting\n\tTCP/IP connections on port 5432?\n')

This means you either don't have psql installed in your local or it is not running. which means docker atleast runs.

I have PostgreSQL 13 installed. In Windows services.msc, I can see that postgresql-x64-13 - PostgreSQL Server 13 is running.

@codecakes
Copy link
Contributor

Error in fail: pip_compile failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.

paste the bazel version bazel version

  1. Do bazel clean --async

  2. Install pip-compile and let me know What is the output of following?

pip-compile --allow-unsafe --generate-hashes requirements.txt
  1. What is the output of this:
PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" bazel build --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage

@codecakes
Copy link
Contributor

Checkout to a local temp branch and change this: https://github.com/Xcov19/covidX/blob/master/WORKSPACE#L87
to :

pip_import(
   name = "my_deps",
   requirements = ":requirements.txt",
   timeout=3600,
   compile=True,
   python_interpreter="python3",
)

@codecakes
Copy link
Contributor

@milan-tom if that throws error or doesn't work and yields the same error try prepending in the bazel cmd this BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 like:

BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" bazel build --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --action_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage

@milan-tom
Copy link
Collaborator Author

Error in fail: pip_compile failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.

paste the bazel version bazel version

Build label: 3.7.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Oct 20 13:31:53 2020 (1603200713)
Build timestamp: 1603200713
Build timestamp as int: 1603200713

  1. Do bazel clean --async
Starting local Bazel server and connecting to it...
INFO: --async cannot be used on non-Linux platforms, falling back to synchronous clean
INFO: Starting clean.
  1. Install pip-compile and let me know What is the output of following?
pip-compile --allow-unsafe --generate-hashes requirements.txt
OUTPUT

#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --allow-unsafe --generate-hashes requirements.txt
#
algoliasearch-django==1.7.1 \
    --hash=sha256:c25b49b7df3d410625f983bbf907b063796d57c6021e1643987900e72d07906d \
    --hash=sha256:c64dc2dab76ade6b05638a188e4a4af1ec952d5aa407aeab3ce6cbaed082d4c5 \
    # via -r requirements.txt
algoliasearch==1.20.0 \
    --hash=sha256:48460675555e6effab946adc58b7483bb88a5a68ddc4bdebee09d93e9253318c \
    --hash=sha256:842fb3e2fb57dc0daa2e97bf0d2e8191498781540901da118e98c24048d8d812 \
    # via -r requirements.txt, algoliasearch-django
aniso8601==7.0.0 \
    --hash=sha256:513d2b6637b7853806ae79ffaca6f3e8754bdd547048f5ccc1420aec4b714f1e \
    --hash=sha256:d10a4bf949f619f719b227ef5386e31f49a2b6d453004b21f02661ccc8670c7b \
    # via -r requirements.txt, graphene
asgiref==3.2.10 \
    --hash=sha256:7e51911ee147dd685c3c8b805c0ad0cb58d360987b56953878f8c06d2d1c6f1a \
    --hash=sha256:9fc6fb5d39b8af147ba40765234fa822b39818b12cc80b35ad9b0cef3a476aed \
    # via -r requirements.txt, django
backcall==0.2.0 \
    --hash=sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e \
    --hash=sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255 \
    # via -r requirements.txt, ipython
cachetools==4.1.1 \
    --hash=sha256:513d4ff98dd27f85743a8dc0e92f55ddb1b49e060c2d5961512855cda2c01a98 \
    --hash=sha256:bbaa39c3dede00175df2dc2b03d0cf18dd2d32a7de7beb68072d13043c9edb20 \
    # via -r requirements.txt, google-auth
certifi==2020.6.20 \
    --hash=sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3 \
    --hash=sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41 \
    # via -r requirements.txt, requests
cffi==1.14.2 \
    --hash=sha256:0da50dcbccd7cb7e6c741ab7912b2eff48e85af217d72b57f80ebc616257125e \
    --hash=sha256:12a453e03124069b6896107ee133ae3ab04c624bb10683e1ed1c1663df17c13c \
    --hash=sha256:15419020b0e812b40d96ec9d369b2bc8109cc3295eac6e013d3261343580cc7e \
    --hash=sha256:15a5f59a4808f82d8ec7364cbace851df591c2d43bc76bcbe5c4543a7ddd1bf1 \
    --hash=sha256:23e44937d7695c27c66a54d793dd4b45889a81b35c0751ba91040fe825ec59c4 \
    --hash=sha256:29c4688ace466a365b85a51dcc5e3c853c1d283f293dfcc12f7a77e498f160d2 \
    --hash=sha256:57214fa5430399dffd54f4be37b56fe22cedb2b98862550d43cc085fb698dc2c \
    --hash=sha256:577791f948d34d569acb2d1add5831731c59d5a0c50a6d9f629ae1cefd9ca4a0 \
    --hash=sha256:6539314d84c4d36f28d73adc1b45e9f4ee2a89cdc7e5d2b0a6dbacba31906798 \
    --hash=sha256:65867d63f0fd1b500fa343d7798fa64e9e681b594e0a07dc934c13e76ee28fb1 \
    --hash=sha256:672b539db20fef6b03d6f7a14b5825d57c98e4026401fce838849f8de73fe4d4 \
    --hash=sha256:6843db0343e12e3f52cc58430ad559d850a53684f5b352540ca3f1bc56df0731 \
    --hash=sha256:7057613efefd36cacabbdbcef010e0a9c20a88fc07eb3e616019ea1692fa5df4 \
    --hash=sha256:76ada88d62eb24de7051c5157a1a78fd853cca9b91c0713c2e973e4196271d0c \
    --hash=sha256:837398c2ec00228679513802e3744d1e8e3cb1204aa6ad408b6aff081e99a487 \
    --hash=sha256:8662aabfeab00cea149a3d1c2999b0731e70c6b5bac596d95d13f643e76d3d4e \
    --hash=sha256:95e9094162fa712f18b4f60896e34b621df99147c2cee216cfa8f022294e8e9f \
    --hash=sha256:99cc66b33c418cd579c0f03b77b94263c305c389cb0c6972dac420f24b3bf123 \
    --hash=sha256:9b219511d8b64d3fa14261963933be34028ea0e57455baf6781fe399c2c3206c \
    --hash=sha256:ae8f34d50af2c2154035984b8b5fc5d9ed63f32fe615646ab435b05b132ca91b \
    --hash=sha256:b9aa9d8818c2e917fa2c105ad538e222a5bce59777133840b93134022a7ce650 \
    --hash=sha256:bf44a9a0141a082e89c90e8d785b212a872db793a0080c20f6ae6e2a0ebf82ad \
    --hash=sha256:c0b48b98d79cf795b0916c57bebbc6d16bb43b9fc9b8c9f57f4cf05881904c75 \
    --hash=sha256:da9d3c506f43e220336433dffe643fbfa40096d408cb9b7f2477892f369d5f82 \
    --hash=sha256:e4082d832e36e7f9b2278bc774886ca8207346b99f278e54c9de4834f17232f7 \
    --hash=sha256:e4b9b7af398c32e408c00eb4e0d33ced2f9121fd9fb978e6c1b57edd014a7d15 \
    --hash=sha256:e613514a82539fc48291d01933951a13ae93b6b444a88782480be32245ed4afa \
    --hash=sha256:f5033952def24172e60493b68717792e3aebb387a8d186c43c020d9363ee7281 \
    # via -r requirements.txt, cryptography, gevent
chardet==3.0.4 \
    --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae \
    --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 \
    # via -r requirements.txt, requests
colorama==0.4.4 \
    --hash=sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b \
    --hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2 \
    # via -r requirements.txt, ipython
cryptography==3.2 \
    --hash=sha256:22f8251f68953553af4f9c11ec5f191198bc96cff9f0ac5dd5ff94daede0ee6d \
    --hash=sha256:284e275e3c099a80831f9898fb5c9559120d27675c3521278faba54e584a7832 \
    --hash=sha256:3e17d02941c0f169c5b877597ca8be895fca0e5e3eb882526a74aa4804380a98 \
    --hash=sha256:52a47e60953679eea0b4d490ca3c241fb1b166a7b161847ef4667dfd49e7699d \
    --hash=sha256:57b8c1ed13b8aa386cabbfde3be175d7b155682470b0e259fecfe53850967f8a \
    --hash=sha256:6a8f64ed096d13f92d1f601a92d9fd1f1025dc73a2ca1ced46dcf5e0d4930943 \
    --hash=sha256:6e8a3c7c45101a7eeee93102500e1b08f2307c717ff553fcb3c1127efc9b6917 \
    --hash=sha256:7ef41304bf978f33cfb6f43ca13bb0faac0c99cda33693aa20ad4f5e34e8cb8f \
    --hash=sha256:87c2fffd61e934bc0e2c927c3764c20b22d7f5f7f812ee1a477de4c89b044ca6 \
    --hash=sha256:88069392cd9a1e68d2cfd5c3a2b0d72a44ef3b24b8977a4f7956e9e3c4c9477a \
    --hash=sha256:8a0866891326d3badb17c5fd3e02c926b635e8923fa271b4813cd4d972a57ff3 \
    --hash=sha256:8f0fd8b0751d75c4483c534b209e39e918f0d14232c0d8a2a76e687f64ced831 \
    --hash=sha256:9a07e6d255053674506091d63ab4270a119e9fc83462c7ab1dbcb495b76307af \
    --hash=sha256:9a8580c9afcdcddabbd064c0a74f337af74ff4529cdf3a12fa2e9782d677a2e5 \
    --hash=sha256:bd80bc156d3729b38cb227a5a76532aef693b7ac9e395eea8063ee50ceed46a5 \
    --hash=sha256:d1cbc3426e6150583b22b517ef3720036d7e3152d428c864ff0f3fcad2b97591 \
    --hash=sha256:e15ac84dcdb89f92424cbaca4b0b34e211e7ce3ee7b0ec0e4f3c55cee65fae5a \
    --hash=sha256:e4789b84f8dedf190148441f7c5bfe7244782d9cbb194a36e17b91e7d3e1cca9 \
    --hash=sha256:f01c9116bfb3ad2831e125a73dcd957d173d6ddca7701528eff1e7d97972872c \
    --hash=sha256:f0e3986f6cce007216b23c490f093f35ce2068f3c244051e559f647f6731b7ae \
    --hash=sha256:f2aa3f8ba9e2e3fd49bd3de743b976ab192fbf0eb0348cebde5d2a9de0090a9f \
    --hash=sha256:fb70a4cedd69dc52396ee114416a3656e011fb0311fca55eb55c7be6ed9c8aef \
    # via -r requirements.txt, pyopenssl, social-auth-core
decorator==4.4.2 \
    --hash=sha256:41fa54c2a0cc4ba648be4fd43cff00aedf5b9465c9bf18d64325bc225f08f760 \
    --hash=sha256:e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7 \
    # via -r requirements.txt, ipython
defusedxml==0.6.0 \
    --hash=sha256:6687150770438374ab581bb7a1b327a847dd9c5749e396102de3fad4e8a3ef93 \
    --hash=sha256:f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5 \
    # via -r requirements.txt, python3-openid, social-auth-core
django-cors-headers==3.5.0 \
    --hash=sha256:9322255c296d5f75089571f29e520c83ff9693df17aa3cf9f6a4bea7c6740169 \
    --hash=sha256:db82b2840f667d47872ae3e4a4e0a0d72fbecb42779b8aa233fa8bb965f7836a \
    # via -r requirements.txt
django-extensions==3.0.9 \
    --hash=sha256:6809c89ca952f0e08d4e0766bc0101dfaf508d7649aced1180c091d737046ea7 \
    --hash=sha256:dc663652ac9460fd06580a973576820430c6d428720e874ae46b041fa63e0efa \
    # via -r requirements.txt
django-filter==2.3.0 \
    --hash=sha256:11e63dd759835d9ba7a763926ffb2662cf8a6dcb4c7971a95064de34dbc7e5af \
    --hash=sha256:616848eab6fc50193a1b3730140c49b60c57a3eda1f7fc57fa8505ac156c6c75 \
    # via -r requirements.txt
django-guardian==2.3.0 \
    --hash=sha256:0e70706c6cda88ddaf8849bddb525b8df49de05ba0798d4b3506049f0d95cbc8 \
    --hash=sha256:ed2de26e4defb800919c5749fb1bbe370d72829fbd72895b6cf4f7f1a7607e1b \
    # via -r requirements.txt
django-model-utils==4.0.0 \
    --hash=sha256:9cf882e5b604421b62dbe57ad2b18464dc9c8f963fc3f9831badccae66c1139c \
    --hash=sha256:adf09e5be15122a7f4e372cb5a6dd512bbf8d78a23a90770ad0983ee9d909061 \
    # via -r requirements.txt
django-phonenumber-field==5.0.0 \
    --hash=sha256:1eb7af3a108744665f7c3939d38aa15b3728c57d13d45d656b0a2aa11e8cdc3c \
    --hash=sha256:adb46905cc4ecb19d8494424e1c4352f24946bb472340a2a17257d44bf8228e6 \
    # via -r requirements.txt
django==3.0.7 \
    --hash=sha256:5052b34b34b3425233c682e0e11d658fd6efd587d11335a0203d827224ada8f2 \
    --hash=sha256:e1630333248c9b3d4e38f02093a26f1e07b271ca896d73097457996e0fae12e8 \
    # via -r requirements.txt, algoliasearch-django, django-cors-headers, django-filter, django-guardian, django-model-utils, django-phonenumber-field, djangorestframework, graphene-django
djangorestframework==3.12.1 \
    --hash=sha256:5c5071fcbad6dce16f566d492015c829ddb0df42965d488b878594aabc3aed21 \
    --hash=sha256:d54452aedebb4b650254ca092f9f4f5df947cb1de6ab245d817b08b4f4156249 \
    # via -r requirements.txt
ecdsa==0.14.1 \
    --hash=sha256:64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e \
    --hash=sha256:e108a5fe92c67639abae3260e43561af914e7fd0d27bae6d2ec1312ae7934dfe \
    # via -r requirements.txt, python-jose
et-xmlfile==1.0.1 \
    --hash=sha256:614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b \
    # via -r requirements.txt, openpyxl
factory-boy==2.12.0 \
    --hash=sha256:728df59b372c9588b83153facf26d3d28947fc750e8e3c95cefa9bed0e6394ee \
    --hash=sha256:faf48d608a1735f0d0a3c9cbf536d64f9132b547dae7ba452c4d99a79e84a370 \
    # via -r requirements.txt
faker==4.1.3 \
    --hash=sha256:075a95ac4c95765370919d787dcd958acfaea635005ad5af4d926cb0973800db \
    --hash=sha256:80bab8d46035a7393de827210c5d39c17109d3346d131946bde622137120c496 \
    # via -r requirements.txt, factory-boy
fastdiff==0.2.0 \
    --hash=sha256:623ad3d9055ab78e014d0d10767cb033d98d5d4f66052abf498350c8e42e29aa \
    # via -r requirements.txt, snapshottest
gevent==1.4.0 \
    --hash=sha256:0774babec518a24d9a7231d4e689931f31b332c4517a771e532002614e270a64 \
    --hash=sha256:0e1e5b73a445fe82d40907322e1e0eec6a6745ca3cea19291c6f9f50117bb7ea \
    --hash=sha256:0ff2b70e8e338cf13bedf146b8c29d475e2a544b5d1fe14045aee827c073842c \
    --hash=sha256:107f4232db2172f7e8429ed7779c10f2ed16616d75ffbe77e0e0c3fcdeb51a51 \
    --hash=sha256:14b4d06d19d39a440e72253f77067d27209c67e7611e352f79fe69e0f618f76e \
    --hash=sha256:1b7d3a285978b27b469c0ff5fb5a72bcd69f4306dbbf22d7997d83209a8ba917 \
    --hash=sha256:1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1 \
    --hash=sha256:2711e69788ddb34c059a30186e05c55a6b611cb9e34ac343e69cf3264d42fe1c \
    --hash=sha256:28a0c5417b464562ab9842dd1fb0cc1524e60494641d973206ec24d6ec5f6909 \
    --hash=sha256:3249011d13d0c63bea72d91cec23a9cf18c25f91d1f115121e5c9113d753fa12 \
    --hash=sha256:44089ed06a962a3a70e96353c981d628b2d4a2f2a75ea5d90f916a62d22af2e8 \
    --hash=sha256:4bfa291e3c931ff3c99a349d8857605dca029de61d74c6bb82bd46373959c942 \
    --hash=sha256:50024a1ee2cf04645535c5ebaeaa0a60c5ef32e262da981f4be0546b26791950 \
    --hash=sha256:53b72385857e04e7faca13c613c07cab411480822ac658d97fd8a4ddbaf715c8 \
    --hash=sha256:74b7528f901f39c39cdbb50cdf08f1a2351725d9aebaef212a29abfbb06895ee \
    --hash=sha256:7d0809e2991c9784eceeadef01c27ee6a33ca09ebba6154317a257353e3af922 \
    --hash=sha256:896b2b80931d6b13b5d9feba3d4eebc67d5e6ec54f0cf3339d08487d55d93b0e \
    --hash=sha256:8d9ec51cc06580f8c21b41fd3f2b3465197ba5b23c00eb7d422b7ae0380510b0 \
    --hash=sha256:9f7a1e96fec45f70ad364e46de32ccacab4d80de238bd3c2edd036867ccd48ad \
    --hash=sha256:ab4dc33ef0e26dc627559786a4fba0c2227f125db85d970abbf85b77506b3f51 \
    --hash=sha256:d1e6d1f156e999edab069d79d890859806b555ce4e4da5b6418616322f0a3df1 \
    --hash=sha256:d752bcf1b98174780e2317ada12013d612f05116456133a6acf3e17d43b71f05 \
    --hash=sha256:e5bcc4270671936349249d26140c267397b7b4b1381f5ec8b13c53c5b53ab6e1 \
    # via -r requirements.txt, gunicorn
google-api-core[grpc]==1.22.2 \
    --hash=sha256:67e33a852dcca7cb7eff49abc35c8cc2c0bb8ab11397dc8306d911505cae2990 \
    --hash=sha256:779107f17e0fef8169c5239d56a8fbff03f9f72a3893c0c9e5842ec29dfedd54 \
    # via -r requirements.txt, google-cloud-secret-manager
google-auth==1.21.2 \
    --hash=sha256:7084c50c03f7a8a5696ef4500e65df0c525a0f6909f3c70b9ee65900a230c755 \
    --hash=sha256:dcf86c5adc3a8a7659be190b12bb8912ae019cfd9ee2a571ea881e289fafbe39 \
    # via -r requirements.txt, google-api-core
google-cloud-secret-manager==2.0.0 \
    --hash=sha256:6062135031d8d6a3a6a9b0858b0c53efb55cd08807416391aa080b15ff07e550 \
    --hash=sha256:c2b0c93b559c3b6eb2dc75f7ab33d49fad8fe954f6094ac2b14323ce053058f0 \
    # via -r requirements.txt
google-cloud==0.34.0 \
    --hash=sha256:01430187cf56df10a9ba775dd547393185d4b40741db0ea5889301f8e7a9d5d3 \
    --hash=sha256:fb1ab7b0548fe44b3d538041f0a374505b7f990d448a935ea36649c5ccab5acf \
    # via -r requirements.txt
googleapis-common-protos[grpc]==1.52.0 \
    --hash=sha256:560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351 \
    --hash=sha256:c8961760f5aad9a711d37b675be103e0cc4e9a39327e0d6d857872f698403e24 \
    # via -r requirements.txt, google-api-core, grpc-google-iam-v1
graphene-django==2.13.0 \
    --hash=sha256:0e33cdec0774284175c387c2af1e0ef4eb0f4e10a56a3a1b2d39bc3a74d9a538 \
    --hash=sha256:8a4efc7bf954ba0b5a28d3cdb090b36941aca6b83d211e3cd3ab29cf53ac6154 \
    # via -r requirements.txt
graphene-file-upload==1.2.2 \
    --hash=sha256:034ff72d2834b7aebd06fda412fa88a10aba34bac604317f7552457e47040654 \
    --hash=sha256:b5f47a81f5614d1184ba9480a63835769b26303cb7759316122401784858e9c7 \
    # via -r requirements.txt
graphene==2.1.8 \
    --hash=sha256:09165f03e1591b76bf57b133482db9be6dac72c74b0a628d3c93182af9c5a896 \
    --hash=sha256:2cbe6d4ef15cfc7b7805e0760a0e5b80747161ce1b0f990dfdc0d2cf497c12f9 \
    # via -r requirements.txt, graphene-django
graphql-core==2.3.2 \
    --hash=sha256:44c9bac4514e5e30c5a595fac8e3c76c1975cae14db215e8174c7fe995825bad \
    --hash=sha256:aac46a9ac524c9855910c14c48fc5d60474def7f99fd10245e76608eba7af746 \
    # via -r requirements.txt, graphene, graphene-django, graphql-relay
graphql-relay==2.0.1 \
    --hash=sha256:870b6b5304123a38a0b215a79eace021acce5a466bf40cd39fa18cb8528afabb \
    --hash=sha256:ac514cb86db9a43014d7e73511d521137ac12cf0101b2eaa5f0a3da2e10d913d \
    # via -r requirements.txt, graphene
greenlet==0.4.15 \
    --hash=sha256:000546ad01e6389e98626c1367be58efa613fa82a1be98b0c6fc24b563acc6d0 \
    --hash=sha256:0d48200bc50cbf498716712129eef819b1729339e34c3ae71656964dac907c28 \
    --hash=sha256:23d12eacffa9d0f290c0fe0c4e81ba6d5f3a5b7ac3c30a5eaf0126bf4deda5c8 \
    --hash=sha256:37c9ba82bd82eb6a23c2e5acc03055c0e45697253b2393c9a50cef76a3985304 \
    --hash=sha256:51155342eb4d6058a0ffcd98a798fe6ba21195517da97e15fca3db12ab201e6e \
    --hash=sha256:51503524dd6f152ab4ad1fbd168fc6c30b5795e8c70be4410a64940b3abb55c0 \
    --hash=sha256:7457d685158522df483196b16ec648b28f8e847861adb01a55d41134e7734122 \
    --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 \
    --hash=sha256:e538b8dae561080b542b0f5af64d47ef859f22517f7eca617bb314e0e03fd7ef \
    # via -r requirements.txt, gevent
grpc-google-iam-v1==0.12.3 \
    --hash=sha256:0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72 \
    # via -r requirements.txt, google-cloud-secret-manager
grpcio==1.32.0 \
    --hash=sha256:01d3046fe980be25796d368f8fc5ff34b7cf5e1444f3789a017a7fe794465639 \
    --hash=sha256:07b430fa68e5eecd78e2ad529ab80f6a234b55fc1b675fe47335ccbf64c6c6c8 \
    --hash=sha256:0e3edd8cdb71809d2455b9dbff66b4dd3d36c321e64bfa047da5afdfb0db332b \
    --hash=sha256:0f3f09269ffd3fded430cd89ba2397eabbf7e47be93983b25c187cdfebb302a7 \
    --hash=sha256:1376a60f9bfce781b39973f100b5f67e657b5be479f2fd8a7d2a408fc61c085c \
    --hash=sha256:14c0f017bfebbc18139551111ac58ecbde11f4bc375b73a53af38927d60308b6 \
    --hash=sha256:182c64ade34c341398bf71ec0975613970feb175090760ab4f51d1e9a5424f05 \
    --hash=sha256:1ada89326a364a299527c7962e5c362dbae58c67b283fe8383c4d952b26565d5 \
    --hash=sha256:1ce6f5ff4f4a548c502d5237a071fa617115df58ea4b7bd41dac77c1ab126e9c \
    --hash=sha256:1d384a61f96a1fc6d5d3e0b62b0a859abc8d4c3f6d16daba51ebf253a3e7df5d \
    --hash=sha256:25959a651420dd4a6fd7d3e8dee53f4f5fd8c56336a64963428e78b276389a59 \
    --hash=sha256:28677f057e2ef11501860a7bc15de12091d40b95dd0fddab3c37ff1542e6b216 \
    --hash=sha256:378fe80ec5d9353548eb2a8a43ea03747a80f2e387c4f177f2b3ff6c7d898753 \
    --hash=sha256:3afb058b6929eba07dba9ae6c5b555aa1d88cb140187d78cc510bd72d0329f28 \
    --hash=sha256:4396b1d0f388ae875eaf6dc05cdcb612c950fd9355bc34d38b90aaa0665a0d4b \
    --hash=sha256:4775bc35af9cd3b5033700388deac2e1d611fa45f4a8dcb93667d94cb25f0444 \
    --hash=sha256:5bddf9d53c8df70061916c3bfd2f468ccf26c348bb0fb6211531d895ed5e4c72 \
    --hash=sha256:6d869a3e8e62562b48214de95e9231c97c53caa7172802236cd5d60140d7cddd \
    --hash=sha256:6f7947dad606c509d067e5b91a92b250aa0530162ab99e4737090f6b17eb12c4 \
    --hash=sha256:7cda998b7b551503beefc38db9be18c878cfb1596e1418647687575cdefa9273 \
    --hash=sha256:99bac0e2c820bf446662365df65841f0c2a55b0e2c419db86eaf5d162ddae73e \
    --hash=sha256:9c0d8f2346c842088b8cbe3e14985b36e5191a34bf79279ba321a4bf69bd88b7 \
    --hash=sha256:a8004b34f600a8a51785e46859cd88f3386ef67cccd1cfc7598e3d317608c643 \
    --hash=sha256:ac7028d363d2395f3d755166d0161556a3f99500a5b44890421ccfaaf2aaeb08 \
    --hash=sha256:be98e3198ec765d0a1e27f69d760f69374ded8a33b953dcfe790127731f7e690 \
    --hash=sha256:c31e8a219650ddae1cd02f5a169e1bffe66a429a8255d3ab29e9363c73003b62 \
    --hash=sha256:c4966d746dccb639ef93f13560acbe9630681c07f2b320b7ec03fe2c8f0a1f15 \
    --hash=sha256:c58825a3d8634cd634d8f869afddd4d5742bdb59d594aea4cea17b8f39269a55 \
    --hash=sha256:ce617e1c4a39131f8527964ac9e700eb199484937d7a0b3e52655a3ba50d5fb9 \
    --hash=sha256:e28e4c0d4231beda5dee94808e3a224d85cbaba3cfad05f2192e6f4ec5318053 \
    --hash=sha256:e467af6bb8f5843f5a441e124b43474715cfb3981264e7cd227343e826dcc3ce \
    --hash=sha256:e6786f6f7be0937614577edcab886ddce91b7c1ea972a07ef9972e9f9ecbbb78 \
    --hash=sha256:e811ce5c387256609d56559d944a974cc6934a8eea8c76e7c86ec388dc06192d \
    --hash=sha256:ec10d5f680b8e95a06f1367d73c5ddcc0ed04a3f38d6e4c9346988fb0cea2ffa \
    --hash=sha256:ef9bd7fdfc0a063b4ed0efcab7906df5cae9bbcf79d05c583daa2eba56752b00 \
    --hash=sha256:f03dfefa9075dd1c6c5cc27b1285c521434643b09338d8b29e1d6a27b386aa82 \
    --hash=sha256:f12900be4c3fd2145ba94ab0d80b7c3d71c9e6414cfee2f31b1c20188b5c281f \
    --hash=sha256:f53f2dfc8ff9a58a993e414a016c8b21af333955ae83960454ad91798d467c7b \
    --hash=sha256:f7d508691301027033215d3662dab7e178f54d5cca2329f26a71ae175d94b83f \
    # via -r requirements.txt, google-api-core, googleapis-common-protos, grpc-google-iam-v1
gunicorn[gevent]==20.0.4 \
    --hash=sha256:1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626 \
    --hash=sha256:cd4a810dd51bf497552cf3f863b575dabd73d6ad6a91075b65936b151cbf4f9c \
    # via -r requirements.txt
idna==2.10 \
    --hash=sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 \
    --hash=sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0 \
    # via -r requirements.txt, requests
ipdb==0.13.3 \
    --hash=sha256:d6f46d261c45a65e65a2f7ec69288a1c511e16206edb2875e7ec6b2f66997e78 \
    # via -r requirements.txt
ipython-genutils==0.2.0 \
    --hash=sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8 \
    --hash=sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8 \
    # via -r requirements.txt, traitlets
ipython==7.18.1 \
    --hash=sha256:2e22c1f74477b5106a6fb301c342ab8c64bb75d702e350f05a649e8cb40a0fb8 \
    --hash=sha256:a331e78086001931de9424940699691ad49dfb457cea31f5471eae7b78222d5e \
    # via -r requirements.txt, ipdb
jdcal==1.4.1 \
    --hash=sha256:1abf1305fce18b4e8aa248cf8fe0c56ce2032392bc64bbd61b5dff2a19ec8bba \
    --hash=sha256:472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8 \
    # via -r requirements.txt, openpyxl
jedi==0.17.2 \
    --hash=sha256:86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20 \
    --hash=sha256:98cc583fa0f2f8304968199b01b6b4b94f469a1f4a74c1560506ca2a211378b5 \
    # via -r requirements.txt, ipython
libcst==0.3.10 \
    --hash=sha256:b0dccbfc1cff7bfa3214980e1d2d90b4e00b2fed002d4b276a8a411217738df3 \
    --hash=sha256:e9395d952a490e6fc160f2bea8df139bdf1fdcb3fe4c01b88893da279eff00de \
    # via -r requirements.txt, google-cloud-secret-manager
markdown==3.3.1 \
    --hash=sha256:10db1204a6c4aff7c7cf3cf25cc02761703baea54b6fb5e2b9ce2c186d81116f \
    --hash=sha256:c3ce9ebb035c078cac0f2036068d054e7dc34354eeecc49c173c33c96b124af6 \
    # via -r requirements.txt
mypy-extensions==0.4.3 \
    --hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \
    --hash=sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 \
    # via -r requirements.txt, typing-inspect
oauthlib==3.1.0 \
    --hash=sha256:bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889 \
    --hash=sha256:df884cd6cbe20e32633f1db1072e9356f53638e4361bef4e8b03c9127c9328ea \
    # via -r requirements.txt, requests-oauthlib, social-auth-core
openpyxl==3.0.5 \
    --hash=sha256:18e11f9a650128a12580a58e3daba14e00a11d9e907c554a17ea016bf1a2c71b \
    --hash=sha256:f7d666b569f729257082cf7ddc56262431878f602dcc2bc3980775c59439cdab \
    # via -r requirements.txt
parso==0.7.1 \
    --hash=sha256:97218d9159b2520ff45eb78028ba8b50d2bc61dcc062a9682666f2dc4bd331ea \
    --hash=sha256:caba44724b994a8a5e086460bb212abc5a8bc46951bf4a9a1210745953622eb9 \
    # via -r requirements.txt, jedi
pexpect==4.8.0 \
    --hash=sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937 \
    --hash=sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c \
    # via -r requirements.txt
phonenumbers==8.12.9 \
    --hash=sha256:b8644c1dccd45d4c0f54c5b10effcc8c3f733e6a3c2caf40c9175fabc5010ffe \
    --hash=sha256:f887eceb3d9db17ec479a85245bd0ebe74c5f43489217784215ffb231f8c9e88 \
    # via -r requirements.txt
pickleshare==0.7.5 \
    --hash=sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca \
    --hash=sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56 \
    # via -r requirements.txt, ipython
promise==2.3 \
    --hash=sha256:dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0 \
    # via -r requirements.txt, graphene-django, graphql-core, graphql-relay
prompt-toolkit==3.0.7 \
    --hash=sha256:822f4605f28f7d2ba6b0b09a31e25e140871e96364d1d377667b547bb3bf4489 \
    --hash=sha256:83074ee28ad4ba6af190593d4d4c607ff525272a504eb159199b6dd9f950c950 \
    # via -r requirements.txt, ipython
proto-plus==1.9.1 \
    --hash=sha256:2028b1466bff50cda055bdaaa069511e119d933e3c2af21b4002a1d13ff4ac68 \
    # via -r requirements.txt, google-cloud-secret-manager
protobuf==3.13.0 \
    --hash=sha256:0bba42f439bf45c0f600c3c5993666fcb88e8441d011fad80a11df6f324eef33 \
    --hash=sha256:1e834076dfef9e585815757a2c7e4560c7ccc5962b9d09f831214c693a91b463 \
    --hash=sha256:339c3a003e3c797bc84499fa32e0aac83c768e67b3de4a5d7a5a9aa3b0da634c \
    --hash=sha256:361acd76f0ad38c6e38f14d08775514fbd241316cce08deb2ce914c7dfa1184a \
    --hash=sha256:3dee442884a18c16d023e52e32dd34a8930a889e511af493f6dc7d4d9bf12e4f \
    --hash=sha256:4d1174c9ed303070ad59553f435846a2f877598f59f9afc1b89757bdf846f2a7 \
    --hash=sha256:5db9d3e12b6ede5e601b8d8684a7f9d90581882925c96acf8495957b4f1b204b \
    --hash=sha256:6a82e0c8bb2bf58f606040cc5814e07715b2094caeba281e2e7d0b0e2e397db5 \
    --hash=sha256:8c35bcbed1c0d29b127c886790e9d37e845ffc2725cc1db4bd06d70f4e8359f4 \
    --hash=sha256:91c2d897da84c62816e2f473ece60ebfeab024a16c1751aaf31100127ccd93ec \
    --hash=sha256:9c2e63c1743cba12737169c447374fab3dfeb18111a460a8c1a000e35836b18c \
    --hash=sha256:9edfdc679a3669988ec55a989ff62449f670dfa7018df6ad7f04e8dbacb10630 \
    --hash=sha256:c0c5ab9c4b1eac0a9b838f1e46038c3175a95b0f2d944385884af72876bd6bc7 \
    --hash=sha256:c8abd7605185836f6f11f97b21200f8a864f9cb078a193fe3c9e235711d3ff1e \
    --hash=sha256:d69697acac76d9f250ab745b46c725edf3e98ac24763990b24d58c16c642947a \
    --hash=sha256:df3932e1834a64b46ebc262e951cd82c3cf0fa936a154f0a42231140d8237060 \
    --hash=sha256:e7662437ca1e0c51b93cadb988f9b353fa6b8013c0385d63a70c8a77d84da5f9 \
    --hash=sha256:f68eb9d03c7d84bd01c790948320b768de8559761897763731294e3bc316decb \
    # via -r requirements.txt, google-api-core, googleapis-common-protos, proto-plus
psycopg2-binary==2.8.4 \
    --hash=sha256:040234f8a4a8dfd692662a8308d78f63f31a97e1c42d2480e5e6810c48966a29 \
    --hash=sha256:086f7e89ec85a6704db51f68f0dcae432eff9300809723a6e8782c41c2f48e03 \
    --hash=sha256:18ca813fdb17bc1db73fe61b196b05dd1ca2165b884dd5ec5568877cabf9b039 \
    --hash=sha256:19dc39616850342a2a6db70559af55b22955f86667b5f652f40c0e99253d9881 \
    --hash=sha256:2166e770cb98f02ed5ee2b0b569d40db26788e0bf2ec3ae1a0d864ea6f1d8309 \
    --hash=sha256:3a2522b1d9178575acee4adf8fd9f979f9c0449b00b4164bb63c3475ea6528ed \
    --hash=sha256:3aa773580f85a28ffdf6f862e59cb5a3cc7ef6885121f2de3fca8d6ada4dbf3b \
    --hash=sha256:3b5deaa3ee7180585a296af33e14c9b18c218d148e735c7accf78130765a47e3 \
    --hash=sha256:407af6d7e46593415f216c7f56ba087a9a42bd6dc2ecb86028760aa45b802bd7 \
    --hash=sha256:4c3c09fb674401f630626310bcaf6cd6285daf0d5e4c26d6e55ca26a2734e39b \
    --hash=sha256:4c6717962247445b4f9e21c962ea61d2e884fc17df5ddf5e35863b016f8a1f03 \
    --hash=sha256:50446fae5681fc99f87e505d4e77c9407e683ab60c555ec302f9ac9bffa61103 \
    --hash=sha256:5057669b6a66aa9ca118a2a860159f0ee3acf837eda937bdd2a64f3431361a2d \
    --hash=sha256:5dd90c5438b4f935c9d01fcbad3620253da89d19c1f5fca9158646407ed7df35 \
    --hash=sha256:659c815b5b8e2a55193ede2795c1e2349b8011497310bb936da7d4745652823b \
    --hash=sha256:69b13fdf12878b10dc6003acc8d0abf3ad93e79813fd5f3812497c1c9fb9be49 \
    --hash=sha256:7a1cb80e35e1ccea3e11a48afe65d38744a0e0bde88795cc56a4d05b6e4f9d70 \
    --hash=sha256:7e6e3c52e6732c219c07bd97fff6c088f8df4dae3b79752ee3a817e6f32e177e \
    --hash=sha256:7f42a8490c4fe854325504ce7a6e4796b207960dabb2cbafe3c3959cb00d1d7e \
    --hash=sha256:84156313f258eafff716b2961644a4483a9be44a5d43551d554844d15d4d224e \
    --hash=sha256:8578d6b8192e4c805e85f187bc530d0f52ba86c39172e61cd51f68fddd648103 \
    --hash=sha256:890167d5091279a27e2505ff0e1fb273f8c48c41d35c5b92adbf4af80e6b2ed6 \
    --hash=sha256:98e10634792ac0e9e7a92a76b4991b44c2325d3e7798270a808407355e7bb0a1 \
    --hash=sha256:9aadff9032e967865f9778485571e93908d27dab21d0fdfdec0ca779bb6f8ad9 \
    --hash=sha256:9f24f383a298a0c0f9b3113b982e21751a8ecde6615494a3f1470eb4a9d70e9e \
    --hash=sha256:a73021b44813b5c84eda4a3af5826dd72356a900bac9bd9dd1f0f81ee1c22c2f \
    --hash=sha256:afd96845e12638d2c44d213d4810a08f4dc4a563f9a98204b7428e567014b1cd \
    --hash=sha256:b73ddf033d8cd4cc9dfed6324b1ad2a89ba52c410ef6877998422fcb9c23e3a8 \
    --hash=sha256:b8f490f5fad1767a1331df1259763b3bad7d7af12a75b950c2843ba319b2415f \
    --hash=sha256:dbc5cd56fff1a6152ca59445178652756f4e509f672e49ccdf3d79c1043113a4 \
    --hash=sha256:eac8a3499754790187bb00574ab980df13e754777d346f85e0ff6df929bcd964 \
    --hash=sha256:eaed1c65f461a959284649e37b5051224f4db6ebdc84e40b5e65f2986f101a08 \
    # via -r requirements.txt
psycopg2==2.8.4 \
    --hash=sha256:4212ca404c4445dc5746c0d68db27d2cbfb87b523fe233dc84ecd24062e35677 \
    --hash=sha256:47fc642bf6f427805daf52d6e52619fe0637648fe27017062d898f3bf891419d \
    --hash=sha256:72772181d9bad1fa349792a1e7384dde56742c14af2b9986013eb94a240f005b \
    --hash=sha256:8396be6e5ff844282d4d49b81631772f80dabae5658d432202faf101f5283b7c \
    --hash=sha256:893c11064b347b24ecdd277a094413e1954f8a4e8cdaf7ffbe7ca3db87c103f0 \
    --hash=sha256:92a07dfd4d7c325dd177548c4134052d4842222833576c8391aab6f74038fc3f \
    --hash=sha256:965c4c93e33e6984d8031f74e51227bd755376a9df6993774fd5b6fb3288b1f4 \
    --hash=sha256:9ab75e0b2820880ae24b7136c4d230383e07db014456a476d096591172569c38 \
    --hash=sha256:b0845e3bdd4aa18dc2f9b6fb78fbd3d9d371ad167fd6d1b7ad01c0a6cdad4fc6 \
    --hash=sha256:dca2d7203f0dfce8ea4b3efd668f8ea65cd2b35112638e488a4c12594015f67b \
    --hash=sha256:ed686e5926929887e2c7ae0a700e32c6129abb798b4ad2b846e933de21508151 \
    --hash=sha256:ef6df7e14698e79c59c7ee7cf94cd62e5b869db369ed4b1b8f7b729ea825712a \
    --hash=sha256:f898e5cc0a662a9e12bde6f931263a1bbd350cfb18e1d5336a12927851825bb6 \
    # via -r requirements.txt
ptyprocess==0.6.0 \
    --hash=sha256:923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0 \
    --hash=sha256:d7cc528d76e76342423ca640335bd3633420dc1366f258cb31d05e865ef5ca1f \
    # via -r requirements.txt, pexpect
pyasn1-modules==0.2.8 \
    --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \
    --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 \
    # via -r requirements.txt, google-auth
pyasn1==0.4.8 \
    --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \
    --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba \
    # via -r requirements.txt, pyasn1-modules, python-jose, rsa
pycountry==19.8.18 \
    --hash=sha256:3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb \
    # via -r requirements.txt
pycparser==2.20 \
    --hash=sha256:2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0 \
    --hash=sha256:7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705 \
    # via -r requirements.txt, cffi
pygments==2.7.1 \
    --hash=sha256:307543fe65c0947b126e83dd5a61bd8acbd84abec11f43caebaf5534cbc17998 \
    --hash=sha256:926c3f319eda178d1bd90851e4317e6d8cdb5e292a3386aac9bd75eca29cf9c7 \
    # via -r requirements.txt, ipython
pyjwt==1.7.1 \
    --hash=sha256:5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e \
    --hash=sha256:8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96 \
    # via -r requirements.txt, social-auth-core
pyopenssl==19.1.0 \
    --hash=sha256:621880965a720b8ece2f1b2f54ea2071966ab00e2970ad2ce11d596102063504 \
    --hash=sha256:9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507 \
    # via -r requirements.txt
python-dateutil==2.8.1 \
    --hash=sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c \
    --hash=sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a \
    # via -r requirements.txt, faker
python-dotenv==0.11.0 \
    --hash=sha256:8429f459fc041237d98c9ff32e1938e7e5535b5ff24388876315a098027c3a57 \
    --hash=sha256:ca9f3debf2262170d6f46571ce4d6ca1add60bb93b69c3a29dcb3d1a00a65c93 \
    # via -r requirements.txt
python-jose==3.2.0 \
    --hash=sha256:4e4192402e100b5fb09de5a8ea6bcc39c36ad4526341c123d401e2561720335b \
    --hash=sha256:67d7dfff599df676b04a996520d9be90d6cdb7e6dd10b4c7cacc0c3e2e92f2be \
    # via -r requirements.txt
python3-openid==3.2.0 \
    --hash=sha256:33fbf6928f401e0b790151ed2b5290b02545e8775f982485205a066f874aaeaf \
    --hash=sha256:6626f771e0417486701e0b4daff762e7212e820ca5b29fcc0d05f6f8736dfa6b \
    # via -r requirements.txt, social-auth-core
pytz==2019.3 \
    --hash=sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d \
    --hash=sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
    # via -r requirements.txt, django, google-api-core
pyyaml==5.3.1 \
    --hash=sha256:06a0d7ba600ce0b2d2fe2e78453a470b5a6e000a985dd4a4e54e436cc36b0e97 \
    --hash=sha256:240097ff019d7c70a4922b6869d8a86407758333f02203e0fc6ff79c5dcede76 \
    --hash=sha256:4f4b913ca1a7319b33cfb1369e91e50354d6f07a135f3b901aca02aa95940bd2 \
    --hash=sha256:69f00dca373f240f842b2931fb2c7e14ddbacd1397d57157a9b005a6a9942648 \
    --hash=sha256:73f099454b799e05e5ab51423c7bcf361c58d3206fa7b0d555426b1f4d9a3eaf \
    --hash=sha256:74809a57b329d6cc0fdccee6318f44b9b8649961fa73144a98735b0aaf029f1f \
    --hash=sha256:7739fc0fa8205b3ee8808aea45e968bc90082c10aef6ea95e855e10abf4a37b2 \
    --hash=sha256:95f71d2af0ff4227885f7a6605c37fd53d3a106fcab511b8860ecca9fcf400ee \
    --hash=sha256:b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d \
    --hash=sha256:cc8955cfbfc7a115fa81d85284ee61147059a753344bc51098f3ccd69b0d7e0c \
    --hash=sha256:d13155f591e6fcc1ec3b30685d50bf0711574e2c0dfffd7644babf8b5102ca1a \
    # via -r requirements.txt, libcst
requests-oauthlib==1.3.0 \
    --hash=sha256:7f71572defaecd16372f9006f33c2ec8c077c3cfa6f5911a9a90202beb513f3d \
    --hash=sha256:b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a \
    # via -r requirements.txt, social-auth-core
requests==2.24.0 \
    --hash=sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b \
    --hash=sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898 \
    # via -r requirements.txt, algoliasearch, google-api-core, requests-oauthlib, social-auth-core
rsa==4.6 \
    --hash=sha256:109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa \
    --hash=sha256:6166864e23d6b5195a5cfed6cd9fed0fe774e226d8f854fcb23b7bbef0350233 \
    # via -r requirements.txt, google-auth, python-jose
rx==1.6.1 \
    --hash=sha256:13a1d8d9e252625c173dc795471e614eadfe1cf40ffc684e08b8fff0d9748c23 \
    --hash=sha256:7357592bc7e881a95e0c2013b73326f704953301ab551fbc8133a6fadab84105 \
    # via -r requirements.txt, graphql-core
singledispatch==3.4.0.3 \
    --hash=sha256:5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c \
    --hash=sha256:833b46966687b3de7f438c761ac475213e53b306740f1abfaa86e1d1aae56aa8 \
    # via -r requirements.txt, graphene-django
six==1.15.0 \
    --hash=sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 \
    --hash=sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced \
    # via -r requirements.txt, cryptography, ecdsa, google-api-core, google-auth, graphene, graphene-django, graphene-file-upload, graphql-core, graphql-relay,grpcio, promise, protobuf, pyopenssl, python-dateutil, python-jose, singledispatch, snapshottest, social-auth-app-django, social-auth-core
snapshottest==0.5.1 \
    --hash=sha256:2cc7157e77674ea8ebeb2351466ff50cd4b5ad8e213adc06df9c16a75ab5bafc \
    # via -r requirements.txt
social-auth-app-django==4.0.0 \
    --hash=sha256:2c69e57df0b30c9c1823519c5f1992cbe4f3f98fdc7d95c840e091a752708840 \
    --hash=sha256:567ad0e028311541d7dfed51d3bf2c60440a6fd236d5d4d06c5a618b3d6c57c5 \
    --hash=sha256:df5212370bd250108987c4748419a1a1d0cec750878856c2644c36aaa0fd3e58 \
    # via -r requirements.txt
social-auth-core==3.3.3 \
    --hash=sha256:21c0639c56befd33ec162c2210d583bb1de8e1136d53b21bafb96afaf2f86c91 \
    --hash=sha256:2f6ce1af8ec2b2cc37b86d647f7d4e4292f091ee556941db34b1e0e2dee77fc0 \
    --hash=sha256:4a3cdf69c449b235cdabd54a1be7ba3722611297e69fded52e3584b1a990af25 \
    # via -r requirements.txt, social-auth-app-django
sqlparse==0.3.0 \
    --hash=sha256:40afe6b8d4b1117e7dff5504d7a8ce07d9a1b15aeeade8a2d10f130a834f8177 \
    --hash=sha256:7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873 \
    # via -r requirements.txt, django
termcolor==1.1.0 \
    --hash=sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b \
    # via -r requirements.txt, snapshottest
text-unidecode==1.3 \
    --hash=sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8 \
    --hash=sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93 \
    # via -r requirements.txt, faker
traitlets==5.0.4 \
    --hash=sha256:86c9351f94f95de9db8a04ad8e892da299a088a64fd283f9f6f18770ae5eae1b \
    --hash=sha256:9664ec0c526e48e7b47b7d14cd6b252efa03e0129011de0a9c1d70315d4309c3 \
    # via -r requirements.txt, ipython
typing-extensions==3.7.4.3 \
    --hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \
    --hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c \
    --hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f \
    # via -r requirements.txt, libcst, typing-inspect
typing-inspect==0.6.0 \
    --hash=sha256:3b98390df4d999a28cf5b35d8b333425af5da2ece8a4ea9e98f71e7591347b4f \
    --hash=sha256:8f1b1dd25908dbfd81d3bebc218011531e7ab614ba6e5bf7826d887c834afab7 \
    --hash=sha256:de08f50a22955ddec353876df7b2545994d6df08a2f45d54ac8c05e530372ca0 \
    # via -r requirements.txt, libcst
unidecode==1.1.1 \
    --hash=sha256:1d7a042116536098d05d599ef2b8616759f02985c85b4fef50c78a5aaf10822a \
    --hash=sha256:2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8 \
    # via -r requirements.txt, graphene-django
uritemplate==3.0.1 \
    --hash=sha256:07620c3f3f8eed1f12600845892b0e036a2420acf513c53f7de0abd911a5894f \
    --hash=sha256:5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae \
    # via -r requirements.txt
urllib3==1.25.10 \
    --hash=sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a \
    --hash=sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461 \
    # via -r requirements.txt, requests
wasmer==0.4.1 \
    --hash=sha256:519d9f7a33f0dc28498edf8d074944df1cfda3f4d56a6b0a9dc606e99f230c07 \
    --hash=sha256:6e37fd76931da954d12f7708e7fc790c479e17ea6dfe54bb4f1403d6fe919c62 \
    --hash=sha256:92aee4b3994735f72e27c9deaca36d063781ddfd1068756bf63509288c1a2c14 \
    --hash=sha256:c36c6c7a3582c0467ea76c5b86a5a25c2e1a713669ebf8fc6511b26f30828ed7 \
    --hash=sha256:d5a58b318628bd48605a4810ee9ba030ec4423dee730d45f031bd082cf36ad8b \
    --hash=sha256:f864b1e910e6803aa8f3ed9c371b145f0b6fd191f5fbefea011ac7ed4258734d \
    --hash=sha256:fa1c8479781c91e6b814ef006f6e099b6550eba12601a8617475fb514fc09365 \
    # via -r requirements.txt
wcwidth==0.2.5 \
    --hash=sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784 \
    --hash=sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83 \
    # via -r requirements.txt, prompt-toolkit
werkzeug==1.0.1 \
    --hash=sha256:2de2a5db0baeae7b2d2664949077c2ac63fbd16d98da0ff71837f7d1dea3fd43 \
    --hash=sha256:6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c \
    # via -r requirements.txt
xlrd==1.2.0 \
    --hash=sha256:546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2 \
    --hash=sha256:e551fb498759fa3a5384a94ccd4c3c02eb7c00ea424426e212ac0c57be9dfbde \
    # via -r requirements.txt

# The following packages are considered to be unsafe in a requirements file:
setuptools==50.3.0 \
    --hash=sha256:39060a59d91cf5cf403fa3bacbb52df4205a8c3585e0b9ba4b30e0e19d4c4b18 \
    --hash=sha256:c77b3920663a435c9450d9d971c48f5a7478fca8881b2cd2564e59f970f03536 \
    # via -r requirements.txt, google-api-core, google-auth, gunicorn, ipdb, ipython, protobuf

  1. What is the output of this:
PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" bazel build --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage
(13:27:33) INFO: Current date is 2020-11-14
(13:27:36) INFO: Repository my_deps instantiated at:
  C:/xcov19-covidx/WORKSPACE:85:11: in <toplevel>
Repository rule pip_import defined at:
  C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl:55:29: in <toplevel>
(13:27:36) ERROR: An error occurred during the fetch of repository 'my_deps':
   Traceback (most recent call last):
        File "C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl", line 38, column 17, in _pip_import_impl
                fail("pip_compile failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(13:27:36) ERROR: no such package '@my_deps//': pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(13:27:37) INFO: Elapsed time: 4.707s
(13:27:37) INFO: 0 processes.
(13:27:37) FAILED: Build did NOT complete successfully (0 packages loaded)

@milan-tom
Copy link
Collaborator Author

Checkout to a local temp branch and change this: https://github.com/Xcov19/covidX/blob/master/WORKSPACE#L87
to :

pip_import(
   name = "my_deps",
   requirements = ":requirements.txt",
   timeout=3600,
   compile=True,
   python_interpreter="python3",
)

Done.

@milan-tom
Copy link
Collaborator Author

@milan-tom if that throws error or doesn't work and yields the same error try prepending in the bazel cmd this BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 like:

BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" bazel build --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --action_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage

The following error was raised:

(13:42:14) INFO: Current date is 2020-11-14
(13:42:14) INFO: Repository my_deps instantiated at:
  C:/xcov19-covidx/WORKSPACE:85:11: in <toplevel>
Repository rule pip_import defined at:
  C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl:55:29: in <toplevel>
(13:42:14) ERROR: An error occurred during the fetch of repository 'my_deps':
   Traceback (most recent call last):
        File "C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl", line 19, column 31, in _pip_import_impl
                reqs = repository_ctx.read(repository_ctx.attr.requirements)
Error in read: Not a regular file: C:/xcov19-covidx/external/requirements.txt
(13:42:14) ERROR: no such package '@my_deps//': Not a regular file: C:/xcov19-covidx/external/requirements.txt
(13:42:14) INFO: Elapsed time: 0.364s
(13:42:14) INFO: 0 processes.
(13:42:14) FAILED: Build did NOT complete successfully (0 packages loaded)

@codecakes
Copy link
Contributor

relates to bazelbuild/rules_python#172

@codecakes codecakes linked a pull request Nov 21, 2020 that will close this issue
@codecakes
Copy link
Contributor

Error in fail: pip_compile failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.

paste the bazel version bazel version

Build label: 3.7.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Oct 20 13:31:53 2020 (1603200713)
Build timestamp: 1603200713
Build timestamp as int: 1603200713
  1. Do bazel clean --async
Starting local Bazel server and connecting to it...
INFO: --async cannot be used on non-Linux platforms, falling back to synchronous clean
INFO: Starting clean.
  1. Install pip-compile and let me know What is the output of following?
pip-compile --allow-unsafe --generate-hashes requirements.txt

OUTPUT

  1. What is the output of this:
PULLER_TIMEOUT=3600 DOCKER_REPO_CACHE=$(pwd)/docker_repo_cache DEBUG_ENV=1 CPPFLAGS="$(pg_config --cppflags)" LDFLAGS="$(pg_config --ldflags)" SECRET_ID="SECRET_KEY" bazel build --watchfs --spawn_strategy=standalone --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=2000 --loading_phase_threads=HOST_CPUS --action_env=LDFLAGS="$(pg_config --ldflags)" --action_env=CPPFLAGS="$(pg_config --cppflags)" --force_python=py3 --incompatible_use_python_toolchains=false --loading_phase_threads=1 --http_timeout_scaling=2 :covidx_manage
(13:27:33) INFO: Current date is 2020-11-14
(13:27:36) INFO: Repository my_deps instantiated at:
  C:/xcov19-covidx/WORKSPACE:85:11: in <toplevel>
Repository rule pip_import defined at:
  C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl:55:29: in <toplevel>
(13:27:36) ERROR: An error occurred during the fetch of repository 'my_deps':
   Traceback (most recent call last):
        File "C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/defs.bzl", line 38, column 17, in _pip_import_impl
                fail("pip_compile failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(13:27:36) ERROR: no such package '@my_deps//': pip_compile failed:  (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python3" C:/users/milan/_bazel_milan/wg6cfnos/external/com_github_ali5h_rules_pip/src/compile.py --quiet --allow-unsafe --no-emit-trusted-host --build-isolation --no-emit-find-links --no-header --no-index --no-annotate C:/users/milan/_bazel_milan/wg6cfnos/external/my_deps/requirements.txt): The system cannot find the file specified.
 (error: 2))
(13:27:37) INFO: Elapsed time: 4.707s
(13:27:37) INFO: 0 processes.
(13:27:37) FAILED: Build did NOT complete successfully (0 packages loaded)

I've removed pip_import and it is deprecated now;
setting up project locally following the bazel build steps should now work;
check slack to bypass setup hassles:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs-review windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants