From 1c711c5502e56e1c87b3ce8ea4a508d5c933e53a Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Mon, 27 Nov 2023 17:10:06 +0330 Subject: [PATCH 1/2] feat: Including dev dependencies in extras_require --- .github/workflows/test.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55e2ff5f..829f6137 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.1.2,<17.0.0' + pip install .[dev] - name: Test lint, types, and format run: make test diff --git a/setup.py b/setup.py index c3607674..9346bb82 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ def load_about(): include_package_data=True, python_requires=">=3.8", install_requires=["tutor>=16.1.2,<17.0.0"], + extras_require={"dev": ["tutor[dev]>=16.1.2,<17.0.0"]}, entry_points={"tutor.plugin.v1": ["mfe = tutormfe.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", From dc6fa4ef7f210162458f04e54ccff527ef067bf7 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Mon, 27 Nov 2023 18:10:04 +0330 Subject: [PATCH 2/2] chore: cleanup with black --- tutormfe/__about__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tutormfe/__about__.py b/tutormfe/__about__.py index fc0415ae..c79efc0d 100644 --- a/tutormfe/__about__.py +++ b/tutormfe/__about__.py @@ -1,2 +1 @@ __version__ = "16.1.2" -