Raise the minimum fsspec to 2024.5.0 in 2.4
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- build-system, testing
Línea de trabajo
Empieza en pyproject.toml: establece los mínimos de fsspec, s3fs y gcsfs en 2024.5.0, y comprueba si adlfs necesita un mínimo equivalente. Lee #1686 para ver la normalización de rutas locales que permite eliminar las ramas de old-fsspec, y luego simplifica los casos anteriores a 2024.5.0 en test_path_confinement.py. Está terminado cuando se declaren los nuevos mínimos, pase el job de CI de dependencias mínimas y las pruebas de rutas ya no se bifurquen según el comportamiento antiguo de fsspec.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 198
- Forks
- 103
- Merge medio
- 6 d 1 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de datajoint/datajoint-python
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
datajoint/datajoint-python#1703 ·
Los mantenedores suelen responder en 6 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
datajoint/datajoint-python#1702 ·
Los mantenedores suelen responder en 6 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
datajoint/datajoint-python#1701 ·
Los mantenedores suelen responder en 6 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
datajoint/datajoint-python#1691 ·
Los mantenedores suelen responder en 6 días
-
bool() ignores dj.TopAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
datajoint/datajoint-python#1668 ·
Los mantenedores suelen responder en 6 días
Todos los issues de datajoint/datajoint-python
Issues similares
-
cognition
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
[Suggestion]: Geonode MCP ServerAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
collabnix/awesome-mcp-lists#433 ·
Los mantenedores suelen responder en 4 días
-
CrossEntropyFilter raises on zero probabilities and single-class resultsPosiblemente ocupada @NopeCharon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Archmonger/ServeStatic#129 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días