Skip to content

Migrate setup.py -> pyproject.toml #131

@hrw

Description

@hrw

I have tried in b163051 but it broke on Github Actions: https://github.com/hrw/syscalls-table/actions/runs/18092678754

Run pytest -v system_calls/tests/test*.py
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.13.7/x64/bin/python3
cachedir: .pytest_cache
rootdir: /home/runner/work/syscalls-table/syscalls-table
configfile: pyproject.toml
collecting ... collected 0 items / 1 error

==================================== ERRORS ====================================
_____________ ERROR collecting system_calls/tests/test_syscalls.py _____________
ImportError while importing test module '/home/runner/work/syscalls-table/syscalls-table/system_calls/tests/test_syscalls.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
system_calls/tests/test_syscalls.py:4: in <module>
    import system_calls
E   ModuleNotFoundError: No module named 'system_calls'
=========================== short test summary info ============================
ERROR system_calls/tests/test_syscalls.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.13s ===============================

Need to get back to it one day.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions