Skip to content

Conversation

@BugenZhao
Copy link
Member

@BugenZhao BugenZhao commented Apr 7, 2025

Signed-off-by: Bugen Zhao [email protected]

This PR

  • corrects some project specification without introducing any behavior changes
  • switches to uv package manager for modern developer experience

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"
Copy link
Member Author

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.

Comment on lines +31 to +37
# 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",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something worth noting.

Comment on lines +53 to +57
[dependency-groups]
dev = [
"psycopg2-binary>=2.9.9",
"websocket-client>=1.8.0",
]
Copy link
Member Author

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]
Copy link
Member Author

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
Copy link
Member Author

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()}")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated function.

Copy link
Member Author

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

@BugenZhao BugenZhao changed the title fix: pyproject specification & lockfile fix: pyproject specification & vendor lockfile Apr 7, 2025
Copy link

Copilot AI left a 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

Copy link
Member Author

BugenZhao commented Apr 7, 2025

@BugenZhao BugenZhao changed the title fix: pyproject specification & vendor lockfile refactor: fix pyproject specification & use uv Apr 7, 2025
Signed-off-by: Bugen Zhao <[email protected]>
Copy link
Member Author

BugenZhao commented Apr 8, 2025

Merge activity

  • Apr 7, 11:45 PM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Apr 7, 11:45 PM EDT: A user merged this pull request with Graphite.

@BugenZhao BugenZhao merged commit d62c595 into main Apr 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants