Skip to content

Instantly share code, notes, and snippets.

View poetry-local-version-identifier_0.12.5.patch
--- lib/poetry/masonry/builders/wheel.py 2019-05-10 07:25:57.479877000 +0000
+++ lib/poetry/masonry/builders/wheel.py 2019-05-10 12:44:53.680569000 +0000
@@ -199,7 +199,7 @@
def wheel_filename(self): # type: () -> str
return "{}-{}-{}.whl".format(
re.sub(r"[^\w\d.]+", "_", self._package.pretty_name, flags=re.UNICODE),
- re.sub(r"[^\w\d.]+", "_", self._meta.version, flags=re.UNICODE),
+ self._meta.version,
self.tag,
)
View gist:ced9c3f98d494eb435552eec5b7b3d00
[tool.poetry]
name = "sampleproject"
version = "0.1.2+77cc516"
description = ""
authors = ["Your Name <you@example.com>"]
packages = [
{ include = "sample" }
]
[tool.poetry.dependencies]