What was wrong?
If there is no Infura environment variable set, web3 v5 tests can't run because ethpm is loading Infura here: https://github.com/ethpm/py-ethpm/blob/master/ethpm/backends/registry.py#L5
How can it be fixed?
@pipermerriam suggested a few things:
Since we need to get this out before 3/27, we can back out ethpm from v5 for a minute, and then add it back in after we've made "the fix"
"The fix" might look like:
- Passing a web3 instance to ethpm (least user friendly option, but least error prone)
- Check for the environment variable and auto connect to infura if the environment variable is set
- Something else...?
Probably all of these options require some documentation updates
What was wrong?
If there is no Infura environment variable set, web3 v5 tests can't run because ethpm is loading Infura here: https://github.com/ethpm/py-ethpm/blob/master/ethpm/backends/registry.py#L5
How can it be fixed?
@pipermerriam suggested a few things:
Since we need to get this out before 3/27, we can back out ethpm from v5 for a minute, and then add it back in after we've made "the fix"
"The fix" might look like:
Probably all of these options require some documentation updates