Skip to content

Instantly share code, notes, and snippets.

[tool.poetry]
name = "sampleproject"
version = "0.1.2+77cc516"
description = ""
authors = ["Your Name <[email protected]>"]
packages = [
{ include = "sample" }
]
[tool.poetry.dependencies]
--- 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,
)