Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
Entropy fighting
Browse files Browse the repository at this point in the history
* Fixes security vulnerability alert in urllib3 (requests dependency)
* Updates Bazel rules for new python_version semantics

Note: This is know not to work with python 3.6+ due to issue
ktdreyer/python-nfsn#1
  • Loading branch information
joshkunz committed Jul 28, 2019
1 parent a5fb390 commit de004a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ py_binary(
name = "nfsn_pingbot",
srcs = ["nfsn_pingbot.py"],
srcs_version = "PY3",
default_python_version = "PY3",
python_version = "PY3",
deps = all_requirements,
)
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
name = "io_bazel_rules_python",
name = "rules_python",
remote = "https://github.com/bazelbuild/rules_python.git",
commit = "ebd7adcbcafcc8abe3fd8e5b0e42e10ced1bfe27",
commit = "93d8b0af6d8ca1ee37816a829085d7092b04cc7b",
)

# Only needed for PIP support:
load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import")
load("@rules_python//python:pip.bzl", "pip_repositories", "pip_import")

pip_repositories()

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
beanbag==1.9.2
certifi==2018.11.29
certifi==2019.6.16
chardet==3.0.4
idna==2.8
python-nfsn==1.1.1
requests==2.21.0
urllib3==1.24.1
requests==2.22.0
urllib3==1.25.3

0 comments on commit de004a8

Please sign in to comment.