From 310151d03ed956315ccc5b641c5305cf8c85c4ab Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Fri, 8 Dec 2023 15:44:23 +0330 Subject: [PATCH 1/2] feat: Including dev dependencies in extras_require --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index a639d05..53a1448 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,7 @@ include_package_data=True, python_requires=">=3.8", install_requires=["tutor>=16.0.0,<17.0.0"], + extras_require={"dev": ["tutor[dev]>=16.0.0,<17.0.0"]}, entry_points={"tutor.plugin.v1": ["notes = tutornotes.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", From c2aded19aa86c981803fe6fe8e5f94439065700f Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Fri, 8 Dec 2023 15:44:41 +0330 Subject: [PATCH 2/2] ci: install dev instead of different dependencies --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ff802d..829f613 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,6 @@ jobs: run: python -m pip install --upgrade pip setuptools - name: Install dependencies run: | - pip install 'tutor[dev]>=16.0.0,<17.0.0' + pip install .[dev] - name: Test lint, types, and format run: make test