Skip to content

Commit

Permalink
feat: Adding python3.11 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Apr 9, 2024
1 parent e4e679a commit 3238746
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down
2 changes: 1 addition & 1 deletion src/cc2olx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.2.0"
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38, 312} quality, formatting
envlist = py{38, 311} quality, formatting

[testenv:quality]
basepython = python
Expand All @@ -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

Expand Down

0 comments on commit 3238746

Please sign in to comment.