diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af96204..3977ef9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,16 +12,16 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/README.md b/README.md index 6cf75fb..7b76c3e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # pyCFClient -A python client library for ChannelFinder. Requires python >= 3.8. +A python client library for ChannelFinder. ## Configuration diff --git a/pyproject.toml b/pyproject.toml index 6aa50e1..6182786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0"] -build-backend = "setuptools.build_meta" +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" [project] name = "channelfinder" @@ -10,7 +10,7 @@ authors = [ ] description = "Python ChannelFinder Client Lib" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.6" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", @@ -22,7 +22,7 @@ dependencies = [ "urllib3>=1.22" ] [project.optional-dependencies] -test = ["pytest", "testcontainers==3.7.1"] +test = ["pytest", "testcontainers>=3.7.0,<4"] [project.urls] Homepage = "https://github.com/ChannelFinderService/pyCFClient" @@ -30,4 +30,4 @@ Issues = "https://github.com/ChannelFinderService/pyCFClient/issues" [project.scripts] cf-update-ioc = "channelfinder.cfUpdate.CFUpdateIOC:main" -cf-monitor-test = "channelfinder.cfMonitorTest:main" \ No newline at end of file +cf-monitor-test = "channelfinder.cfMonitorTest:main"