-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from statisticsnorway/restrict-numpy
Remove Spark workaround. Loosen pyarrow constraints
- Loading branch information
Showing
13 changed files
with
1,381 additions
and
1,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.unittestArgs": [ | ||
"-v", | ||
"-s", | ||
"./tests", | ||
"-p", | ||
"test*.py" | ||
], | ||
"python.testing.pytestEnabled": false, | ||
"python.testing.unittestEnabled": true | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "dapla-toolbelt" | ||
version = "2.0.17" | ||
version = "2.0.18" | ||
description = "Dapla Toolbelt" | ||
authors = ["Dapla Developers <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -17,7 +17,7 @@ Changelog = "https://github.com/statisticsnorway/dapla-toolbelt/releases" | |
[tool.poetry.dependencies] | ||
python = ">=3.10,<4.0" | ||
requests = ">=2.27.1" | ||
pyarrow = ">=14.0.2, <15" # This tight constraint is dependent on fixing https://issues.apache.org/jira/browse/ARROW-7867 | ||
pyarrow = ">=14.0.2" | ||
pandas = { version = ">=1.4.2", extras = ["excel", "xml"] } | ||
gcsfs = ">=2022.7.1" | ||
ipython = ">=8.10.0" | ||
|
@@ -78,6 +78,10 @@ warn_unreachable = true | |
pretty = true | ||
show_column_numbers = true | ||
show_error_context = true | ||
disallow_untyped_calls = false | ||
# the above is added due to Google libs being untyped | ||
# note that this *does* enforce typing functions defined in dapla-toolbelt, | ||
# but it allows calling untyped functions in a typed context. | ||
|
||
[[tool.mypy.overrides]] | ||
# Allow missing type hints in third-party libraries without type information. | ||
|
@@ -87,6 +91,7 @@ module = [ | |
"fsspec.*", | ||
"responses.*", | ||
"tomli.*", | ||
"google.*", | ||
"google.cloud.*", | ||
] | ||
ignore_missing_imports = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters