Skip to content

Commit 72d160e

Browse files
authored
chore(ci): Update repo files (#22)
1 parent b489a43 commit 72d160e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "langchain-google-cloud-sql-mysql"
3-
version = "0.0.1"
3+
dynamic = ["version"]
44
description = "LangChain integrations for Google Cloud SQL for MySQL"
55
readme = "README.md"
66
license = {file = "LICENSE"}
@@ -11,6 +11,9 @@ dependencies = [
1111
"cloud-sql-python-connector[pymysql]==1.5.0"
1212
]
1313

14+
[tool.setuptools.dynamic]
15+
version = {attr = "langchain_google_cloud_sql_mysql.version.__version__"}
16+
1417
[project.urls]
1518
Homepage = "https://github.com/googleapis/langchain-google-cloud-sql-mysql-python"
1619
Repository = "https://github.com/googleapis/langchain-google-cloud-sql-mysql-python.git"

src/langchain_google_cloud_sql_mysql/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
MySQLDocumentSaver,
2121
MySQLLoader,
2222
)
23+
from langchain_google_cloud_sql_mysql.version import __version__
2324

2425
__all__ = [
2526
"MySQLChatMessageHistory",
2627
"MySQLDocumentSaver",
2728
"MySQLEngine",
2829
"MySQLLoader",
30+
__version__,
2931
]

.github/.Owlbot.yaml renamed to src/langchain_google_cloud_sql_mysql/version.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
docker:
16-
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
17-
18-
begin-after-commit-hash: 70f7f0525414fe4dfeb2fc2e81546b073f83a621
15+
__version__ = "0.1.0"

0 commit comments

Comments
 (0)