You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Migrate dependency management to Poetry (#247)
**Signed-off-by:** Areeb Ahmed
[[email protected]](mailto:[email protected])
## Summary of Changes
**Fixes:** #154
- Replaced `requirements.txt` with `pyproject.toml` and `poetry.lock`
- Added all dependencies to `pyproject.toml` using Poetry
- Updated CI configuration to use Poetry for installing dependencies
- Updated `README.md` and `INSTALL.md` to reflect the new dependency
management process
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ PostgreSQL is used as the backend database.
20
20
21
21
# Dev
22
22
23
-
You should create unit tests for each new feature or API change (see [test_main.py](https://github.com/openfoodfacts/folksonomy_api/blob/main/tests/test_main.py)).
23
+
You should create unit tests for each new feature or API change (see [test_main.py](https://github.com/openfoodfacts/folksonomy_api/blob/main/tests/test_main.py)).
24
24
To run tests just launch:
25
25
```bash
26
26
PYTHONASYNCIODEBUG=1 pytest tests/ folksonomy/
@@ -41,8 +41,8 @@ FastAPI is based on [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (pre
41
41
42
42
# How to install Folksonomy Engine on your local machine
43
43
44
-
1. Install Python 3.8+
45
-
2. Install pip
44
+
1. Install Python 3.9+
45
+
2. Install Poetry
46
46
3. Install PostgreSQL 13+
47
47
4. Follow the steps in [INSTALL.md](https://github.com/openfoodfacts/folksonomy_api/blob/main/INSTALL.md) to install requirements and for creating a db user
48
48
5. Make a copy of [local_settings_example.py](https://github.com/openfoodfacts/folksonomy_api/blob/main/local_settings_example.py) and rename it to *local_settings.py*
0 commit comments