Raise the minimum fsspec to 2024.5.0 in 2.4
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- build-system, testing
調査の方向性
pyproject.toml から始めます。fsspec、s3fs、gcsfs の下限を 2024.5.0 に設定し、adlfs に一致する下限が必要か確認します。#1686 を読んで、old-fsspec 分岐を削除できるようにするローカルパス正規化を確認し、test_path_confinement.py の 2024.5.0 より前のケースを簡素化します。新しい下限が宣言され、最小依存関係の CI ジョブが通り、パステストが古い fsspec の動作で分岐しなくなったら完了です。
索引モデルが issue の本文から書いたものです。
説明
Proposal
Raise the minimum fsspec from 2023.1.0 to 2024.5.0 in 2.4, and the storage extras with it (s3fs, gcsfs), which pin fsspec to their own version.
Why
Older fsspec resolves local paths differently from current releases, and the file-store code has to handle both:
- Before 2024.5.0,
LocalFileSystem._strip_protocol(".")keeps a trailing/.. A file store withlocation""or"."rejected every path because of it, which #1686 fixes by normalizing both sides of the comparison. - In fsspec 2023,
file:andlocal:without//are not read as a protocol, so the same path string names a different file than on current fsspec. The test intest_path_confinement.pyhad to be rewritten in #1686 to hold on both.
The minimum-dependency CI job catches these differences, but only after the fact. Every change to path handling has to be reasoned through on two fsspec behaviors. Releases from 2024.5.0 on behave the same as current fsspec in both respects.
Cost
- Users on
s3fsorgcsfsolder than 2024.5.0 upgrade them along with fsspec.s3fsin turn pinsaiobotocore, which pinsbotocore, so environments that hold an old boto stack would need to move it. adlfsdoes not pin fsspec exactly and is not affected beyond the fsspec floor itself.
Scope
- 2.4 only. 2.3.x keeps
fsspec>=2023.1.0: a patch release should not force dependency upgrades, and #1686 keeps the 2.3 line working on old fsspec. pyproject.toml:fsspec>=2024.5.0,s3fs>=2024.5.0,gcsfs>=2024.5.0; check whetheradlfsneeds a matching floor.- The minimum-dependency CI job picks up the new floor from
pyproject.toml. - Once the floor is raised, the old-fsspec branches of the path tests can be simplified.
- 主要言語
- Python
- スター
- 198
- フォーク
- 103
- 平均マージ
- 6日 1時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
datajoint/datajoint-python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
datajoint/datajoint-python#1703 ·
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
datajoint/datajoint-python#1702 ·
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
datajoint/datajoint-python#1701 ·
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
datajoint/datajoint-python#1691 ·
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
datajoint/datajoint-python#1668 ·
メンテナーはふだん 6 日以内に返信
datajoint/datajoint-python の issue をすべて見る
似ている issue
-
cognition
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
collabnix/awesome-mcp-lists#433 ·
メンテナーはふだん 4 日以内に返信
-
CrossEntropyFilter raises on zero probabilities and single-class results対応中かも @NopeCharon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Archmonger/ServeStatic#129 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信