Code Monkey home page Code Monkey logo

Comments (4)

bashonly avatar bashonly commented on June 7, 2024

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.

traibr avatar traibr commented on June 7, 2024

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.

bashonly avatar bashonly commented on June 7, 2024

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.

traibr avatar traibr commented on June 7, 2024

Good to know, thanks again!

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.