Commit 1eef2c7f by Sébastien Eustace

Fix tests

parent c7825820
......@@ -6,7 +6,7 @@ from pkginfo.distribution import HEADER_ATTRS_2_0
from poetry.io import NullIO
from poetry.utils._compat import Path
from poetry.utils._compat import to_str
from poetry.utils._compat import decode
from poetry.utils.helpers import parse_requires
from poetry.utils.toml_file import TomlFile
from poetry.utils.venv import NullVenv
......@@ -77,7 +77,7 @@ class DirectoryDependency(Dependency):
builder = SdistBuilder(poetry, NullVenv(), NullIO())
with setup.open('w') as f:
f.write(to_str(builder.build_setup()))
f.write(decode(builder.build_setup()))
self._package = poetry.package
else:
......
......@@ -16,7 +16,7 @@ kwargs = dict(
],
install_requires=[
'pendulum>=1.4.4',
'cachy[msgpack]>=0.2.0,<0.3.0',
'cachy[msgpack]>=0.2.0',
],
)
......
......@@ -22,7 +22,7 @@ reference = "tests/fixtures/project_with_setup"
url = ""
[package.dependencies]
cachy = "< 0.3.0.0, >= 0.2.0.0"
cachy = ">= 0.2.0.0"
pendulum = ">= 1.4.4.0"
[[package]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment