Skip to content
Snippets Groups Projects
Commit ca05ff04 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Merge branch 'fix/use_version_file' into 'main'

Use version_file instead of write_to in pyproject.toml

See merge request !26
parents 2d1ffc66 d17a2620
No related branches found
No related tags found
1 merge request!26Use version_file instead of write_to in pyproject.toml
Pipeline #65385 passed with warnings
Pipeline: Python Package

#65386

    ......@@ -88,7 +88,7 @@ run_unit_tests:
    - tox -e py3${PY_VERSION}
    parallel:
    matrix: # use the matrix for testing
    - PY_VERSION: [7, 8, 9, 10]
    - PY_VERSION: [ 8, 9, 10]
    # Run code coverage on the base image thus also performing unit tests
    run_unit_tests_coverage:
    ......
    [build-system]
    requires = [
    "setuptools>=62.6",
    "setuptools_scm[toml]>=6.2",
    "setuptools_scm[toml]>=8.0",
    "wheel"
    ]
    build-backend = "setuptools.build_meta"
    [tool.setuptools_scm]
    write_to = "{{cookiecutter.project_slug}}/_version.py"
    version_file = "{{cookiecutter.project_slug}}/_version.py"
    [tool.pylint]
    ignore = "_version.py"
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment