We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4cce82 + 290bef8 commit 61aa859Copy full SHA for 61aa859
CHANGELOG.md
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
5
6
## [Unreleased]
7
8
+## Changed
9
+- local version identifier uses only ASCII letters/numbers and periods (PEP 440)
10
+
11
## [3.6.0]
12
13
### Added
WrightTools/__version__.py
@@ -32,6 +32,9 @@
32
if p.exists():
33
with open(str(p)) as f:
34
__branch__ = f.readline().rstrip().split(r"/")[-1]
35
- __version__ += "+" + __branch__
+ # clean local verson (PEP 440)
36
+ __version__ += (
37
+ f"+{''.join(char if (char.isalnum() or char=='.') else '.' for char in __branch__)}"
38
+ )
39
else:
40
__branch__ = None
0 commit comments