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
This commit is contained in:
Régis Behmo 2022-03-24 15:45:28 +01:00 committed by Régis Behmo
parent a25ae73031
commit fa32269e91
1 changed files with 1 additions and 1 deletions

View File

@ -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/",