Commit graph

158 commits

Author SHA1 Message Date
Peter Pentchev
5373afc4ba Do not build universal wheels.
Only Python 3.x is supported, so universal wheels will only confuse
tools that examine the PyPI metadata about supported Python versions.
2021-07-24 17:08:22 +03:00
Nick Coghlan
2dc4c04492
Merge pull request #40 from graingert/widen-supports-aclose
sync pyi from typeshed
2021-06-30 22:24:55 +10:00
Thomas Grainger
908e2da622
add py3.10 async contextlib.nullcontext (pyi)
Fixes #41
2021-06-29 19:15:55 +01:00
Thomas Grainger
c907a9975e
widen _SupportsAclose
Fixes #39
2021-06-29 09:55:17 +01:00
Nick Coghlan
94174bafeb
Merge pull request #38 from ncoghlan/issue-37-mypy-stubtest
Issue #37: Use mypy.stubcheck to validate stub file
2021-06-27 16:15:18 +10:00
Nick Coghlan
fffe1d96be Fix mypy.stubtest invocation 2021-06-27 16:09:59 +10:00
Nick Coghlan
9a1453b673 Issue #37: Use mypy.stubcheck to validate stub file
* use mypy.stubcheck to ensure stub API matches module API
* sync latest typeshed stub with nullcontext API fix
* use allowlist to ignore deliberately omitted deprecated APIs
2021-06-27 16:04:15 +10:00
Nick Coghlan
190f6af5ef
Merge pull request #36 from ncoghlan/remove-lingering-py2-mentions
Remove lingering Python 2 mention
2021-06-26 22:51:54 +10:00
Nick Coghlan
181b9c212f Remove lingering Python 2 mention 2021-06-26 22:51:16 +10:00
Nick Coghlan
bed62be63b
Merge pull request #34 from ncoghlan/issue-33-add-type-hinting-support
Issue #33: convert to package and include typeshed type hints
2021-06-26 22:36:08 +10:00
Nick Coghlan
4b353b9815 Update NEWS file 2021-06-26 22:34:23 +10:00
Nick Coghlan
0fb391a30c Actually run a typecheck in CI 2021-06-26 22:12:55 +10:00
Nick Coghlan
841d0ae73a Include the pyi patch file 2021-06-26 21:49:03 +10:00
Nick Coghlan
3f6ee4d314 Merge remote-tracking branch 'origin/master' into issue-33-add-type-hinting-support 2021-06-26 21:45:51 +10:00
Nick Coghlan
77e93832f0
Merge pull request #35 from ncoghlan/issue-12-backport-py3.10-contextlib-docs
Issue #12: Sync API documentation from Python 3.10
2021-06-26 21:44:11 +10:00
Nick Coghlan
72c47e4629 Fix type hint filename, make API spec version independent 2021-06-26 21:43:44 +10:00
Nick Coghlan
802688462c Update README (including for docs backport) 2021-06-26 21:43:16 +10:00
Nick Coghlan
a858a8f4d6 Tweak relative paths for docs patch 2021-06-26 21:28:15 +10:00
Nick Coghlan
46244c827d Issue #12: Sync API documentation from Python 3.10 2021-06-26 21:24:10 +10:00
Nick Coghlan
e42cd73fe9 Issue #33: convert to package and include typeshed type hints 2021-06-26 20:43:11 +10:00
Nick Coghlan
b99ed09dfd
Merge pull request #32 from ncoghlan/issue-12-sync-module-from-python-3.10
Issue #12:  sync module from CPython 3.10
2021-06-26 18:45:29 +10:00
Nick Coghlan
032662d6e9 Fix test incompatibility with PyPy3 2021-06-26 18:30:55 +10:00
Nick Coghlan
4b39470cbb Sync test suite, add notes on sync process 2021-06-26 17:49:42 +10:00
Nick Coghlan
94a3b86586 Sync module, mostly keeping old test suite 2021-06-26 16:55:09 +10:00
Nick Coghlan
630f73a3a5 Add back ContextStack alias 2021-06-26 16:50:39 +10:00
Nick Coghlan
6a40a1ee80 Fix syntax and import compatibility 2021-06-26 16:49:00 +10:00
Nick Coghlan
cf0cece837 Add back refresh_cm 2021-06-26 16:40:28 +10:00
Nick Coghlan
17b0a93e5b Issue #12: sync contextlib from Python 3.10 2021-06-26 16:36:23 +10:00
Nick Coghlan
94f3881963
Merge pull request #30 from ncoghlan/issue-29-switch-to-calver-update-min-py-version
Issue #29: Switch to CalVer, require Python >= 3.6
2021-06-26 16:14:45 +10:00
Nick Coghlan
eed96067d7 Exception chaining is now always available 2021-06-26 16:04:26 +10:00
Nick Coghlan
cb66e76cd8 Remove no longer used Py2 compatibility code 2021-06-26 15:59:43 +10:00
Nick Coghlan
cef92f49f9 Accept 3.10 beta for testing 2021-06-26 15:47:45 +10:00
Nick Coghlan
dbcddef29f Ensure '3.10' is parsed correctly in YAML 2021-06-26 15:43:50 +10:00
Nick Coghlan
093bc69490 Fix versions in GitHub Actions 2021-06-26 15:42:03 +10:00
Nick Coghlan
a1ea615bb3 Issue #29: Switch to CalVer, require Python >= 3.6 2021-06-26 15:39:33 +10:00
Jannis Leidel
5f8498c19f
Merge pull request #26 from jazzband/github-actions
Migrate from Travis-CI to GitHub Actions
2020-11-30 12:51:12 +01:00
Jannis Leidel
34947502e5
Update .github/workflows/release.yml
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-11-30 12:19:07 +01:00
Jannis Leidel
07825fc9d9
Update README.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-11-25 19:48:42 +01:00
Jannis Leidel
ca6d76fb9f
Use tag event instead of release. 2020-11-23 20:52:38 +01:00
Jannis Leidel
5eba33be65
Remove all Travis-CI cruft. 2020-11-23 16:45:50 +01:00
Jannis Leidel
90b643f5fb
Add release workflow. 2020-11-23 16:41:12 +01:00
Jannis Leidel
4a2baeceab
Cache pip 2020-11-23 16:38:15 +01:00
Jannis Leidel
f50a62ed77
No combine 2020-11-23 16:34:36 +01:00
Jannis Leidel
403bb51102
Combine coverage data 2020-11-23 16:31:16 +01:00
Jannis Leidel
cd80f6860d
Run tox in verbose mode 2020-11-23 16:26:48 +01:00
Jannis Leidel
72bde0ee1d
No 3.4 2020-11-23 16:25:24 +01:00
Jannis Leidel
70cba0264a
Use Codecov instead of coveralls. 2020-11-23 16:21:54 +01:00
Jannis Leidel
b06a025948
Write coverage file. 2020-11-23 16:06:51 +01:00
Jannis Leidel
178007ad39
Define gh-actions matrix. 2020-11-23 15:57:55 +01:00
Jannis Leidel
78ec3a1f4b
Debugging errors.. 2020-11-23 15:05:27 +01:00