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

deps: Upgrade Python (3.12.4 -> 3.12.6) and common dependencies #2851

Merged
merged 16 commits into from
Sep 20, 2024

Conversation

achimnol
Copy link
Member

@achimnol achimnol commented Sep 20, 2024

  • Upgrade Python (3.12.4 → 3.12.6)
  • Upgrade common dependencies (root requirements.txt)
    • Now many wheels are being updated to support Python 3.13 and nogil (free-threaded) builds. This is a preparation for Python 3.13 migration after releasing 24.09.
    • Notable locked version changes: (bold for typing/code changes required)
      • aiohttp (3.9.5 → 3.10.5)
      • attrs (23.2 → 24.2)
      • typeguard (2.10 → 4.3.0)
      • pyzmq (25.1.2 → 26.2.0)
      • asyncpg (0.27.0 → 0.29.0)
      • textual (0.59.4 → 0.79.1) – fix: Installer regression after upgrading Textual #2867
      • pydantic (2.6.4 → 2.9.2)
      • hiredis (2.2.3 → 3.0.0)
      • msgpack (1.0.5rc1 → 1.1.0)
      • yarl (1.9.x → 1.11.1)
      • uvloop (0.19.0 → 0.20.0)
    • Regenerate lockfiles
  • Upgrade tool dependencies (tools/*-requirements.txt)
    • Regenerate lockfiles
  • Fix up newly found type check errors
    • Update type annotations and defaults for the ssl parameter passed to aiohttp client APIs: use False instead of None.
    • Use the officially provided aiohttp.typedefs.Middleware instead of custom-defined one.
  • Fix up newly occurring test failures
    • Replace common.types.check_typed_dict() with typeguard.check_type() as typeguard has the intrinsic support for typed dicts.
  • Upgrade krunner packages (static-gnu, alpine)
  • doc: Update mentions on Python versions and indygreg builds in docs and READMEs.
  • Let pants test :: skip the tests marked as "integration" (@pytest.mark.integration) by default, unless the user gives an explicit --integration custom CLI option when executing the pytest.
    • This will lower the bar for new contributors without making them embarrassed.
    • To enable it, pass it as pytest arguments like pants test :: -- --integration.

Reference: #2449

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue
  • Documentation

@achimnol achimnol added this to the 24.03 milestone Sep 20, 2024
@achimnol achimnol added type:maintenance Maintenance issue. area:upstream Issues with root cause from upstream 3rd parties comp:installer Related to Installer impact:invisible This change is invisible to users (internal changes). labels Sep 20, 2024
@achimnol achimnol self-assigned this Sep 20, 2024
@achimnol achimnol added the require:pants-export Dependencies updated. You need to run `pants export --resolve=python-default` to make it working. label Sep 20, 2024
@achimnol achimnol added the area:infrastructure Infrastructure-related issues label Sep 20, 2024
- Now it does not accept None but just a boolean to enable or disable
  certificate checks.
- typeguard now correctly handles TypedDict.
@achimnol
Copy link
Member Author

Confirmed working of manager-agent with a simple session creation and ssh connection into it.

@achimnol achimnol added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit ce581d1 Sep 20, 2024
23 checks passed
@achimnol achimnol deleted the chore/upgrade-dependencies branch September 20, 2024 14:11
Copy link

Backport to 24.03 is failed. Please backport manually.

achimnol added a commit that referenced this pull request Sep 20, 2024
Backported-from: main (24.09)
Backported-to: 24.03
Backport-of: 2851
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:infrastructure Infrastructure-related issues area:upstream Issues with root cause from upstream 3rd parties comp:installer Related to Installer impact:invisible This change is invisible to users (internal changes). require:pants-export Dependencies updated. You need to run `pants export --resolve=python-default` to make it working. type:maintenance Maintenance issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant