Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gas.json is not included in pypi package #1033

Closed
rakanalh opened this issue Jun 2, 2019 · 1 comment · Fixed by #1034
Closed

gas.json is not included in pypi package #1033

rakanalh opened this issue Jun 2, 2019 · 1 comment · Fixed by #1034
Assignees
Labels

Comments

@rakanalh
Copy link
Contributor

rakanalh commented Jun 2, 2019

I got this error:

raiden/network/proxies/token_network.py:170: in __init__
    self.gas_measurements = gas_measurements(self.contract_manager.contracts_version)
../../.pyenv/versions/3.7.0/envs/raiden/lib/python3.7/site-packages/raiden_contracts/contract_manager.py:151: in gas_measurements
    with json_path.open() as gas_file:
../../.pyenv/versions/3.7.0/lib/python3.7/pathlib.py:1165: in open
    opener=self._opener)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   return self._accessor.open(self, flags, mode)
E   FileNotFoundError: [Errno 2] No such file or directory: '/home/rakan/.pyenv/versions/3.7.0/envs/raiden/lib/python3.7/site-packages/raiden_contracts/data_0.14.0/gas.json'

When i investigated, i found that MANIFEST.in does not include gas.json to be included in the pypi package, therefore, i am seeing this failure.

@pirapira
Copy link
Contributor

pirapira commented Jun 3, 2019

I see. That makes total sense. CI tests didn't catch this because they run on git checkout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants