Package Details: python-vapor-steam 1.5.8-1

Git Clone URL: https://aur.archlinux.org/python-vapor-steam.git (read-only, click to copy)
Package Base: python-vapor-steam
Description: TUI program to check the ProtonDB compatibility of all the games of a Steam user
Upstream URL: https://github.com/TabulateJarl8/vapor
Keywords: compatibility proton protondb steam textual tui
Licenses: GPLv3
Submitter: Tabulate
Maintainer: Tabulate (vapor-deploy)
Last Packager: Tabulate
Votes: 1
Popularity: 0.000713
First Submitted: 2023-12-04 23:46 (UTC)
Last Updated: 2024-11-15 07:16 (UTC)

Latest Comments

yochananmarqos commented on 2024-04-30 00:09 (UTC)

@Tabulate: Yes, thank you!

Tabulate commented on 2024-04-30 00:02 (UTC)

Should be resolved now

Tabulate commented on 2024-04-29 22:24 (UTC)

Thank you for the notification! I'm approaching finals week in college so I'll see what I can get done and I'll let you know when I find the issue

yochananmarqos commented on 2024-04-27 23:26 (UTC)

The tests are currently failing:

===================================== test session starts =====================================
platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0
rootdir: /home/yochanan/.cache/paru/clone/python-vapor-steam/src/vapor_steam-1.5.4
configfile: pyproject.toml
plugins: typeguard-4.2.1, anyio-4.3.0, asyncio-0.23.6
asyncio: mode=Mode.STRICT
collected 37 items                                                                            

tests/test_api_interface.py .....                                                       [ 13%]
tests/test_arg_parsing.py ..                                                            [ 18%]
tests/test_cache.py .......                                                             [ 37%]
tests/test_config.py .........                                                          [ 62%]
tests/test_data_structures.py .                                                         [ 64%]
tests/test_ui.py ............F                                                          [100%]

========================================== FAILURES ===========================================
____________________________________ test_settings_screen _____________________________________

config = <vapor.config_handler.Config object at 0x7f898b876270>

    @pytest.mark.asyncio
    async def test_settings_screen(config):
        app = SteamApp(config)

        # check that theres no default value
        assert app.config.get_value('preserve-user-id') == ''

        async with app.run_test(size=(105, 24)) as pilot:
            # open the settings screen
            await pilot.press('ctrl+s')

            # check that the settings screen is shown to the user
            assert isinstance(app.screen, SettingsScreen)

            # check that the default value was set
            assert app.config.get_value('preserve-user-id') == 'false'

            # switch on the preserve user id setting
>           assert await pilot.click('#preserve-user-id')
E     assert False

tests/test_ui.py:301: AssertionError
=================================== short test summary info ===================================
FAILED tests/test_ui.py::test_settings_screen - assert False
================================ 1 failed, 36 passed in 11.45s ================================

yochananmarqos commented on 2024-02-13 19:22 (UTC)

@Tabulate: 1.5.4 resolved the issue.

yochananmarqos commented on 2024-02-12 02:14 (UTC)

@Tabulate: Nevermind, the tests pass in a clean chroot. Forgot to try that earlier.

Tabulate commented on 2024-02-12 02:10 (UTC)

Sorry that it took me so long to respond, I was trying to replicate the issue and I couldn't, even on a fresh arch installation. Does changing the pytest line to this fix the issue?:

# old line:
# test-env/bin/python -m pytest
# new line:
PYTHONPATH=. test-env/bin/python -m pytest

yochananmarqos commented on 2024-02-12 01:18 (UTC)

@Tabulate: The tests are currently failing:

==> Starting check()...
===================================== test session starts =====================================
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.4.0
rootdir: /home/yochanan/.cache/paru/clone/python-vapor-steam/src/vapor_steam-1.5.1
plugins: asyncio-0.23.4
asyncio: mode=Mode.STRICT
collected 24 items / 1 error                                                                  

=========================================== ERRORS ============================================
______________________________ ERROR collecting tests/test_ui.py ______________________________
ImportError while importing test module '/home/yochanan/.cache/paru/clone/python-vapor-steam/src/vapor_steam-1.5.1/tests/test_ui.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_ui.py:11: in <module>
    from tests.test_config import InMemoryPath
E   ModuleNotFoundError: No module named 'tests.test_config'
=================================== short test summary info ===================================
ERROR tests/test_ui.py
!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================== 1 error in 0.19s =======================================
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-vapor-steam-1.5.1-1': 

Tabulate commented on 2023-12-05 00:18 (UTC)

I'll fix that ASAP, this is my first time packaging a poetry project, so thanks!

yochananmarqos commented on 2023-12-05 00:15 (UTC)

Fails to build as it's missing python-poetry-core.

Fails to run as it's missing all dependencies.

It appears they should be:

depends=('python-aiohttp' 'python-rich' 'python-textual')
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')