File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 60
60
project_id : siuba-tests
61
61
service_account_key : ${{ secrets.GCP_SA_KEY }}
62
62
export_default_credentials : true
63
-
64
63
- name : Run tests
65
64
shell : bash
66
65
run : |
Original file line number Diff line number Diff line change 1
- version : ' 3.1'
2
-
3
1
services :
4
2
5
3
rsconnect :
Original file line number Diff line number Diff line change 26
26
27
27
BOARD_CONFIG = {
28
28
"file" : {"path" : ["PINS_TEST_FILE__PATH" , None ]},
29
- "s3" : {"path" : ["PINS_TEST_S3__PATH" , "ci- pins" ]},
29
+ "s3" : {"path" : ["PINS_TEST_S3__PATH" , "pins-test-hadley " ]},
30
30
"gcs" : {"path" : ["PINS_TEST_GCS__PATH" , "pins-python" ]},
31
31
"abfs" : {"path" : ["PINS_TEST_AZURE__PATH" , "ci-pins" ]},
32
32
"rsc" : {"path" : ["PINS_TEST_RSC__PATH" , RSC_SERVER_URL ]},
@@ -65,7 +65,10 @@ def wrapper(*args, **kwargs):
65
65
board = arg_value
66
66
break
67
67
68
- if board and board .fs .protocol == "dbc" :
68
+ if board and (
69
+ board .fs .protocol == "dbc"
70
+ or (hasattr (board .fs , "fs" ) and board .fs .fs .protocol == "dbc" )
71
+ ):
69
72
pytest .skip ("All Databricks tests must be read only" )
70
73
71
74
return func (* args , ** kwargs )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ requires-python = ">=3.9"
21
21
dynamic = [" version" ]
22
22
dependencies = [
23
23
" appdirs<2" , # Using appdirs rather than platformdirs is deliberate, see https://github.com/rstudio/pins-python/pull/239
24
- " fsspec>=2022.2" ,
24
+ " fsspec>=2022.2,<2025.9 " ,
25
25
" humanize>=1" ,
26
26
" importlib-metadata>=4.4" ,
27
27
" importlib-resources>=1.3" ,
@@ -37,13 +37,13 @@ dependencies = [
37
37
38
38
[project .optional-dependencies ]
39
39
aws = [" s3fs" ]
40
- azure = [" adlfs" ]
40
+ azure = [" adlfs>=2024.4.1 " ]
41
41
check = [
42
42
" pre-commit" ,
43
43
" pyright==1.1.372" , # Pinned; manually sync with .github/workflows/code-checks.yml
44
44
" ruff==0.5.4" , # Pinned; manually sync with pre-commit-config.yaml
45
45
" types-appdirs" ,
46
- " databricks-sdk "
46
+ " pins[ databricks] "
47
47
]
48
48
databricks = [" databricks-sdk" ]
49
49
doc = [
@@ -55,18 +55,18 @@ doc = [
55
55
]
56
56
gcs = [" gcsfs" ]
57
57
test = [
58
- " adlfs>=2024.4.1" ,
58
+ " pins[azure]" ,
59
+ " pins[gcs]" ,
60
+ " pins[databricks]" ,
61
+ " pins[aws]" ,
59
62
" fastparquet" ,
60
- " gcsfs" ,
61
63
" pip-tools" ,
62
64
" pyarrow" ,
63
65
" pytest==7.1.3" ,
64
66
" pytest-cases" ,
65
67
" pytest-dotenv" ,
66
68
" pytest-parallel" ,
67
- " s3fs" ,
68
69
" rdata" ,
69
- " databricks-sdk" ,
70
70
]
71
71
72
72
[build-system ]
You can’t perform that action at this time.
0 commit comments