forked from hswaw/hscloud
Merge changes I51a93360,I60a1577e
* changes: third_party/py: remove flask-oauthlib WORKSPACE: update rules_python
This commit is contained in:
commit
7a13fdbf12
2 changed files with 11 additions and 15 deletions
19
WORKSPACE
19
WORKSPACE
|
@ -18,11 +18,13 @@ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
|||
|
||||
protobuf_deps()
|
||||
|
||||
# Force rules_python at a bleeding edge version (for pip3_import).
|
||||
# Force rules_python at a bleeding edge version (for setuptools >44).
|
||||
rules_python_version = "929d5a13d4eb1b930086d9353fc6f2d6ad306e43"
|
||||
http_archive(
|
||||
name = "rules_python",
|
||||
url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.3/rules_python-0.0.3.tar.gz",
|
||||
sha256 = "e46612e9bb0dae8745de6a0643be69e8665a03f63163ac6610c210e80d14c3e4",
|
||||
strip_prefix = "rules_python-{}".format(rules_python_version),
|
||||
url = "https://github.com/bazelbuild/rules_python/archive/{}.zip".format(rules_python_version),
|
||||
sha256 = "b590e4fc07ec842b8cc8a39a4ca0336f44d7d5f96753229d240884cd016dc1e3",
|
||||
)
|
||||
|
||||
# Download Go/Gazelle rules
|
||||
|
@ -47,24 +49,17 @@ http_archive(
|
|||
# Python rules
|
||||
# Important: rules_python must be loaded before protobuf (and grpc) because they load an older version otherwise
|
||||
load("@rules_python//python:repositories.bzl", "py_repositories")
|
||||
|
||||
py_repositories()
|
||||
|
||||
load("@rules_python//python:pip.bzl", "pip_repositories")
|
||||
|
||||
pip_repositories()
|
||||
|
||||
load("@rules_python//python:pip.bzl", "pip3_import")
|
||||
|
||||
pip3_import(
|
||||
load("@rules_python//python:pip.bzl", "pip_install")
|
||||
pip_install(
|
||||
name = "pydeps",
|
||||
requirements = "//third_party/py:requirements.txt",
|
||||
)
|
||||
|
||||
load("@pydeps//:requirements.bzl", "pip_install")
|
||||
|
||||
pip_install()
|
||||
|
||||
# Setup Go toolchain.
|
||||
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains")
|
||||
go_register_toolchains()
|
||||
|
|
7
third_party/py/requirements.txt
vendored
7
third_party/py/requirements.txt
vendored
|
@ -15,7 +15,6 @@ Django==2.2.3
|
|||
fabric==2.4.0
|
||||
Flask==1.1.1
|
||||
Flask-Login==0.4.1
|
||||
Flask-OAuthlib==0.9.5
|
||||
Flask-SQLAlchemy==2.4.0
|
||||
Flask-WTF==0.14.2
|
||||
future==0.17.1
|
||||
|
@ -27,13 +26,13 @@ invoke==1.2.0
|
|||
itsdangerous==1.1.0
|
||||
Jinja2==2.10.1
|
||||
MarkupSafe==1.1.1
|
||||
oauthlib==2.1.0
|
||||
oauthlib==3.1.1
|
||||
paramiko==2.4.2
|
||||
psycopg2==2.8.5
|
||||
pyasn1==0.4.5
|
||||
pycparser==2.19
|
||||
PyNaCl==1.3.0
|
||||
pyelftools==0.26
|
||||
PyNaCl==1.3.0
|
||||
python-dateutil==2.8.0
|
||||
pytz==2019.1
|
||||
requests==2.22.0
|
||||
|
@ -44,3 +43,5 @@ sqlparse==0.3.0
|
|||
urllib3==1.25.3
|
||||
Werkzeug==0.15.5
|
||||
WTForms==2.2.1
|
||||
zope.event==4.5.0
|
||||
zope.interface==5.4.0
|
||||
|
|
Loading…
Reference in a new issue