-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
42 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[mypy] | ||
python_version = 3.7 | ||
python_version = 3.8 | ||
namespace_packages = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ import sys | |
import nox # type: ignore | ||
|
||
ALL_PYTHON = [ | ||
"3.7", | ||
"3.8", | ||
"3.9", | ||
"3.10", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
{% block constraints %} | ||
{% include "testing/_default_constraints.j2" %} | ||
{% endblock %} | ||
{% from '_pypi_packages.j2' import pypi_packages %} | ||
# This constraints file is used to check that lower bounds | ||
# are correct in setup.py | ||
# List all library dependencies and extras in this file. | ||
# Pin the version to the lower bound. | ||
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev", | ||
# Then this file should have google-cloud-foo==1.14.0 | ||
# google-api-core >= 2.19.1 is needed for protobuf 5.x support | ||
google-api-core==2.19.1 | ||
google-auth==2.14.1 | ||
# proto-plus >= 1.24.0 is needed for protobuf 5.x support | ||
proto-plus==1.24.0 | ||
# protobuf 5.27.0 is needed which supports `google.protobuf.runtime_version` | ||
protobuf==5.27.2 | ||
{% for package_tuple, package_info in pypi_packages.items() %} | ||
{# Quick check to make sure the package is different from this setup.py #} | ||
{% if api.naming.warehouse_package_name != package_info.package_name %} | ||
{% if api.requires_package(package_tuple) %} | ||
{{ package_info.package_name }}=={{ package_info.lower_bound }} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[mypy] | ||
python_version = 3.7 | ||
python_version = 3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters