Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cli_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/async_orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/blank.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -311,4 +311,4 @@ Now you can access the application at http://localhost:8000/docs and test the en
<a href="/PyNest/introduction" class="md-footer-nav__link">
<span>Introduction &rarr;</span>
</a>
</nav>
</nav>
3 changes: 1 addition & 2 deletions docs/sync_orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -277,4 +277,3 @@ Now you can access the application at http://localhost:8000/docs and test the en
<span>Application Example With Async ORM &rarr;</span>
</a>
</nav>

2 changes: 1 addition & 1 deletion nest/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0"
__version__ = "0.6.1"
28 changes: 14 additions & 14 deletions nest/cli/templates/relational_db_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
"""

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Loading