Skip to content

Commit

Permalink
fix: nightly package version
Browse files Browse the repository at this point in the history
The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:

   setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
  • Loading branch information
regisb authored and moonesque committed Nov 20, 2023
1 parent 96c80de commit ccf7b84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_about():

setup(
name="tutor-mfe",
version=ABOUT["__version__"],
version=ABOUT["__package_version__"],
url="https://github.com/overhangio/tutor-mfe",
project_urls={
"Code": "https://github.com/overhangio/tutor-mfe",
Expand Down
3 changes: 2 additions & 1 deletion tutormfe/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__version__ = "15.0.8"
__version__ = "15.0.7"
__package_version__ = __version__


# Handle version suffix for nightly, just like tutor core.
Expand Down

0 comments on commit ccf7b84

Please sign in to comment.