-
-
Notifications
You must be signed in to change notification settings - Fork 361
fix: resolve loading problem of frictionless + add the missing descri… #1996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ShootingStarD
wants to merge
6
commits into
unionai-oss:main
Choose a base branch
from
ShootingStarD:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
34fc1ab
fix: resolve loading problem of frictionless + add the missing descri…
79906c6
fix: update requirement.txt with new frictionless version
de11e05
fix: use correct format for pyproject toml
f0f289f
Merge branch 'main' into main
ShootingStarD a5ce40b
Update pandas_io.py
ShootingStarD 6954e01
fix: update frictionless version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -72,4 +72,4 @@ repos: | |
| hooks: | ||
| - id: codespell | ||
| additional_dependencies: | ||
| - tomli | ||
| - tomli | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -8,12 +8,10 @@ version_file = "pandera/_version.py" | |
| [project] | ||
| name = "pandera" | ||
| dynamic = ["version"] | ||
| authors = [ | ||
| {name = "Niels Bantilan", email = "[email protected]"}, | ||
| ] | ||
| authors = [{ name = "Niels Bantilan", email = "[email protected]" }] | ||
| description = "A light-weight and flexible data validation and testing tool for statistical data objects." | ||
| readme = "README.md" | ||
| license = {file = "LICENSE.txt"} | ||
| license = { file = "LICENSE.txt" } | ||
| requires-python = ">=3.9" | ||
| keywords = ["pandas", "validation", "data-structures"] | ||
| classifiers = [ | ||
|
|
@@ -43,55 +41,26 @@ Documentation = "https://pandera.readthedocs.io" | |
| Homepage = "https://github.com/pandera-dev/pandera" | ||
|
|
||
| [project.optional-dependencies] | ||
| pandas = [ | ||
| "numpy >= 1.24.4", | ||
| "pandas >= 2.1.1", | ||
| ] | ||
| strategies = [ | ||
| "hypothesis >= 6.92.7", | ||
| ] | ||
| hypotheses = [ | ||
| "scipy", | ||
| ] | ||
| io = [ | ||
| "pyyaml >= 5.1", | ||
| "black", | ||
| "frictionless <= 4.40.8", | ||
| ] | ||
| pandas = ["numpy >= 1.24.4", "pandas >= 2.1.1"] | ||
| strategies = ["hypothesis >= 6.92.7"] | ||
| hypotheses = ["scipy"] | ||
| io = ["pyyaml >= 5.1", "black", "frictionless >= 5.18.1"] | ||
| mypy = ["pandas-stubs"] | ||
| fastapi = ["fastapi"] | ||
| geopandas = [ | ||
| "geopandas", | ||
| "shapely", | ||
| ] | ||
| geopandas = ["geopandas", "shapely"] | ||
| pyspark = ["pyspark[connect] >= 3.2.0"] | ||
| modin = [ | ||
| "modin", | ||
| "ray", | ||
| "dask[dataframe]", | ||
| "distributed", | ||
| ] | ||
| modin-ray = [ | ||
| "modin", | ||
| "ray", | ||
| ] | ||
| modin-dask = [ | ||
| "modin", | ||
| "dask[dataframe]", | ||
| "distributed", | ||
| ] | ||
| dask = [ | ||
| "dask[dataframe]", | ||
| "distributed", | ||
| ] | ||
| modin = ["modin", "ray", "dask[dataframe]", "distributed"] | ||
| modin-ray = ["modin", "ray"] | ||
| modin-dask = ["modin", "dask[dataframe]", "distributed"] | ||
| dask = ["dask[dataframe]", "distributed"] | ||
|
|
||
| polars = ["polars >= 0.20.0"] | ||
| all = [ | ||
| "hypothesis >= 6.92.7", | ||
| "scipy", | ||
| "pyyaml >= 5.1", | ||
| "black", | ||
| "frictionless <= 4.40.8", | ||
| "frictionless >= 5.18.1", | ||
| "pyspark[connect] >= 3.2.0", | ||
| "modin", | ||
| "ray", | ||
|
|
@@ -121,12 +90,7 @@ dev = [ | |
| "python-multipart", | ||
| "uv", | ||
| ] | ||
| testing = [ | ||
| "pytest", | ||
| "pytest-cov", | ||
| "pytest-xdist", | ||
| "pytest-asyncio", | ||
| ] | ||
| testing = ["pytest", "pytest-cov", "pytest-xdist", "pytest-asyncio"] | ||
| docs = [ | ||
| "sphinx", | ||
| "sphinx-design", | ||
|
|
@@ -147,7 +111,7 @@ docs = [ | |
|
|
||
| [tool.setuptools] | ||
| packages = ["pandera"] | ||
| package-data = {"pandera" = ["py.typed"]} | ||
| package-data = { "pandera" = ["py.typed"] } | ||
|
|
||
| [tool.pyright] | ||
| include = ["pandera", "tests"] | ||
|
|
@@ -159,22 +123,11 @@ log_cli_level = 20 | |
|
|
||
| [tool.ruff] | ||
| line-length = 120 | ||
| extend-exclude = [ | ||
| "setup.py", | ||
| ".venv", | ||
| ".nox", | ||
| ".git", | ||
| "asv_bench", | ||
| ] | ||
| extend-exclude = ["setup.py", ".venv", ".nox", ".git", "asv_bench"] | ||
|
|
||
| [tool.black] | ||
| line-length = 79 | ||
| target-version = [ | ||
| 'py39', | ||
| 'py310', | ||
| 'py311', | ||
| 'py312', | ||
| ] | ||
| target-version = ['py39', 'py310', 'py311', 'py312'] | ||
| include = '\.pyi?$' | ||
| exclude = ''' | ||
| ( | ||
|
|
@@ -187,4 +140,4 @@ exclude = ''' | |
| ''' | ||
|
|
||
| [tool.codespell] | ||
| ignore-words-list = ["notin", "splitted", "fo", "strat"] | ||
| ignore-words-list = ["notin", "splitted", "fo", "strat"] | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert formatting changes to this file, it's not relevant to the PR. Will also need to document that pandera only supports frictionless >= 5.18.1 after these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, sorry my vscode used ruff as autoformater