diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 196639a3..47a4509a 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -8,7 +8,7 @@ jobs: timeout-minutes: 15 strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] fail-fast: false steps: @@ -46,8 +46,6 @@ jobs: python3 setup.py bdist_wheel --plat-name manylinux1_x86_64 - name: Upload coverage to Codecov - # Coverage is not complete on Python <3.7 (see pym/bob/utils.py) - if: matrix.python-version != '3.6' uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/doc/installation.rst b/doc/installation.rst index 81c5d9df..c6cb20ca 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -4,7 +4,7 @@ Installation Dependencies ============ -Bob is built with Python3 (>=3.6). Some additional Python packages are +Bob is built with Python3 (>=3.7). Some additional Python packages are required. They are installed automatically as dependencies. Apart from the Python dependencies additional run time dependencies could arise, diff --git a/pym/bob/develop/version.py b/pym/bob/develop/version.py index 1a29c3a6..fa2f6348 100644 --- a/pym/bob/develop/version.py +++ b/pym/bob/develop/version.py @@ -9,8 +9,8 @@ if sys.version_info.major != 3: print("Bob requires Python 3") sys.exit(1) -elif sys.version_info.minor < 6: - print("Bob requires at least Python 3.6") +elif sys.version_info.minor < 7: + print("Bob requires at least Python 3.7") sys.exit(1) def getVersion(): diff --git a/setup.py b/setup.py index 8286c1ca..3e189531 100644 --- a/setup.py +++ b/setup.py @@ -129,7 +129,7 @@ class build(build_orig): cmdclass = cmdclass, # Our runtime dependencies - python_requires = '>=3.6', + python_requires = '>=3.7', install_requires = [ 'PyYAML', 'schema', @@ -144,8 +144,7 @@ class build(build_orig): # Installation time dependencies only needed by setup.py setup_requires = [ - 'setuptools_scm<7', # automatically get package version - # TODO: remove constraint when Python 3.7 is required + 'setuptools_scm', # automatically get package version ], # Provide executables