-
Notifications
You must be signed in to change notification settings - Fork 2
refactor: fix pyproject specification & use uv
#10
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
Conversation
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
| requires-python = ">=3.8" | ||
| license = "Apache-2.0" | ||
| license-files = ["LICENSE"] | ||
| requires-python = ">=3.9" |
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.
pandas==2.2.2 requires Python 3.9.
| # FIXME: Currently, we are building against sqlalchemy 2.0, which is also sqlalchemy-risingwave 1.1.1 | ||
| # depends on. However, there's still some compatibility issues unresolved. | ||
| # We should either: | ||
| # 1. Rewrite this library to use sqlalchemy-risingwave 1.4.0, which depends on sqlalchemy 1.4. | ||
| # 2. Wait for sqlalchemy-risingwave 2.0.0 to be released, which will depend on sqlalchemy 2.0 and | ||
| # resolve the compatibility issues. (https://github.com/risingwavelabs/sqlalchemy-risingwave/issues/22) | ||
| "sqlalchemy-risingwave==1.1.1", |
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.
Something worth noting.
| [dependency-groups] | ||
| dev = [ | ||
| "psycopg2-binary>=2.9.9", | ||
| "websocket-client>=1.8.0", | ||
| ] |
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.
To get rid of requirements-dev.txt.
|
|
||
|
|
||
| [projects.urls] | ||
| [project.urls] |
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.
Incorrect key
|
|
||
| from sqlalchemy import create_engine, Engine, text, Connection | ||
| from sqlalchemy import create_engine, text | ||
| from sqlalchemy.engine import Connection, Engine |
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.
Incorrect typing imports.
| except Exception as e: | ||
| ee = e | ||
| logging.warn(f"retrying function, exception: {e}, {traceback.format_exc()}") | ||
| logging.warning(f"retrying function, exception: {e}, {traceback.format_exc()}") |
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.
Deprecated function.
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.
Vendor uv.lock to demonstrate all indirect dependencies
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.
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Files not reviewed (1)
- requirements-dev.txt: Language not supported
This stack of pull requests is managed by Graphite. Learn more about stacking. |
uv
Signed-off-by: Bugen Zhao <[email protected]>

Signed-off-by: Bugen Zhao [email protected]
This PR
uvpackage manager for modern developer experience