Skip to content

Python 5.11+ compat, bump to v0.0.6#7

Merged
polyatail merged 2 commits intomainfrom
roo/py-5-11-compat
Feb 19, 2026
Merged

Python 5.11+ compat, bump to v0.0.6#7
polyatail merged 2 commits intomainfrom
roo/py-5-11-compat

Conversation

@polyatail
Copy link
Owner

@polyatail polyatail commented Feb 19, 2026

Pull request overview

Updates the aiosocketpool package to align with newer asyncio loop APIs and raises the declared minimum supported Python version, along with README example tweaks.

Changes:

  • Raise requires-python to >=3.11.
  • Replace deprecated/legacy asyncio.get_event_loop() usage with asyncio.get_running_loop() in async socket operations and reaper startup.
  • Update README examples to use asyncio.create_task() / await asyncio.gather() and add guidance for running examples in an asyncio shell.

Copilot AI review requested due to automatic review settings February 19, 2026 03:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the aiosocketpool package to align with newer asyncio loop APIs and raises the declared minimum supported Python version, along with README example tweaks.

Changes:

  • Raise requires-python to >=3.11.
  • Replace deprecated/legacy asyncio.get_event_loop() usage with asyncio.get_running_loop() in async socket operations and reaper startup.
  • Update README examples to use asyncio.create_task() / await asyncio.gather() and add guidance for running examples in an asyncio shell.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Raises minimum Python version to 3.11 in project metadata.
aiosocketpool/init.py Updates loop acquisition patterns and makes the reaper startup tolerant of being constructed before a loop is running.
README.md Adjusts examples for modern asyncio usage and adds a note about running in an asyncio-enabled shell.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 19, 2026 03:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@polyatail polyatail marked this pull request as ready for review February 19, 2026 03:47
Copilot AI review requested due to automatic review settings February 19, 2026 03:47
@polyatail polyatail merged commit e31572c into main Feb 19, 2026
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants