From fa32269e9147f7095a24ef684a0228e38c2fa3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 24 Mar 2022 15:45:28 +0100 Subject: [PATCH] fix: nightly package version The version of the nightly python package should not include the "-nightly" suffix. That's because when we `pip install -e` tutor plugins, pip also installs the latest tutor release, as part of the requirements. This overrides the local (nightly) installation of tutor. See: https://app.slack.com/client/T02SNA1T6/C02V3GHE3UP --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1c2f38e..ac143bd 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ ABOUT = load_about() setup( name="tutor", - version=ABOUT["__version__"], + version=ABOUT["__version__"].split("-")[0], # drop "-nightly" suffix if present url="https://docs.tutor.overhang.io/", project_urls={ "Documentation": "https://docs.tutor.overhang.io/",