You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop 'six' module Drop 'u"' prefixes for text Remove other Python 2.7 workarounds Drop use of 'pytz' Dxpand range to allow 'google-auth' 2.x versions Remove 'general_helpers.wraps': except for a backward-compatibility import, 'functools.wraps' does everything wee need on Python >= 3.6. Remove 'packaging' dependency Release-As: 2.0.0b1 Closes#74. Closes#215.
Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+4-30Lines changed: 4 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
.. Generated by synthtool. DO NOT EDIT!
2
1
############
3
2
Contributing
4
3
############
@@ -22,7 +21,7 @@ In order to add a feature:
22
21
documentation.
23
22
24
23
- The feature must work fully on the following CPython versions:
25
-
2.7, 3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.
24
+
3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.
26
25
27
26
- The feature must not add unnecessary dependencies (where
28
27
"unnecessary" is of course subjective, but new dependencies should
@@ -77,8 +76,8 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
77
76
78
77
.. note::
79
78
80
-
The unit tests and system tests are described in the
81
-
``noxfile.py`` files in each directory.
79
+
The unit tests tests are described in the ``noxfile.py`` files
80
+
in each directory.
82
81
83
82
.. nox: https://pypi.org/project/nox/
84
83
@@ -133,29 +132,6 @@ Exceptions to PEP8:
133
132
"Function-Under-Test"), which is PEP8-incompliant, but more readable.
134
133
Some also use a local variable, ``MUT`` (short for "Module-Under-Test").
135
134
136
-
********************
137
-
Running System Tests
138
-
********************
139
-
140
-
- To run system tests, you can execute::
141
-
142
-
# Run all system tests
143
-
$ nox -s system
144
-
145
-
# Run a single system test
146
-
$ nox -s system-3.8 -- -k <name of test>
147
-
148
-
149
-
.. note::
150
-
151
-
System tests are only configured to run under Python 2.7 and 3.8.
152
-
For expediency, we do not run them in older versions of Python 3.
153
-
154
-
This alone will not run the tests. You'll need to change some local
155
-
auth settings and change some configuration in your project to
156
-
run all the tests.
157
-
158
-
- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.
159
135
160
136
*************
161
137
Test Coverage
@@ -221,13 +197,11 @@ Supported Python Versions
221
197
222
198
We support:
223
199
224
-
- `Python 2.7`_
225
200
- `Python 3.6`_
226
201
- `Python 3.7`_
227
202
- `Python 3.8`_
228
203
- `Python 3.9`_
229
204
230
-
.. _Python 2.7: https://docs.python.org/2.7/
231
205
.. _Python 3.6: https://docs.python.org/3.6/
232
206
.. _Python 3.7: https://docs.python.org/3.7/
233
207
.. _Python 3.8: https://docs.python.org/3.8/
@@ -239,7 +213,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
0 commit comments