Skip to content

Update dependencies#499

Merged
victorlin merged 3 commits intomasterfrom
victorlin/update-dependencies
Mar 27, 2026
Merged

Update dependencies#499
victorlin merged 3 commits intomasterfrom
victorlin/update-dependencies

Conversation

@victorlin
Copy link
Member

@victorlin victorlin commented Dec 31, 2025

Description of proposed changes

This PR improves dependency declarations for fsspec, boto3, and wrapt. See commits for details.

Related issue(s)

Closes #496

Checklist

  • Checks pass
  • pip doesn't do any crazy backtracking (ref)
  • Update changelog

@victorlin victorlin self-assigned this Dec 31, 2025
@victorlin victorlin force-pushed the victorlin/update-dependencies branch from b0e88ba to a4fea46 Compare December 31, 2025 01:59
@victorlin victorlin added the blocked Dependent on external development label Jan 7, 2026
@victorlin victorlin force-pushed the victorlin/update-dependencies branch from a4fea46 to 2e3e9df Compare February 11, 2026 00:04
@victorlin victorlin removed the blocked Dependent on external development label Feb 11, 2026
@victorlin victorlin force-pushed the victorlin/update-dependencies branch from 2e3e9df to 5ee1952 Compare February 11, 2026 00:06
@victorlin victorlin force-pushed the victorlin/update-dependencies branch from 5ee1952 to 6fe753c Compare March 20, 2026 20:45
victorlin and others added 3 commits March 25, 2026 14:44
fsspec was initially added without the [s3] extra due to its recent
addition.¹ It's been around for nearly 5 years now, so it should be safe.

In addition, the boto3 dependency can be resolved without issues by
newer versions of pip. Our minimum pip version target is whatever is
bundled with Python 3.8, checked via CI.

¹ "Declare dependency on s3fs since we use fsspec's S3 support" (d1e54c3)
Version 1 was implicitly resolved with the s3fs[boto3] pin removed in
the previous commit. It must be explicitly pinned since version 2
affects usage in two ways:

1. It renames ObjectProxy to BaseObjectProxy.
2. It adds type stubs, but only for Python >=3.10. Since Pyright is
   configured to target 3.8, it would error with v2 upon finding a stubs
   file without a type definition for the import.

https://wrapt.readthedocs.io/en/latest/changes.html#version-2-0-0
Version 2 renames ObjectProxy to BaseObjectProxy. It also adds a type
stubs file, but only defines types for Python >=3.10. Since Pyright is
configured to target 3.8, a comment is added to ignore the error caused
by lack of type definitions.

https://wrapt.readthedocs.io/en/latest/changes.html#version-2-0-0
@victorlin victorlin force-pushed the victorlin/update-dependencies branch from 6fe753c to 87ad32f Compare March 25, 2026 21:45
Copy link
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

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

Thanks for following up on the various dependency pins!

@victorlin victorlin merged commit 7e56d05 into master Mar 27, 2026
59 checks passed
@victorlin victorlin deleted the victorlin/update-dependencies branch March 27, 2026 00:00
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.

Revisit fsspec/boto3 dependency declarations

2 participants