Repository: dstackai/gpuhunt (language: python)

Issue:
Suggest to move requirements_dev.txt inside pyproject.toml
Hi!
I think it is consistent way to store requirements.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 925ccde..fff2599 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,8 +42,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install '.[all]'
-          pip install -r requirements_dev.txt
+          pip install '.[all,dev]'
       - name: Run doctest
         run: |
           pytest --doctest-modules src/gpuhunt
diff --git a/pyproject.toml b/pyproject.toml
index 5a37463..3a7cb76 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,6 +47,13 @@ datacrunch = [
     "datacrunch"
 ]
 all = ["gpuhunt[aws,azure,datacrunch,gcp,nebius]"]
+dev = [
+    "pre-commit",
+    "isort~=5.0",
+    "black~=23.0",
+    "pytest~=7.0",
+    "pytest-mock",
+]
 
 [tool.setuptools.dynamic]
 version = {attr = "gpuhunt.version.__version__"}
diff --git a/requirements.txt b/requirements.txt
deleted file mode 100644
index a9ea30f..0000000
--- a/requirements.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-typing-extensions
-requests
-boto3
-google-cloud-billing
-google-cloud-compute
-azure-mgmt-compute
-azure-identity
-beautifulsoup4
-pyjwt
-cryptography
diff --git a/requirements_dev.txt b/requirements_dev.txt
deleted file mode 100644
index 6939986..0000000
--- a/requirements_dev.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-pre-commit
-isort~=5.0
-black~=23.0
-pytest~=7.0
-pytest-mock


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6d251c0..41a591b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -46,8 +46,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install '.[all]'
-          pip install -r requirements_dev.txt
+          pip install '.[all,dev]'
       - name: Run doctest
         run: |
           pytest --doctest-modules src/gpuhunt