Commit Graph

13 Commits

Author SHA1 Message Date
Edgar Ramírez Mondragón fb5a1397d1
Add cleanup_socket param on create_unix_server() (#623)
This is derived from python/cpython#111483 but available on
all Python versions with uvloop, only that it's only enabled
by default for Python 3.13 and above to be consistent with
CPython behavior.

* Also add Python 3.13 to CI (#610)
* Enable CI in debug mode
* Fix CI to include [dev]

---------

Co-authored-by: Fantix King <fantix.king@gmail.com>
2024-09-02 15:57:59 -05:00
avkarenow c8531c2431
Use len(os.sched_getaffinity(0)) instead of os.cpu_count() (#591)
Co-authored-by: Fantix King <fantix.king@gmail.com>
2024-08-15 11:39:16 -05:00
Fantix King ee5ad26a75
Drop support of Python 3.7 and update CI (#578)
* Drop support of Python 3.7
* Upgrade and pin action revisions in CI
* Exclude C files in wheel dist
2023-10-22 13:04:03 -05:00
Yury Selivanov 9f82bd7444
Port uvloop to Python 3.12 (#570)
* Bump Cython to 0.29.36
* Add missing new API -- timeout param to shutdown_default_executor
* Stop using the beloved, but now deprecated, 'IF'
* Explicitly qualify void-returning callback functions as `noexcept`.
* Fix test_libuv_get_loop_t_ptr to work under Python 3.12
* "Fix" the failing asyncio tests by adding a sleep() call
* Add 3.12 to CI scripts
* Stop configuring watchers for asyncio tests under 3.12+
* Add the new timeout parameter of shutdown_default_executor to typeshed
* Implement uvloop.run()
* Add pyproject.toml and update CI

Co-authored-by: Fantix King <fantix.king@gmail.com>
2023-10-09 19:28:47 -05:00
Dulmandakh 1dd40f17f3
CI: python 3.11 stable (#553)
* CI: Python 3.11 stable
* test with latest aiohttp with Python 3.11 support
2023-08-11 12:25:03 -05:00
Euiseo Cha 8e42921d7b
Support python 3.11+ (#473)
* chore: Cython version update
* add 3.11-dev pipeline
* Test and build on Python 3.11
* Drop test_context_run_segfault
* Support context in loop.create_task()
* Consistent PseudoSocket repr
* Add stubs for new 3.11 loop.sock_*() methods
* Skip test_create_ssl_server_manual_connection_lost on 3.11 for now

Co-authored-by: Fantix King <fantix.king@gmail.com>
Co-authored-by: Elvis Pranskevichus <elvis@edgedb.com>
2022-09-01 10:56:34 -05:00
Christian Clauss fcbf422dc4
Upgrade GitHub Actions (#477) 2022-07-16 15:59:22 -05:00
Elvis Pranskevichus 3f691ab2a1
Workflow touchups 2021-08-10 11:14:18 -07:00
Elvis Pranskevichus 2519e2df62
Python 3.10 support (#432) 2021-08-06 18:02:12 -07:00
Fantix King cdd2218fa3
Drop Python 3.5/3.6 support (#383)
Fixes #381
2021-01-24 19:59:20 -06:00
Elvis Pranskevichus e21ceea0f0
Add release workflow (#376)
This is mostly a copy of asyncpg/release workflow
2021-01-20 18:01:14 -06:00
Fantix King 311997eda6 Switch to Github Actions 2020-12-06 19:43:25 -08:00
Elvis Pranskevichus 3be8967eb4 Add github test workflow 2020-12-06 19:43:25 -08:00