Bump dependencies #6312

Merged
Jackenmen merged 11 commits from bump_deps_2024_03_18 into V3/develop 2024-03-21 19:28:22 +01:00
Jackenmen commented 2024-03-21 03:14:51 +01:00 (Migrated from github.com)

Description of the changes

This PR does a few things:

  • drops aiodns dependency
  • bumps all dependencies before release as usual
    • this doesn't include Black 24 bump which affects code style
    • this required setting an upper-bound for pytest-asyncio to 0.21.* (+ pytest <8 due to incompatibility) - there is a known issue with 0.23.* on the upstream side for now
  • updates scripts for generating dependency lists to consider differences between Python versions

Have the changes in this PR been tested?

Partially yes, see results:

Test run of updated install instructions:

### Description of the changes This PR does a few things: - drops `aiodns` dependency - While aiohttp does have an aiodns implementation, it has been disabling it unconditionally for the last 8 years: https://github.com/aio-libs/aiohttp/commit/9fbb7d708375e0ba01d435c1e8cf41912381c0fc - bumps all dependencies before release as usual - this doesn't include Black 24 bump which affects code style - this required setting an upper-bound for pytest-asyncio to `0.21.*` (+ pytest <8 due to incompatibility) - there is a known issue with `0.23.*` on the upstream side for now - updates scripts for generating dependency lists to consider differences between Python versions ### Have the changes in this PR been tested? Partially yes, see results: Test run of updated install instructions: - macOS x86_64 12 and 13 (14 on GitHub is M1 so same as Cirrus CI): https://github.com/Jackenmen/Red-Install-Tests/actions/runs/8369137984 - everything else: https://cirrus-ci.com/build/4744265834692608
Kowlin (Migrated from github.com) reviewed 2024-03-21 03:14:51 +01:00
Jackenmen commented 2024-03-21 03:19:45 +01:00 (Migrated from github.com)

Postgres is failing hard with asyncpg v0.29.0, it seems.

Postgres is failing hard with asyncpg v0.29.0, it seems.
Jackenmen commented 2024-03-21 04:16:04 +01:00 (Migrated from github.com)

Alright, I figured it out, it had nothing to do with asyncpg and everything to do with the testing framework (or more specifically, pytest-asyncio plugin). I added an upper-bound for relevant packages and we can reevaluate it in the future since it's classified as an upstream issue.

Alright, I figured it out, it had nothing to do with asyncpg and everything to do with the testing framework (or more specifically, pytest-asyncio plugin). I added an upper-bound for relevant packages and we can reevaluate it in the future since it's classified as an upstream issue.
Flame442 (Migrated from github.com) approved these changes 2024-03-21 08:19:43 +01:00
Flame442 (Migrated from github.com) left a comment

Technically it isn't against our version guarantees, but removing dependencies has the potential to break 3rd party cogs. pytz is currently used by at least Trusty and Aika, though both include it in requirements.txt. I didn't do a super exhaustive search, so I don't know if there are others that don't explicitly include it. If that isn't something we are worried about, this can be merged.

Technically it isn't against our version guarantees, but removing dependencies has the potential to break 3rd party cogs. `pytz` is currently used by at least Trusty and Aika, though both include it in `requirements.txt`. I didn't do a super exhaustive search, so I don't know if there are others that don't explicitly include it. If that isn't something we are worried about, this can be merged.
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!6312
No description provided.