Skip to content

Commit 87aa4c0

Browse files
authored
♻️ Replace Poetry by Hatch (#100)
1 parent dd62d8c commit 87aa4c0

File tree

7 files changed

+39
-1358
lines changed

7 files changed

+39
-1358
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
15-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
15+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1616
fail-fast: true
1717

1818
steps:
@@ -21,12 +21,10 @@ jobs:
2121
uses: actions/setup-python@v2
2222
with:
2323
python-version: ${{ matrix.python-version }}
24-
- name: Install Poetry
25-
run: pip install poetry
2624
- name: Install Dependencies
27-
run: poetry install
25+
run: python -m pip install -r requirements.txt
2826
- name: Test
29-
run: poetry run pytest tests/ --cov=manage_fastapi --cov-report=term-missing:skip-covered --cov-report=xml
27+
run: python -m pytest tests/ --cov=manage_fastapi --cov-report=term-missing:skip-covered --cov-report=xml
3028
- name: Upload coverage
3129
uses: codecov/codecov-action@v1
3230

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
## Installation 📌
4343

4444
* Prerequisites
45-
* Python 3.6 +
45+
* Python 3.7 +
4646

47-
Manage FastAPI can be installed by running
47+
Manage FastAPI can be installed by running
4848

4949
```python
50-
pip install manage-fastapi
50+
pip install manage-fastapi
5151
```
5252

5353

@@ -69,7 +69,7 @@ fastapi startproject [name] --interactive
6969

7070
## Command line options 🧰
7171

72-
Manage FastAPI provides three different commands.
72+
Manage FastAPI provides three different commands.
7373

7474
You can list them with
7575

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
## Installation
3636

37-
Manage FastAPI can be installed by running `pip install manage-fastapi`. It requires Python 3.6+ to run.
37+
Manage FastAPI can be installed by running `pip install manage-fastapi`. It requires Python 3.7+ to run.
3838

3939
## Usage
4040

manage_fastapi/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class PackageManager(BaseEnum):
2121

2222

2323
class PythonVersion(BaseEnum):
24-
THREE_DOT_SIX = "3.6"
2524
THREE_DOT_SEV = "3.7"
2625
THREE_DOT_EIG = "3.8"
2726
THREE_DOT_NIN = "3.9"

0 commit comments

Comments
 (0)