Commit 59b6496
authored
feat: set fsspec as default source (#1023)
* feat: add fsspec as required dependency (#1021)
* fsspec requirements
* simplify fsspec import
* use loop property
* correctly create schemes list
* remove deprecated handlers from docs
* simplify source selection
* return object source
* pickle executor
* rename test
* test more handlers
* option to check writeable file-like object
* rename test
* explicitly set handler
* fix s3 source
* rename test
* Revert "fix s3 source"
This reverts commit e76fdbb.
* sesparate PR for s3 fix (#1024)
* strip file://
* rename test
* rename tests
* add aiohttp skip
* attempt to parse windows paths
* test ci
* Revert "test ci"
This reverts commit 4c1c8a5.
* rename test
* remove fsspec from test
* remove *_handler options
* update defaults
* do not override default s3
* do not use fsspec for multiprocessing
* rename test
* fix not selecting object source
* missing import
* normalize doc
* remove helper
* never return None as source
* remove unnecessary xrootd source default override since fsspec is default now
* rename test
* add empty class to pass old pickle test1 parent 472be82 commit 59b6496
File tree
18 files changed
+85
-232
lines changed- src/uproot
- behaviors
- source
- tests
18 files changed
+85
-232
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | 357 | | |
| 358 | + | |
361 | 359 | | |
362 | 360 | | |
363 | 361 | | |
364 | 362 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
378 | 368 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
| 369 | + | |
| 370 | + | |
383 | 371 | | |
384 | | - | |
385 | | - | |
| 372 | + | |
386 | 373 | | |
387 | 374 | | |
388 | 375 | | |
389 | 376 | | |
390 | 377 | | |
391 | 378 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
| 379 | + | |
| 380 | + | |
414 | 381 | | |
415 | 382 | | |
416 | 383 | | |
| |||
442 | 409 | | |
443 | 410 | | |
444 | 411 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
| 412 | + | |
| 413 | + | |
461 | 414 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 415 | + | |
468 | 416 | | |
469 | 417 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
492 | 421 | | |
493 | 422 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
515 | 426 | | |
516 | 427 | | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
544 | 431 | | |
545 | | - | |
| 432 | + | |
546 | 433 | | |
547 | 434 | | |
548 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 156 | | |
162 | 157 | | |
163 | 158 | | |
| |||
327 | 322 | | |
328 | 323 | | |
329 | 324 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 325 | | |
336 | 326 | | |
337 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
| |||
156 | 151 | | |
157 | 152 | | |
158 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
159 | 166 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
196 | 170 | | |
197 | 171 | | |
198 | 172 | | |
| |||
536 | 510 | | |
537 | 511 | | |
538 | 512 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | 513 | | |
545 | 514 | | |
546 | 515 | | |
| |||
571 | 540 | | |
572 | 541 | | |
573 | 542 | | |
574 | | - | |
| 543 | + | |
575 | 544 | | |
576 | 545 | | |
577 | 546 | | |
| |||
581 | 550 | | |
582 | 551 | | |
583 | 552 | | |
584 | | - | |
| 553 | + | |
585 | 554 | | |
586 | 555 | | |
587 | | - | |
| 556 | + | |
588 | 557 | | |
589 | 558 | | |
590 | 559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
File renamed without changes.
0 commit comments