Commit graph

175 commits

Author SHA1 Message Date
Nick Coghlan
690922cfde Fix 3.10 testing 2024-05-22 20:54:41 +10:00
Nick Coghlan
c127f51df1 Also fix GitHub config 2024-05-22 20:23:08 +10:00
Nick Coghlan
241de07097 Can't test on 3.6 anymore 2024-05-22 20:20:46 +10:00
Nick Coghlan
ff30b3a68f Update pre-commit hooks 2024-05-22 20:08:13 +10:00
Hugo van Kemenade
9ef8594837
Merge pull request #49 from jazzband/add-pre-commit 2022-03-24 17:54:18 +02:00
Hugo van Kemenade
89893bba60
Merge pull request #48 from jazzband/all-repos_autofix_all-repos-sed 2022-03-24 17:53:37 +02:00
Hugo van Kemenade
26ad9aef80
Test Python 3.10 final 2021-11-10 22:59:22 +02:00
Hugo van Kemenade
c1d9e6a4a7 Add basic pre-commit config 2021-11-10 22:37:03 +02:00
Hugo van Kemenade
d63f68b104 CI: Replace deprecated pypy3 with pypy-3.8
pypy3 is deprecated and is not available in newer images:
https://github.com/actions/setup-python/issues/244#issuecomment-925966022

Instead explicitly specify the version:
https://github.com/actions/setup-python#specifying-a-pypy-version

Committed via https://github.com/asottile/all-repos
2021-11-10 22:14:24 +02:00
Jannis Leidel
0828b5a332
Merge pull request #47 from jazzband/jazzband/sync/default
Jazzband: Synced file(s) with jazzband/.github
2021-10-22 17:46:45 +02:00
jazzband-bot
1ea4e4dfe0 Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-10-21 14:33:39 +00:00
Thomas Grainger
3feaef8f91
Merge pull request #45 from jazzband/typeshed-resync 2021-08-13 11:00:17 +01:00
Sviatoslav Sydorenko
89c5189648
Merge pull request #46 from ppentchev/roam-universal-wheels
Do not build universal wheels.
2021-07-26 23:50:56 +03:00
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
Thomas Grainger
3d2540dda1
Update contextlib2/_typeshed.py 2021-07-20 17:38:40 +01:00
Thomas Grainger
d78420a808
Update contextlib2/_typeshed.py 2021-07-20 17:38:32 +01:00
Thomas Grainger
a35252eefd
backport _typeshed.Self 2021-07-20 14:11:42 +01:00
Thomas Grainger
16db3dcf86
resync from typeshed 2021-07-16 08:33:19 +01: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