Comments (4)
Are you trying to install yt-dlp-git
from the AUR? Is that why you are running pytest?
This failing test has nothing to do with Python 3.12; it was an oversight on our part. See #9763
You can make this change to the AUR PKGBUILD so that the tests pass:
diff --git a/PKGBUILD b/PKGBUILD
index face841..5cc2eb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,7 +47,7 @@ build() {
check() {
cd "${pkgname%-git}"
- pytest -v -m "not download"
+ pytest -v -Werror -m "not download"
}
package() {
from yt-dlp.
Thanks for the reply @bashonly,
I'm pulling down the AUR from git & running "makepkg" within the directory as I usually do, it's a simple as that. Due to a prior FULL system update that day, python was upgraded, & a number of other AUR app's stopped working as a result. So assumed the usual, which I know I shouldn't do.
I'm not manually running any pytest, unless that's being done via the PKGBUILD file itself (which it is, as I write this); I've made the change as directed within the file, & the compile has worked successfully:
=============================================================== 708 passed, 196 skipped, 5736 deselected in 242.75s (0:04:02) ================================================================ ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "yt-dlp-git"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: yt-dlp-git 2024.04.09.r13.gac817bc-1 (Fri 03 May 2024 17:24:53 BST)
Apologies, my coding skills are very much baseline, however I really do appreciate your response :)
Thanks for all the help!
from yt-dlp.
All good. This will be resolved when #9765 is merged, which will be shortly before the next stable release of yt-dlp. Then this manual intervention in the PKGBUILD will no longer be necessary
from yt-dlp.
Good to know, thanks again!
from yt-dlp.
Related Issues (20)
- [Instagram] HTTP 400 bad request HOT 1
- Add Aniwave Support HOT 1
- France.tv website Support HOT 2
- [requests] Unexpected error: TypeError: argument of type 'NoneType' is not iterable; HOT 8
- Site support request: Collab.inc video list (vl.collab.inc) HOT 1
- Unable to extract video url on Instagram. HOT 2
- Videos on CCTV.com only download 270p
- Recu.me [Site Request] HOT 1
- Unable to download the video list on Nico Nico Douga
- [youtube] "Video unavailable" with cookies - YouTube blocking accounts from web HOT 12
- [Announcement] Dropping support for Python 3.8 HOT 1
- [Announcement] Dropping support for py2exe builds HOT 1
- how to hide warnings in Python? HOT 1
- [youtube] Channel thumbnails often missing banner_uncropped and other thumbs HOT 1
- [Mxplayer] ERROR: No video formats found! HOT 1
- add veev.to HOT 1
- In hls-use-mpegts only one audio is downloading even through multi streams I s available how to download all this audios and merge in to one HOT 31
- ERROR: [TubiTv] 57190: 57190: Failed to parse JSON HOT 2
- Instagram Video Not Downloaded HOT 1
- yt-dlp doesn't recognize special simbols in '%(title)s' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.