Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase unix server sockets #2727

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2385 commits
Select commit Hold shift + click to select a range
350d0bf
Merge pull request #2559 from A5rocks/auto-pip-freeze
A5rocks Feb 10, 2023
b1a8ef1
Bump sphinx-rtd-theme from 1.1.1 to 1.2.0
dependabot[bot] Feb 11, 2023
104ed0b
Fix autocommit step
A5rocks Feb 11, 2023
8fe9048
Merge pull request #2563 from python-trio/dependabot/pip/sphinx-rtd-t…
A5rocks Feb 11, 2023
a211f63
Bump black from 22.12.0 to 23.1.0
dependabot[bot] Feb 11, 2023
b196eb6
Try to fix committing one more time
A5rocks Feb 11, 2023
93205f1
Autoformatter changes
github-actions[bot] Feb 11, 2023
bfe6e9b
Remove the testing configuration for autoformatting
A5rocks Feb 11, 2023
0381fef
Make sure to actually commit black's changes
A5rocks Feb 11, 2023
5590cbe
Merge pull request #2555 from python-trio/dependabot/pip/black-23.1.0
A5rocks Feb 11, 2023
699efc8
Bump pathspec from 0.10.3 to 0.11.0
dependabot[bot] Feb 11, 2023
b1fbbd3
Give the committing job enough permissions
A5rocks Feb 11, 2023
6ca9484
Merge pull request #2545 from python-trio/dependabot/pip/pathspec-0.11.0
A5rocks Feb 11, 2023
04b4b88
Bump traitlets from 5.8.1 to 5.9.0
dependabot[bot] Feb 11, 2023
4ed59c3
GITHUB_TOKEN needs `contents` for `git push`
A5rocks Feb 11, 2023
33361dd
Merge pull request #2552 from python-trio/dependabot/pip/traitlets-5.9.0
A5rocks Feb 11, 2023
4d02fa4
Bump astroid from 2.14.1 to 2.14.2
dependabot[bot] Feb 13, 2023
1b4ed1c
Autoformatter changes
github-actions[bot] Feb 13, 2023
df96312
Merge pull request #2568 from python-trio/dependabot/pip/astroid-2.14.2
A5rocks Feb 13, 2023
1ae9e48
Bump pylint from 2.16.1 to 2.16.2
dependabot[bot] Feb 14, 2023
6d95ae9
Autoformatter changes
github-actions[bot] Feb 14, 2023
64e9b20
Bump types-pyopenssl from 23.0.0.2 to 23.0.0.3
dependabot[bot] Feb 14, 2023
c9adb49
Autoformatter changes
github-actions[bot] Feb 14, 2023
168aadc
Merge pull request #2569 from python-trio/dependabot/pip/pylint-2.16.2
A5rocks Feb 14, 2023
6a49dce
Bump sphinx from 3.3.1 to 6.1.3
dependabot[bot] Feb 14, 2023
2b43f76
Autoformatter changes
github-actions[bot] Feb 14, 2023
c6d2c07
Bump typing-extensions from 4.4.0 to 4.5.0
dependabot[bot] Feb 15, 2023
d07a051
Autoformatter changes
github-actions[bot] Feb 15, 2023
2012285
Merge pull request #2571 from python-trio/dependabot/pip/typing-exten…
A5rocks Feb 15, 2023
7e83d6a
Merge pull request #2570 from python-trio/dependabot/pip/types-pyopen…
A5rocks Feb 20, 2023
17d76da
Bump mypy from 1.0.0 to 1.0.1
dependabot[bot] Feb 20, 2023
5923c07
Autoformatter changes
github-actions[bot] Feb 20, 2023
0ec92a5
Bump types-pyopenssl from 23.0.0.3 to 23.0.0.4
dependabot[bot] Feb 21, 2023
28d080a
Autoformatter changes
github-actions[bot] Feb 21, 2023
1fc0ee8
Merge pull request #2573 from python-trio/dependabot/pip/types-pyopen…
A5rocks Feb 21, 2023
de8ca19
Bump prompt-toolkit from 3.0.36 to 3.0.37
dependabot[bot] Feb 22, 2023
14071f4
Autoformatter changes
github-actions[bot] Feb 22, 2023
9372a14
Merge pull request #2575 from python-trio/dependabot/pip/prompt-toolk…
A5rocks Feb 22, 2023
3c04862
Bump wrapt from 1.14.1 to 1.15.0
dependabot[bot] Feb 27, 2023
595362c
Autoformatter changes
github-actions[bot] Feb 27, 2023
40d46bd
Merge pull request #2579 from python-trio/dependabot/pip/wrapt-1.15.0
A5rocks Feb 27, 2023
0637275
Bump babel from 2.11.0 to 2.12.0
dependabot[bot] Feb 28, 2023
9c6c2b0
Autoformatter changes
github-actions[bot] Feb 28, 2023
8139a56
Bump prompt-toolkit from 3.0.37 to 3.0.38
dependabot[bot] Feb 28, 2023
3629099
Autoformatter changes
github-actions[bot] Feb 28, 2023
08a1608
Merge pull request #2580 from python-trio/dependabot/pip/babel-2.12.0
A5rocks Feb 28, 2023
95b1164
Merge pull request #2581 from python-trio/dependabot/pip/prompt-toolk…
A5rocks Feb 28, 2023
4eac9fc
Bump babel from 2.12.0 to 2.12.1
dependabot[bot] Mar 1, 2023
7071814
Autoformatter changes
github-actions[bot] Mar 1, 2023
197df2c
Merge pull request #2582 from python-trio/dependabot/pip/babel-2.12.1
A5rocks Mar 1, 2023
428a257
Bump pip-tools from 6.12.2 to 6.12.3
dependabot[bot] Mar 1, 2023
7406155
Autoformatter changes
github-actions[bot] Mar 1, 2023
3745ee9
Merge pull request #2584 from python-trio/dependabot/pip/pip-tools-6.…
A5rocks Mar 1, 2023
dac2f8c
Bump cryptography from 39.0.1 to 39.0.2
dependabot[bot] Mar 3, 2023
cb23776
Autoformatter changes
github-actions[bot] Mar 3, 2023
1862393
Bump pylint from 2.16.2 to 2.16.3
dependabot[bot] Mar 3, 2023
abb7c73
Autoformatter changes
github-actions[bot] Mar 3, 2023
2bce2d0
Merge pull request #2585 from python-trio/dependabot/pip/cryptography…
A5rocks Mar 3, 2023
8a5de7b
Merge pull request #2586 from python-trio/dependabot/pip/pylint-2.16.3
A5rocks Mar 3, 2023
21f08cf
bump checkout version to revive CI
richardsheridan Mar 5, 2023
bf5f717
remove pr head ref injection to revive CI
richardsheridan Mar 5, 2023
4bd5ba9
Merge pull request #2587 from richardsheridan/check_ci
A5rocks Mar 5, 2023
18891ba
Merge pull request #2572 from python-trio/dependabot/pip/mypy-1.0.1
A5rocks Mar 5, 2023
8f90c60
split highly permissioned dependabot autoformatter into separate job
richardsheridan Mar 5, 2023
06db0cb
run instead of source
richardsheridan Mar 5, 2023
b842fee
Merge pull request #2590 from richardsheridan/autofmt_job
A5rocks Mar 5, 2023
b65b44c
Bump platformdirs from 3.0.0 to 3.1.0
dependabot[bot] Mar 5, 2023
f0f72ad
Autoformatter changes
github-actions[bot] Mar 5, 2023
2104196
Merge pull request #2588 from python-trio/dependabot/pip/platformdirs…
A5rocks Mar 5, 2023
9eae00d
Bump pytest from 7.2.1 to 7.2.2
dependabot[bot] Mar 5, 2023
5ad1b8b
Autoformatter changes
github-actions[bot] Mar 5, 2023
529ddcf
Merge pull request #2589 from python-trio/dependabot/pip/pytest-7.2.2
A5rocks Mar 5, 2023
f860ff7
enable sphinx 6
richardsheridan Mar 5, 2023
28277de
silence warnings
richardsheridan Mar 5, 2023
5bc00f4
Merge branch 'master' into dependabot/pip/sphinx-6.1.3
richardsheridan Mar 5, 2023
9338657
Merge pull request #2567 from python-trio/dependabot/pip/sphinx-6.1.3
richardsheridan Mar 5, 2023
d3fa049
Drop dependabot in favor of automated pip-tools
richardsheridan Mar 5, 2023
9328bff
bugfix based on off-repo testing
richardsheridan Mar 5, 2023
6c8559f
Use ascii singlequote character
Zac-HD Mar 5, 2023
e3f363a
clarified documentation around Nursery.start vs start_soon
rotu Mar 7, 2019
2d8a217
Ensure that every new Trio task returns 'trio' from sniffio.current_a…
oremanj Feb 21, 2023
a37b8b3
Renumber newsfragment
oremanj Feb 21, 2023
527c6d8
Apparently we can't cross-reference sniffio
oremanj Feb 21, 2023
054ce68
add sniffio to intersphinx_mapping
richardsheridan Mar 5, 2023
44a3475
Merge pull request #2596 from Zac-HD/doc-start-vs-startsoon
njsmith Mar 5, 2023
9e9582e
Merge branch 'pr/2574' into pr/2462
richardsheridan Mar 5, 2023
b94e966
Bump astroid from 2.14.2 to 2.15.0
dependabot[bot] Mar 6, 2023
7b105da
Autoformatter changes
github-actions[bot] Mar 6, 2023
0210812
Bump charset-normalizer from 3.0.1 to 3.1.0
dependabot[bot] Mar 6, 2023
0734e2b
Autoformatter changes
github-actions[bot] Mar 6, 2023
93b35df
Merge pull request #2597 from python-trio/dependabot/pip/astroid-2.15.0
A5rocks Mar 6, 2023
b24672a
Merge pull request #2598 from python-trio/dependabot/pip/charset-norm…
A5rocks Mar 6, 2023
b574e60
rename workflow
richardsheridan Mar 7, 2023
aedbc7d
only commit and make automerge pr if there are changes
richardsheridan Mar 7, 2023
74cef56
refactor for readability
richardsheridan Mar 7, 2023
03ddba6
Bump mypy from 1.0.1 to 1.1.1
dependabot[bot] Mar 7, 2023
71aa6b0
Autoformatter changes
github-actions[bot] Mar 7, 2023
5935cc9
Bump pylint from 2.16.3 to 2.16.4
dependabot[bot] Mar 7, 2023
dc46f37
Autoformatter changes
github-actions[bot] Mar 7, 2023
692a388
Merge pull request #2599 from python-trio/dependabot/pip/mypy-1.1.1
A5rocks Mar 7, 2023
d6454d1
Merge pull request #2600 from python-trio/dependabot/pip/pylint-2.16.4
A5rocks Mar 7, 2023
550dcd3
add check_function_returning_coroutine
richardsheridan Mar 8, 2023
3d31858
Renumber newsfragment
richardsheridan Mar 8, 2023
ee0bf40
Merge branch 'master' into pr/2462
richardsheridan Mar 8, 2023
1b50186
Merge pull request #2462 from gschaffner/fix-sniffio-guest-run-start_…
richardsheridan Mar 9, 2023
dfe943b
Bump pylint from 2.16.4 to 2.17.0
dependabot[bot] Mar 9, 2023
b2d13ed
Autoformatter changes
github-actions[bot] Mar 9, 2023
c6a075d
New Python versions for CI (#2514)
A5rocks Mar 9, 2023
4b6117b
Merge pull request #2601 from python-trio/dependabot/pip/pylint-2.17.0
A5rocks Mar 9, 2023
e45c9d5
Attempt to fix PyPy CI (#2536)
A5rocks Mar 11, 2023
55abf37
use autojump_threshold in test_handshake_over_terrible_network
richardsheridan Mar 11, 2023
4aace6d
unify HANDSHAKES on all platforms
richardsheridan Mar 12, 2023
bc955e9
Bump urllib3 from 1.26.14 to 1.26.15
dependabot[bot] Mar 13, 2023
fdb7825
Autoformatter changes
github-actions[bot] Mar 13, 2023
cc231fb
Bump platformdirs from 3.1.0 to 3.1.1
dependabot[bot] Mar 13, 2023
64fd8fb
Autoformatter changes
github-actions[bot] Mar 13, 2023
a0a484e
Merge pull request #2604 from python-trio/dependabot/pip/urllib3-1.26.15
A5rocks Mar 13, 2023
57f4b80
Merge pull request #2605 from python-trio/dependabot/pip/platformdirs…
A5rocks Mar 13, 2023
6a5efbd
Bump exceptiongroup from 1.1.0 to 1.1.1
dependabot[bot] Mar 13, 2023
1754f41
Autoformatter changes
github-actions[bot] Mar 13, 2023
0461004
Merge pull request #2606 from python-trio/dependabot/pip/exceptiongro…
A5rocks Mar 13, 2023
eb0d415
Bump wheel from 0.38.4 to 0.40.0
dependabot[bot] Mar 15, 2023
f43edfd
Autoformatter changes
github-actions[bot] Mar 15, 2023
6e873b5
Bump pathspec from 0.11.0 to 0.11.1
dependabot[bot] Mar 15, 2023
c61d694
Autoformatter changes
github-actions[bot] Mar 15, 2023
552163c
Merge pull request #2609 from python-trio/dependabot/pip/pathspec-0.11.1
A5rocks Mar 15, 2023
7224f23
Merge pull request #2608 from python-trio/dependabot/pip/wheel-0.40.0
A5rocks Mar 15, 2023
99021ec
Bump pylint from 2.17.0 to 2.17.1
dependabot[bot] Mar 23, 2023
36f4745
Autoformatter changes
github-actions[bot] Mar 23, 2023
ce1335a
Merge pull request #2612 from python-trio/dependabot/pip/pylint-2.17.1
A5rocks Mar 23, 2023
d9dad04
Bump pyopenssl from 23.0.0 to 23.1.0
dependabot[bot] Mar 24, 2023
feb036f
Autoformatter changes
github-actions[bot] Mar 24, 2023
6e445ae
Merge pull request #2613 from python-trio/dependabot/pip/pyopenssl-23…
A5rocks Mar 24, 2023
a935864
Bump astroid from 2.15.0 to 2.15.1
dependabot[bot] Mar 27, 2023
d871855
Autoformatter changes
github-actions[bot] Mar 27, 2023
cf937f1
Bump tomlkit from 0.11.6 to 0.11.7
dependabot[bot] Mar 27, 2023
a0e96c5
Bump platformdirs from 3.1.1 to 3.2.0
dependabot[bot] Mar 27, 2023
fd07f64
Autoformatter changes
github-actions[bot] Mar 27, 2023
418c072
Autoformatter changes
github-actions[bot] Mar 27, 2023
58a9f4c
Bump pyopenssl from 23.1.0 to 23.1.1
dependabot[bot] Mar 28, 2023
7d90994
Autoformatter changes
github-actions[bot] Mar 28, 2023
14402b9
Bump types-pyopenssl from 23.0.0.4 to 23.1.0.1
dependabot[bot] Mar 28, 2023
bbdf183
Autoformatter changes
github-actions[bot] Mar 28, 2023
094b419
Merge pull request #2619 from python-trio/dependabot/pip/pyopenssl-23…
A5rocks Mar 28, 2023
c32ed9d
Merge pull request #2618 from python-trio/dependabot/pip/platformdirs…
A5rocks Mar 28, 2023
01d6938
Merge pull request #2617 from python-trio/dependabot/pip/tomlkit-0.11.7
A5rocks Mar 28, 2023
f114257
Merge pull request #2616 from python-trio/dependabot/pip/astroid-2.15.1
A5rocks Mar 28, 2023
00ee7fb
Merge pull request #2621 from python-trio/dependabot/pip/types-pyopen…
A5rocks Mar 28, 2023
52bc3d3
Bump black from 23.1.0 to 23.3.0
dependabot[bot] Mar 29, 2023
01c094b
Autoformatter changes
github-actions[bot] Mar 29, 2023
9ba894d
Merge pull request #2622 from python-trio/dependabot/pip/black-23.3.0
A5rocks Mar 29, 2023
81b992e
Bump astroid from 2.15.1 to 2.15.2
dependabot[bot] Apr 3, 2023
b5f911f
Autoformatter changes
github-actions[bot] Apr 3, 2023
e4b9abd
Merge pull request #2626 from python-trio/dependabot/pip/astroid-2.15.2
A5rocks Apr 3, 2023
7e1327e
Bump pylint from 2.17.1 to 2.17.2
dependabot[bot] Apr 3, 2023
2939e2c
Autoformatter changes
github-actions[bot] Apr 3, 2023
1fdd5b8
Merge pull request #2627 from python-trio/dependabot/pip/pylint-2.17.2
A5rocks Apr 3, 2023
4f17d2b
Merge pull request #2592 from richardsheridan/drop_db
A5rocks Apr 5, 2023
61d5d31
Update pip-tools
A5rocks May 1, 2023
dbd49a4
Merge pull request #2634 from python-trio/fix-autodeps
richardsheridan May 1, 2023
001675a
Invert no changes check
richardsheridan May 1, 2023
de93843
Merge pull request #2636 from richardsheridan/flip_changes_check
A5rocks May 1, 2023
2fb8e40
Ensure our autodeps workflow adds the new files
A5rocks May 1, 2023
8ce2d37
Merge pull request #2637 from python-trio/add-updated-files
richardsheridan May 1, 2023
6f815cd
Merge pull request #2603 from richardsheridan/dtls_autojump_threshold
A5rocks May 4, 2023
67496a4
Some small improvements before debugging autodeps
A5rocks May 4, 2023
9676408
Merge pull request #2638 from python-trio/add-some-debugging-to-autodeps
richardsheridan May 5, 2023
d91cc0e
Bump dependencies from commit 967640 (#2639)
github-actions[bot] May 5, 2023
9cb7b00
add flake8-trio to list of Tools and Utilities
jakkdl May 5, 2023
0dc29d3
Merge pull request #2640 from jakkdl/awesome_trio_libraries
Zac-HD May 5, 2023
abf0587
Make sure the index is synced before diff-index
A5rocks May 6, 2023
4ed742d
docs: Fix library URL for flake8-trio
uSpike May 9, 2023
572137e
Merge pull request #2643 from python-trio/fix-flake8-trio-url
njsmith May 9, 2023
6582a24
PR review
A5rocks May 10, 2023
d0d8d61
Remove trailing whitespace
A5rocks May 10, 2023
6c8245a
Merge pull request #2642 from python-trio/fix-autodeps-for-real
richardsheridan May 10, 2023
6e736c1
Readd accidental "git" delete
A5rocks May 13, 2023
1a7a9c5
Merge pull request #2644 from python-trio/A5rocks-patch-1
oremanj May 13, 2023
855f5fd
Add stubs for wrapped methods to trio.Path, add tests for mypy seeing…
jakkdl May 16, 2023
dc37b79
move **/tests/ to **/_tests/
jakkdl Apr 5, 2023
26d9f6e
add trio.tests module that raises deprecationwarning, add tests
jakkdl Apr 17, 2023
0b5d131
remove unnecessary imports, refactor tests, improve comments
jakkdl May 18, 2023
1b42276
now also warns on `from trio import tests`
jakkdl May 22, 2023
ef06fba
Merge pull request #2628 from jakkdl/import_as
A5rocks May 24, 2023
93bb27b
Make the CI not trample itself
A5rocks May 6, 2023
b21d4b9
Dependency updates (#2652)
github-actions[bot] May 28, 2023
6e8c2af
Ignore Pytest deprecation warnings (#2651)
A5rocks May 29, 2023
16b6b5e
Replace codecov with their GHA thing (#2653)
A5rocks May 30, 2023
93c1d96
fix pickle support for MultiError (#2648)
jakkdl May 30, 2023
8ae599c
specify --cov-config=.coveragerc in ci.sh (#2654)
jakkdl May 30, 2023
91942f6
Dependency updates (#2657)
github-actions[bot] Jun 1, 2023
b2e617a
fix static analysis tests on 3.12 (#2656)
jakkdl Jun 1, 2023
7a35c5b
Clear some cruft from 3.6 (#2659)
A5rocks Jun 3, 2023
bec7cc6
Merge pull request #2641 from python-trio/update-ci
webknjaz Jun 5, 2023
493c915
change imports to `from Y import X as X` for compatibility with `pyri…
jakkdl Jun 9, 2023
00c058b
Make the mypy-based tests faster! (mostly)
A5rocks Jun 20, 2023
7be61ff
Pollute `empty` directory for test speedup
A5rocks Jun 20, 2023
0e8a989
Merge pull request #2664 from A5rocks/faster-mypy-tests
jakkdl Jun 25, 2023
e917f7c
mark test_nursery_cancel_doesnt_create_cyclic_garbage as xfail on 3.1…
jakkdl Jun 23, 2023
d1cbbd3
timeout functions now raise ValueError on NaN inputs
jakkdl Jun 6, 2023
3146638
Merge pull request #2667 from jakkdl/sleep_nan
jakkdl Jun 25, 2023
30235b8
Fix tokenless uploads by hardcoding token...
A5rocks Jun 26, 2023
61775d5
Merge pull request #2672 from A5rocks/fix-codecov
A5rocks Jun 26, 2023
afd51d1
Try out coverage instead of pytest-cov (#2665)
A5rocks Jun 28, 2023
746389e
Fix typo (#2673)
karpetrosyan Jun 28, 2023
ae200e6
Render long description as ReST
A5rocks Jun 28, 2023
c758fbc
Prevent typing_extensions 4.7.0 (#2676)
A5rocks Jul 2, 2023
d01158b
Enable F401 in flake8, configure per-file disables. (#2669)
jakkdl Jul 2, 2023
e8786ac
Dependency updates (#2679)
github-actions[bot] Jul 2, 2023
b2d72ac
Update a few incorrect deprecations
A5rocks Jul 2, 2023
c7e897d
Release 0.22.1
A5rocks Jul 2, 2023
87d8d38
Released 0.22.1, start new cycle
A5rocks Jul 2, 2023
9457f3c
Merge pull request #2680 from A5rocks/release-0.22.1
A5rocks Jul 2, 2023
4816f0e
Type completeness improvement (timeouts, CancelScope, and more) (#2671)
jakkdl Jul 3, 2023
042f035
don't open git diff in pager, mypy export tests now error on any mypy…
jakkdl Jul 6, 2023
54e7be8
add isort
jakkdl Jul 7, 2023
933f77b
run isort on all files
jakkdl Jul 7, 2023
755f520
add isort commit to .git-blame-ignore-revs
jakkdl Jul 7, 2023
02e91c2
changed commit ref in .git-blame-ignore-revs as it got changed when r…
jakkdl Jul 7, 2023
ed975f8
Merge pull request #2692 from jakkdl/fix_git_blame_ignore_revs
jakkdl Jul 7, 2023
6d71047
Make type completeness results consistent for different platforms (#2…
TeamSpen210 Jul 10, 2023
1687f5d
fix PermissionError due to accessing pthreads upon importing trio (#2…
jakkdl Jul 11, 2023
8741c58
Release 0.22.2
A5rocks Jul 12, 2023
87ed1d3
Released 0.22.2, start new cycle
A5rocks Jul 12, 2023
dc41892
Merge pull request #2701 from A5rocks/release-0.22.2
A5rocks Jul 12, 2023
4cd3164
lots of typing improvements (#2682)
jakkdl Jul 13, 2023
6f187fb
move mypy config to pyproject.toml
jakkdl Jul 12, 2023
bf9fe64
drop python 3.7 support, drop pypy3.7-3.8, add pypy3.10 (except on wi…
jakkdl Jul 17, 2023
315dbed
Bump dependencies from commit bf9fe6 (#2709)
github-actions[bot] Jul 18, 2023
a451bc4
Update tutorial.rst
kulothunganug Jul 19, 2023
47c1850
Fix typo in reference-core.rst
samsamoa Jul 19, 2023
d930ad6
Merge pull request #2712 from samsamoa/patch-1
TeamSpen210 Jul 19, 2023
11fa77d
Make sure to make GitHub releases (#2710)
A5rocks Jul 20, 2023
00816bf
update emphasized lines
jakkdl Jul 20, 2023
2436e31
Merge branch 'master' into docs/update-line-nos
jakkdl Jul 20, 2023
3cea6b3
Merge pull request #2711 from kulothunganug/docs/update-line-nos
A5rocks Jul 20, 2023
748adff
typecheck trio/_abc.py (#2703)
jakkdl Jul 21, 2023
a9a9170
set merge strategy for verify_types.json in .gitattributes (#2713)
jakkdl Jul 21, 2023
15ddd50
typecheck trio/_dtls.py (#2704)
jakkdl Jul 26, 2023
c3e790b
Bump certifi from 2023.5.7 to 2023.7.22
dependabot[bot] Jul 26, 2023
db89701
add codespell to CI (#2698)
jakkdl Jul 26, 2023
9e51b99
Merge pull request #2715 from python-trio/dependabot/pip/certifi-2023…
Fuyukai Jul 26, 2023
e545484
Partially revert "Bump certifi from 2023.5.7 to 2023.7.22" (#2716)
jakkdl Jul 27, 2023
2fd005b
Define types for `AsyncIOWrapper` and `trio.Path` (#2706)
TeamSpen210 Jul 28, 2023
cf1f3c7
typecheck _socket and _core._local (#2705)
jakkdl Jul 29, 2023
bc53afb
UNIX server sockets.
Tronic Mar 11, 2020
a155f0b
Fail if socket target is a symlink. More robust handling of FileNotFo…
Tronic Mar 27, 2020
2358b35
Merge branch 'unix-listeners' into rebase-unix-server-sockets
CoolCat467 Jul 30, 2023
a8a4c45
Formatting and raise exception if unsupported
CoolCat467 Jul 30, 2023
0991863
Import SocketStream seperately
CoolCat467 Jul 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .builds/alpine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
image: alpine/latest
packages:
- curl
- gcc
- libffi-dev
- musl-dev
- openssl-dev
- python3-dev
# required to build cryptography
- rust
- cargo
sources:
- https://github.com/python-trio/trio
tasks:
- test: |
python3 -m venv venv
source venv/bin/activate
cd trio
CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh
environment:
CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
JOB_NAME: Alpine
15 changes: 15 additions & 0 deletions .builds/fedora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
image: fedora/rawhide
packages:
- python3-devel
- python3-pip
sources:
- https://github.com/python-trio/trio
tasks:
- test: |
python3 -m venv venv
source venv/bin/activate
cd trio
CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh
environment:
CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
JOB_NAME: Fedora
18 changes: 18 additions & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image: freebsd/latest
packages:
- curl
- python39
- py39-sqlite3
- rust # required to build cryptography
sources:
- https://github.com/python-trio/trio
tasks:
- setup: sudo ln -s /usr/local/bin/bash /bin/bash
- test: |
python3.9 -m venv venv
source venv/bin/activate
cd trio
CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh
environment:
CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
JOB_NAME: FreeBSD
20 changes: 16 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[run]
branch=True
source=trio
# For some reason coverage recording doesn't work for ipython_custom_exc.py,
# so leave it out of reports
omit=
setup.py
*/ipython_custom_exc.py
# Omit the generated files in trio/_core starting with _public_
# These are run in subprocesses, but still don't work. We follow
# coverage's documentation to no avail.
*/trio/_core/_tests/test_multierror_scripts/*
# Omit the generated files in trio/_core starting with _generated_
*/trio/_core/_generated_*
# Script used to check type completeness that isn't run in tests
*/trio/_tests/check_type_completeness.py
# The test suite spawns subprocesses to test some stuff, so make sure
# this doesn't corrupt the coverage files
parallel=True
Expand All @@ -17,3 +19,13 @@ precision = 1
exclude_lines =
pragma: no cover
abc.abstractmethod
if TYPE_CHECKING:
if _t.TYPE_CHECKING:
@overload

partial_branches =
pragma: no branch
if not TYPE_CHECKING:
if not _t.TYPE_CHECKING:
if .* or not TYPE_CHECKING:
if .* or not _t.TYPE_CHECKING:
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# sorting all imports with isort
933f77b96f0092e1baab4474a9208fc2e379aa32
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# For files generated by trio/_tools/gen_exports.py
trio/_core/_generated* linguist-generated=true
# Treat generated files as binary in git diff
trio/_core/_generated* -diff
# don't merge the generated json file, let the user (script) handle it
trio/_tests/verify_types.json merge=binary
82 changes: 82 additions & 0 deletions .github/workflows/autodeps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Autodeps

on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

jobs:
Autodeps:
name: Autodeps
timeout-minutes: 10
runs-on: 'ubuntu-latest'
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions
permissions:
pull-requests: write
issues: write
repository-projects: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Bump dependencies
run: |
python -m pip install -U pip
python -m pip install -r test-requirements.txt
pip-compile -U test-requirements.in
pip-compile -U docs-requirements.in
- name: Black
run: |
# The new dependencies may contain a new black version.
# Commit any changes immediately.
python -m pip install -r test-requirements.txt
black setup.py trio
- name: Commit changes and create automerge PR
env:
GH_TOKEN: ${{ github.token }}
run: |
# setup git repo
git switch --force-create autodeps/bump_from_${GITHUB_SHA:0:6}
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'

if ! git commit -am "Dependency updates"; then
echo "No changes to commit!"
exit 0
fi

git push --force --set-upstream origin autodeps/bump_from_${GITHUB_SHA:0:6}

# git push returns before github is ready for a pr, so we poll until success
for BACKOFF in 1 2 4 8 0; do
sleep $BACKOFF
if gh pr create \
--label dependencies --body "" \
--title "Bump dependencies from commit ${GITHUB_SHA:0:6}" \
; then
break
fi
done

if [ $BACKOFF -eq 0 ]; then
echo "Could not create the PR"
exit 1
fi

# gh pr create returns before the pr is ready, so we again poll until success
# https://github.com/cli/cli/issues/2619#issuecomment-1240543096
for BACKOFF in 1 2 4 8 0; do
sleep $BACKOFF
if gh pr merge --auto --squash; then
break
fi
done

if [ $BACKOFF -eq 0 ]; then
echo "Could not set automerge"
exit 1
fi
193 changes: 193 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
name: CI

on:
push:
branches-ignore:
- "dependabot/**"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && format('-{0}', github.sha) || '' }}
cancel-in-progress: true

jobs:
Windows:
name: 'Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})'
timeout-minutes: 20
runs-on: 'windows-latest'
strategy:
fail-fast: false
matrix:
# pypy-3.10 is failing, see https://github.com/python-trio/trio/issues/2678
python: ['3.8', '3.9', '3.10', 'pypy-3.9-nightly'] #, 'pypy-3.10-nightly']
arch: ['x86', 'x64']
lsp: ['']
lsp_extract_file: ['']
extra_name: ['']
exclude:
# pypy does not release 32-bit binaries
- python: 'pypy-3.9-nightly'
arch: 'x86'
#- python: 'pypy-3.10-nightly'
# arch: 'x86'
include:
- python: '3.8'
arch: 'x64'
lsp: 'https://raw.githubusercontent.com/python-trio/trio-ci-assets/master/komodia-based-vpn-setup.zip'
lsp_extract_file: 'komodia-based-vpn-setup.exe'
extra_name: ', with Komodia LSP'
- python: '3.8'
arch: 'x64'
lsp: 'https://www.proxifier.com/download/legacy/ProxifierSetup342.exe'
lsp_extract_file: ''
extra_name: ', with IFS LSP'
#- python: '3.8'
# arch: 'x64'
# lsp: 'http://download.pctools.com/mirror/updates/9.0.0.2308-SDavfree-lite_en.exe'
# lsp_extract_file: ''
# extra_name: ', with non-IFS LSP'
continue-on-error: >-
${{
(
endsWith(matrix.python, '-dev')
|| endsWith(matrix.python, '-nightly')
)
&& true
|| false
}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
# This allows the matrix to specify just the major.minor version while still
# expanding it to get the latest patch version including alpha releases.
# This avoids the need to update for each new alpha, beta, release candidate,
# and then finally an actual release version. actions/setup-python doesn't
# support this for PyPy presently so we get no help there.
#
# 'CPython' -> '3.9.0-alpha - 3.9.X'
# 'PyPy' -> 'pypy-3.9'
python-version: ${{ fromJSON(format('["{0}", "{1}"]', format('{0}.0-alpha - {0}.X', matrix.python), matrix.python))[startsWith(matrix.python, 'pypy')] }}
architecture: '${{ matrix.arch }}'
cache: pip
cache-dependency-path: test-requirements.txt
- name: Run tests
run: ./ci.sh
shell: bash
env:
LSP: '${{ matrix.lsp }}'
LSP_EXTRACT_FILE: '${{ matrix.lsp_extract_file }}'
- if: always()
uses: codecov/codecov-action@v3
with:
directory: empty
token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
name: Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})
flags: Windows,${{ matrix.python }}

Ubuntu:
name: 'Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})'
timeout-minutes: 10
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
python: ['pypy-3.9', 'pypy-3.10', '3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy-3.9-nightly', 'pypy-3.10-nightly']
check_formatting: ['0']
extra_name: ['']
include:
- python: '3.8'
check_formatting: '1'
extra_name: ', check formatting'
continue-on-error: >-
${{
(
matrix.check_formatting == '1'
|| endsWith(matrix.python, '-dev')
|| endsWith(matrix.python, '-nightly')
)
&& true
|| false
}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
if: "!endsWith(matrix.python, '-dev')"
with:
python-version: ${{ fromJSON(format('["{0}", "{1}"]', format('{0}.0-alpha - {0}.X', matrix.python), matrix.python))[startsWith(matrix.python, 'pypy')] }}
cache: pip
cache-dependency-path: test-requirements.txt
- name: Setup python (dev)
uses: deadsnakes/[email protected]
if: endsWith(matrix.python, '-dev')
with:
python-version: '${{ matrix.python }}'
- name: Run tests
run: ./ci.sh
env:
CHECK_FORMATTING: '${{ matrix.check_formatting }}'
- if: always()
uses: codecov/codecov-action@v3
with:
directory: empty
token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
name: Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})
flags: Ubuntu,${{ matrix.python }}

macOS:
name: 'macOS (${{ matrix.python }})'
timeout-minutes: 15
runs-on: 'macos-latest'
strategy:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10', 'pypy-3.9-nightly', 'pypy-3.10-nightly']
continue-on-error: >-
${{
(
endsWith(matrix.python, '-dev')
|| endsWith(matrix.python, '-nightly')
)
&& true
|| false
}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ fromJSON(format('["{0}", "{1}"]', format('{0}.0-alpha - {0}.X', matrix.python), matrix.python))[startsWith(matrix.python, 'pypy')] }}
cache: pip
cache-dependency-path: test-requirements.txt
- name: Run tests
run: ./ci.sh
- if: always()
uses: codecov/codecov-action@v3
with:
directory: empty
token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
name: macOS (${{ matrix.python }})
flags: macOS,${{ matrix.python }}

# https://github.com/marketplace/actions/alls-green#why
check: # This job does nothing and is only used for the branch protection

if: always()

needs:
- Windows
- Ubuntu
- macOS

runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pip-log.txt
htmlcov/
.tox/
.venv/
pyvenv.cfg
.coverage
.coverage.*
.cache
Expand Down
Loading