Skip to content

Commit

Permalink
Remove environment marker for backports.zoneinfo when using Bazel.
Browse files Browse the repository at this point in the history
The `rules_python` `requirement` macro only does name-mangling. To handle
an environment marker for a py_library dependency we will need something more
sophisticated (e.g. a macro that accounts for the interpreter version).

Since Bazel requirements already force the user to have the tools necessary to
build a backports.zoneinfo whl, for now we'll keep this pip-dependency for
Bazel, but have a PEP 508 environment marker for our pypi distribution.

PiperOrigin-RevId: 380644314
  • Loading branch information
Cam2337 committed Jun 21, 2021
1 parent 55a8b99 commit f09ae59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
absl-py~=0.10.0
backports.zoneinfo~=0.2.1;python_version<"3.9"
backports.zoneinfo~=0.2.1
protobuf~=3.13.0
python-dateutil~=2.8.1
requests~=2.24.0

0 comments on commit f09ae59

Please sign in to comment.