From 323874637964cc020eeb4673018b68552758d2e9 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Tue, 9 Apr 2024 17:17:03 +0500 Subject: [PATCH] feat: Adding python3.11 support. --- .github/workflows/ci.yml | 2 +- setup.py | 1 + src/cc2olx/__init__.py | 2 +- tox.ini | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6526d2aa..9665d28f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: os: - ubuntu-20.04 - python-version: [3.8, '3.8', '3.12'] + python-version: ['3.8', '3.11'] toxenv: [formatting, quality, python, django42] steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index ff95b825..65ab3344 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 3dc1f76b..d3ec452c 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 26e3b998..f1ac0004 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38, 312} quality, formatting +envlist = py{38, 311} quality, formatting [testenv:quality] basepython = python @@ -12,11 +12,11 @@ deps = black commands = black --check --diff --line-length 120 src tests setup.py [testenv] -setenv = +setenv = PYTHONPATH = {toxinidir} -deps = +deps = -r{toxinidir}/requirements/test.txt -commands = +commands = pip install -U pip pytest --basetemp={envtmpdir} --cov cc2olx --cov-report term-missing --cov-report xml