Skip to content

Commit

Permalink
Merge branch 'master' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored Feb 18, 2024
2 parents 0387074 + 01fd1a1 commit 6454614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from importlib.metadata import version
import importlib.metadata

from packaging.version import parse

Expand All @@ -17,7 +17,7 @@
author = "Alex Grönholm"
copyright = "2015, " + author

v = parse(version(project))
v = parse(importlib.metadata.version(project))
version = v.base_version
release = v.public

Expand Down

0 comments on commit 6454614

Please sign in to comment.