Open Yasand123 opened 1 month ago
I should probably be adding some exceptions for the tests, like yt-dlp has -m "not download"
, but honestly I'm a bit lost on which tests I should be avoiding here. (I'm the AUR package maintainer)
Haven't personally ran into this, but should probably not download stuff during building :P
This is on me. I've accidentally added a network request during extractor initialization in d7e34e1dc3b981d0555dffdccfa67cadcb115158. This will be removed and I'll also add another test to make sure this won't happen again.
I'm a bit lost on which tests I should be avoiding here
So normally the tests are not supposed to connect to the internet, then?
Generally no, at least not during make test
.
There are 3 OAuth tests which try to connect to http://term.ie/oauth/example in test_oauth.py, but this server hasn't been available for several years and the tests just get skipped.
Applying https://github.com/mikf/gallery-dl/commit/3cbf15a1074fccf8824f8425cdcfac8c14ff3072 as temporary patch should fix this.
I've cherry picked the commit to the pkgbuild, hopefully this resolves the issue for anyone on a restricted network. I can't test this myself.
I get the following error when trying to compile the latest version (1.27.7):
Using a VPN allowed me to compile. So I suspect some adult website it's trying to reach is blocked where I live. I can understand that during usage, but during compilation?