diff --git a/.github/workflows/cli_test.yaml b/.github/workflows/cli_test.yaml
index d03d81d..49d5e15 100644
--- a/.github/workflows/cli_test.yaml
+++ b/.github/workflows/cli_test.yaml
@@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: "3.9"
+ python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
diff --git a/.github/workflows/deploy_docs.yaml b/.github/workflows/deploy_docs.yaml
index 9c490a2..2c020cb 100644
--- a/.github/workflows/deploy_docs.yaml
+++ b/.github/workflows/deploy_docs.yaml
@@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: "3.9"
+ python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml
index 8196839..81ddc8d 100644
--- a/.github/workflows/integration_test.yaml
+++ b/.github/workflows/integration_test.yaml
@@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: "3.9"
+ python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 7e1eeaf..5b98f7f 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.9", "3.10", "3.11", "3.12"]
+ python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
diff --git a/docs/async_orm.md b/docs/async_orm.md
index 6a6d512..94edae0 100644
--- a/docs/async_orm.md
+++ b/docs/async_orm.md
@@ -8,7 +8,7 @@ environment.
### Requirements
-- Python 3.9+
+- Python 3.10+
- PyNest (latest version)
- SQLAlchemy < 2.0
- async driver for your database (e.g. asyncpg for PostgreSQL, aiomysql for MySQL, or aiosqlite for SQLite)
diff --git a/docs/blank.md b/docs/blank.md
index c6ea9aa..d27046a 100644
--- a/docs/blank.md
+++ b/docs/blank.md
@@ -6,7 +6,7 @@ This documentation introduces a creation of the simplest Pynest Application.
### Requirements
-- Python 3.9+
+- Python 3.10+
- PyNest (latest version)
## Setting Up
diff --git a/docs/getting_started.md b/docs/getting_started.md
index b32278b..218bd4a 100644
--- a/docs/getting_started.md
+++ b/docs/getting_started.md
@@ -4,7 +4,7 @@ This guide will help you get started with setting up a new PyNest project, creat
## Installation
-To install PyNest, ensure you have Python 3.9+ installed. Then, install PyNest using pip:
+To install PyNest, ensure you have Python 3.10+ installed. Then, install PyNest using pip:
```bash
pip install pynest-api
diff --git a/docs/mongodb.md b/docs/mongodb.md
index 85cd40b..d4e1cd4 100644
--- a/docs/mongodb.md
+++ b/docs/mongodb.md
@@ -8,7 +8,7 @@ programming environment and leveraging the great capabilities of mongodb and it'
### Requirements
-- Python 3.9+
+- Python 3.10+
- PyNest (latest version)
- beanie
- motor
@@ -311,4 +311,4 @@ Now you can access the application at http://localhost:8000/docs and test the en
-
\ No newline at end of file
+
diff --git a/docs/sync_orm.md b/docs/sync_orm.md
index b69b251..e91405c 100644
--- a/docs/sync_orm.md
+++ b/docs/sync_orm.md
@@ -6,7 +6,7 @@ This example will demonstrate a simple PyNest application with Postgres as the d
### Requirements
-- Python 3.9+
+- Python 3.10+
- PyNest (latest version)
- SQLAlchemy 2.0
@@ -277,4 +277,3 @@ Now you can access the application at http://localhost:8000/docs and test the en
Application Example With Async ORM →
-
diff --git a/nest/__init__.py b/nest/__init__.py
index 906d362..43c4ab0 100644
--- a/nest/__init__.py
+++ b/nest/__init__.py
@@ -1 +1 @@
-__version__ = "0.6.0"
+__version__ = "0.6.1"
diff --git a/nest/cli/templates/relational_db_template.py b/nest/cli/templates/relational_db_template.py
index f915076..487c83e 100644
--- a/nest/cli/templates/relational_db_template.py
+++ b/nest/cli/templates/relational_db_template.py
@@ -64,20 +64,20 @@ class {self.capitalized_name}(config.Base):
"""
def generate_requirements_file(self) -> str:
- return f"""anyio==3.6.2
-click==8.1.3
-fastapi==0.95.1
-fastapi-utils==0.2.1
-greenlet==2.0.2
-h11==0.14.0
-idna==3.4
-pydantic==1.10.7
-python-dotenv==1.0.0
-sniffio==1.3.0
-SQLAlchemy==1.4.48
-starlette==0.26.1
-typing_extensions==4.5.0
-uvicorn==0.22.0
+ return f"""anyio==4.12.1
+click==8.1.8
+fastapi==0.136.3
+fastapi-utils==0.8.0
+greenlet==3.2.4
+h11==0.16.0
+idna==3.11
+pydantic==2.12.4
+python-dotenv==1.2.1
+sniffio==1.3.1
+SQLAlchemy==2.0.44
+starlette==1.1.0
+typing_extensions==4.15.0
+uvicorn==0.38.0
pynest-api=={version}
"""
diff --git a/pyproject.toml b/pyproject.toml
index 4b8da1f..b2e7aa2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,17 +4,16 @@ build-backend = "hatchling.build"
[project]
name = "pynest-api"
-version = "0.6.0"
+version = "0.6.1"
description = "PyNest is a FastAPI Abstraction for building microservices, influenced by NestJS."
authors = [
{ name = "itay.dar", email = "itay2803@gmail.com" },
]
readme = "README.md"
-requires-python = ">=3.9"
+requires-python = ">=3.10"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
@@ -29,7 +28,7 @@ dependencies = [
"injector>=0.22.0,<0.23.0",
"astor>=0.8.1,<0.9.0",
"pyyaml>=6.0.2,<7.0.0",
- "fastapi>=0.115.4,<0.116.0",
+ "fastapi>=0.136.3,<0.137.0",
"pydantic>=2.9.2,<3.0.0",
"uvicorn>=0.32.0,<0.33.0",
"black>=24.10.0,<25.0.0",