Open gosuto-inzasheru opened 1 year ago
@gosuto-inzasheru hay! It's not a good practice and there is no info about that in brownie docs, but you can also get version from specific commit. Also I agree that problem exists and is not fixed yet.
needs pagination; eg f"https://api.github.com/repos/{org}/{repo}/tags?per_page=100&page=2", headers=headers
Environment information
brownie
Version: 1.17.0ganache-cli
Version: 6.12.2solc
Version:null
What was wrong?
when including the following in
brownie-config.yaml
:it currently fails with:
How can it be fixed?
it looks like the retrieval of available tags/versions is paginated, i count exactly 100. this makes it so that older versions of packages eventually become unavailable, even though their tag is available on the repo.