Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3.1, failure when running tests #711

Closed
sandrotosi opened this issue Oct 26, 2021 · 4 comments
Closed

3.3.1, failure when running tests #711

sandrotosi opened this issue Oct 26, 2021 · 4 comments

Comments

@sandrotosi
Copy link

Hello,
while building the debian package for guessit, several tests fail; i've included the entire test run log, which is rather verbose, because some of the failures are interleaved with other messages: guessit_3.3.1-2_amd64.txt

the summary at the bottom is (for searchability purposes)

FAILED guessit/test/test_yml.py::TestYml::test_entry[[various.yml] The.Office.(US).1x03.Health.Care.HDTV.XviD-LOL.avi]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[various.yml] The.Voice.UK.S03E12.HDTV.x264-C4TV]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[various.yml] Show-A (US) - Episode Title S02E09 hdtv]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[streaming_services.yaml] Show.Name.US.S12E20.Nice.Title.720p.CW.WEBRip.AAC2.0.x264-monkee]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[streaming_services.yaml] Show.Name.US.S12E20.Nice.Title.720p.TheCW.WEBRip.AAC2.0.x264-monkee]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[streaming_services.yaml] US.Presidential.Debates.2015.10.28.Third.Republican.Debate.720p.CNBC.WEBRip.AAC2.0.H.264-monkee]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[streaming_services.yaml] Teen.Mom.UK.S01E01.Life.as.a.Teen.Mum.1080p.MTV.WEB-DL.AAC2.0.x264-BTW]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[movies.yml] The.Stranger.1946.US.(Kino.Classics).Bluray.1080p.LPCM.DD-2.0.x264-Grym@BTNET]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] The.Office.(US).1x03.Health.Care.HDTV.XviD-LOL.avi]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] FlexGet.US.S2013E14.Title.Here.720p.HDTV.AAC5.1.x264-NOGRP]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] Whose Line is it anyway/Season 01/Whose.Line.is.it.Anyway.US.S13E01.720p.WEB.x264-TBS.mkv]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] Shark Tank (AU) - S02E01 - HDTV-720p.mkv]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] Hells.Kitchen.US.S17E08.1080p.HEVC.x265-MeGusta-Obfuscated/c48db7d2aeb040e8a920a9fd6effcbf4.mkv]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[episodes.yml] Videos/Office1080/The Office  (US)  (2005) Season 2 S02 + Extras  (1080p AMZN WEB-DL x265 HEVC 10bit AAC 2.0 LION)/The Office  (US)  (2005) - S02E12 - The Injury  (1080p AMZN WEB-DL x265 LION).mkv]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[rules/country.yml] Us.this.is.title]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[rules/country.yml] this.is.title.US]
FAILED guessit/test/test_yml.py::TestYml::test_entry[[rules/common_words.yml] au]
======= 17 failed, 2025 passed, 4 skipped, 1 warning in 76.73s (0:01:16) =======

can you have a look?

thanks!

@Toilal
Copy link
Member

Toilal commented Nov 4, 2021

It seems problem comes from babelfish dependency. Are you running last babelfish version ?

@sandrotosi sandrotosi removed their assignment Nov 5, 2021
@sandrotosi
Copy link
Author

we're running babelfish 0.5.4, while 0.6.0 is out, but there's also no version constraint in its dependency https://github.com/guessit-io/guessit/blob/develop/setup.py#L18 so we're kinda respecting the request to just have babelfish available -- do you need it to be upgraded?

@Toilal
Copy link
Member

Toilal commented Nov 5, 2021

Yes please try to upgrade, maybe babelfish < 0.6.0 have issues with Python 3.9+.

@sandrotosi
Copy link
Author

yep, with babelfish==0.6.0 all tests passed; please add this version to babelfish requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants