Skip to content

A programming framework for agentic AI

fix version (#430)

Jack Gerrits4faa5980fbf4
diff --git a/python/packages/autogen-core/pyproject.toml b/python/packages/autogen-core/pyproject.toml
index 4d082a87d..973387f9a 100644
--- a/python/packages/autogen-core/pyproject.toml
+++ b/python/packages/autogen-core/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "autogen-core"
-version = "0.3.0dev1"
+version = "0.3.dev0"
description = "Foundational interfaces and agent runtime implementation for AutoGen"
readme = "README.md"
requires-python = ">=3.10"
@@ -27,45 +27,38 @@ dependencies = [
[tool.uv]
dev-dependencies = [
- "azure-identity",
"aiofiles",
+ "azure-identity",
"chess",
"colorama",
- "langgraph",
+ "furo",
"langchain-openai",
+ "langgraph",
+ "llama-index-embeddings-azure-openai",
+ "llama-index-llms-azure-openai",
"llama-index-readers-web",
"llama-index-readers-wikipedia",
"llama-index-tools-wikipedia",
- "llama-index-embeddings-azure-openai",
- "llama-index-llms-azure-openai",
"llama-index",
"markdownify",
- "mypy==1.10.0",
+ "myst-nb",
+ "nbqa",
"pip",
"polars",
- "pytest-asyncio",
- "pytest-mock",
- "pytest-xdist",
- "pytest",
"python-dotenv",
"requests",
- "ruff==0.4.8",
+ "sphinx-autobuild",
+ "sphinx",
+ "sphinxcontrib-apidoc",
"tavily-python",
"textual-dev",
"textual-imageview",
"textual",
- "tiktoken",
"types-aiofiles",
"types-pillow",
"types-protobuf",
"types-requests",
"wikipedia",
- "nbqa",
- "sphinx",
- "furo",
- "sphinxcontrib-apidoc",
- "myst-nb",
- "sphinx-autobuild",
]
diff --git a/python/templates/new-package/cookiecutter.json b/python/templates/new-package/cookiecutter.json
index 956f42f74..254c5bd50 100644
--- a/python/templates/new-package/cookiecutter.json
+++ b/python/templates/new-package/cookiecutter.json
@@ -1,6 +1,6 @@
{
"package_name": "my-project",
- "version": "0.1.0dev",
+ "version": "0.1.dev0",
"description": "My package description",
"depends_on_core": false,
"__final_destination": "../packages",
diff --git a/python/templates/new-package/hooks/pre_gen_project.py b/python/templates/new-package/hooks/pre_gen_project.py
index 188546624..3e1b246e6 100644
--- a/python/templates/new-package/hooks/pre_gen_project.py
+++ b/python/templates/new-package/hooks/pre_gen_project.py
@@ -14,7 +14,7 @@ if not re.match(MODULE_REGEX, package_name):
packaging_version = '{{ cookiecutter.version }}'
# Check version format using version.VERSION_PATTERN
-if not re.match(version.VERSION_PATTERN, packaging_version):
+if not re.match(version.VERSION_PATTERN, packaging_version, re.VERBOSE | re.IGNORECASE):
print(f'ERROR: "{packaging_version}" is not a valid version string')
at_least_one_error = True