diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c739620..709235d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Python CI on: push: branches: - - master + - master pull_request: branches: - - '**' + - '**' jobs: run_tests: @@ -15,10 +15,9 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - python-version: - - 3.8 - toxenv: [ formatting,quality,python ] + - ubuntu-20.04 + python-version: ['3.8', '3.11'] + toxenv: [formatting, quality, python] steps: - uses: actions/checkout@v2 - name: setup python diff --git a/requirements/base.txt b/requirements/base.txt index 03b675a..0ac9552 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -10,7 +10,7 @@ charset-normalizer==3.3.2 # via requests idna==3.6 # via requests -lxml==5.1.0 +lxml==5.2.1 # via -r requirements/base.in requests==2.31.0 # via -r requirements/base.in diff --git a/requirements/ci.txt b/requirements/ci.txt index d5ac826..15818ba 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -49,7 +49,7 @@ iniconfig==2.0.0 # via # -r requirements/quality.txt # pytest -lxml==5.1.0 +lxml==5.2.1 # via -r requirements/quality.txt mccabe==0.7.0 # via @@ -112,7 +112,7 @@ tomli==2.0.1 # tox tox==4.14.2 # via -r requirements/ci.in -typing-extensions==4.10.0 +typing-extensions==4.11.0 # via # -r requirements/quality.txt # black diff --git a/requirements/dev.txt b/requirements/dev.txt index 7bb7049..d9a05dd 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -4,11 +4,13 @@ # # make upgrade # +backports-tarfile==1.0.0 + # via jaraco-context black==24.3.0 # via # -r requirements/ci.txt # -r requirements/quality.txt -build==1.1.1 +build==1.2.1 # via # -r requirements/pip-tools.txt # pip-tools @@ -90,7 +92,11 @@ iniconfig==2.0.0 # -r requirements/ci.txt # -r requirements/quality.txt # pytest -jaraco-classes==3.3.1 +jaraco-classes==3.4.0 + # via keyring +jaraco-context==5.3.0 + # via keyring +jaraco-functools==4.0.0 # via keyring jaraco-context==4.3.0 # via keyring @@ -100,9 +106,9 @@ jeepney==0.8.0 # via # keyring # secretstorage -keyring==25.0.0 +keyring==25.1.0 # via twine -lxml==5.1.0 +lxml==5.2.1 # via # -r requirements/ci.txt # -r requirements/quality.txt @@ -163,7 +169,7 @@ pycodestyle==2.11.1 # -r requirements/ci.txt # -r requirements/quality.txt # flake8 -pycparser==2.21 +pycparser==2.22 # via cffi pyflakes==3.2.0 # via @@ -230,7 +236,7 @@ tox==4.14.2 # via -r requirements/ci.txt twine==5.0.0 # via -r requirements/dev.in -typing-extensions==4.10.0 +typing-extensions==4.11.0 # via # -r requirements/ci.txt # -r requirements/quality.txt diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 8931dc2..1471edd 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -4,7 +4,7 @@ # # make upgrade # -build==1.1.1 +build==1.2.1 # via pip-tools click==8.1.7 # via pip-tools diff --git a/requirements/quality.txt b/requirements/quality.txt index 81f2a7f..4625405 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -34,7 +34,7 @@ iniconfig==2.0.0 # via # -r requirements/test.txt # pytest -lxml==5.1.0 +lxml==5.2.1 # via -r requirements/test.txt mccabe==0.7.0 # via flake8 @@ -74,7 +74,7 @@ tomli==2.0.1 # black # coverage # pytest -typing-extensions==4.10.0 +typing-extensions==4.11.0 # via black urllib3==2.2.1 # via diff --git a/requirements/test.txt b/requirements/test.txt index f3e10d6..08d1ec0 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -24,7 +24,7 @@ idna==3.6 # requests iniconfig==2.0.0 # via pytest -lxml==5.1.0 +lxml==5.2.1 # via -r requirements/base.txt packaging==24.0 # via pytest diff --git a/setup.py b/setup.py index ff95b82..65ab334 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ def get_version(*file_paths): "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.11", "Topic :: Utilities", ], description=("Command line tool, that converts Common Cartridge " "courses to Open edX Studio imports."), diff --git a/src/cc2olx/__init__.py b/src/cc2olx/__init__.py index 3dc1f76..d3ec452 100644 --- a/src/cc2olx/__init__.py +++ b/src/cc2olx/__init__.py @@ -1 +1 @@ -__version__ = "0.1.0" +__version__ = "0.2.0" diff --git a/tox.ini b/tox.ini index 8a81cbf..a3f37b7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, quality, formatting +envlist = py{38, 311}, quality, formatting [testenv:quality] basepython = python @@ -13,12 +13,12 @@ commands = black --check --diff --line-length 120 src tests setup.py [testenv] setenv = - PYTHONPATH = {toxinidir} + PYTHONPATH = {toxinidir} deps = - -r{toxinidir}/requirements/test.txt + -r{toxinidir}/requirements/test.txt commands = - pip install -U pip - pytest --basetemp={envtmpdir} --cov cc2olx --cov-report term-missing --cov-report xml + pip install -U pip + pytest --basetemp={envtmpdir} --cov cc2olx --cov-report term-missing --cov-report xml [testenv:python]