This repository was archived by the owner on Dec 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +53
-36
lines changed
Expand file tree Collapse file tree 13 files changed +53
-36
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
1616 matrix :
1717 os :
1818 - ubuntu-latest
19- python-version : ['3.8 ', '3.11 ']
19+ python-version : ['3.11 ', '3.12 ']
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222 - name : setup python
23- uses : actions/setup-python@v2
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ jobs:
1111
1212 steps :
1313 - name : Checkout
14- uses : actions/checkout@v2
14+ uses : actions/checkout@v4
1515 - name : setup python
16- uses : actions/setup-python@v2
16+ uses : actions/setup-python@v5
1717 with :
18- python-version : 3.8
18+ python-version : 3.12
1919
2020 - name : Install pip
2121 run : pip install -r requirements/pip.txt
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ For more information about the Tin Can API visit:
1010
1111< http://tincanapi.com/ >
1212
13- Requires Python 3.8 or later.
13+ Requires Python 3.11 or later.
1414
1515## Installation
16- TinCanPython requires [ Python 3.8 ] ( https://www.python.org/downloads/ ) or later.
16+ TinCanPython requires [ Python 3.11 ] ( https://www.python.org/downloads/ ) or later.
1717
1818If you are installing from the Github repo, you will need to install ` aniso8601 ` and ` pytz ` (use ` sudo ` as necessary):
1919
Original file line number Diff line number Diff line change 1313
1414import sys
1515import os
16- import pkg_resources
16+ from importlib . metadata import version as get_version
1717
1818# If extensions (or modules to document with autodoc) are in another directory,
1919# add these directories to sys.path here. If the directory is relative to the
@@ -64,9 +64,9 @@ def setup(app):
6464# built documents.
6565#
6666# The short X.Y version.
67- version = pkg_resources . require ("tincan" )[ 0 ]. version
67+ version = get_version ("tincan" )
6868# The full version, including alpha/beta/rc tags.
69- release = pkg_resources . require ("tincan" )[ 0 ]. version
69+ release = get_version ("tincan" )
7070
7171# The language for content autogenerated by Sphinx. Refer to documentation
7272# for a list of supported languages.
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile
3- # To update, run :
2+ # This file is autogenerated by pip-compile with Python 3.11
3+ # by the following command :
44#
55# make upgrade
66#
7- aniso8601==9 .0.1
7+ aniso8601==10 .0.0
88 # via -r requirements/base.in
9- pytz==2020.5
9+ pytz==2024.2
1010 # via -r requirements/base.in
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile
3- # To update, run :
2+ # This file is autogenerated by pip-compile with Python 3.11
3+ # by the following command :
44#
55# make upgrade
66#
7- aniso8601==9 .0.1
7+ aniso8601==10 .0.0
88 # via -r requirements/test.txt
9- pytz==2020.5
9+ pytz==2024.2
1010 # via -r requirements/test.txt
Original file line number Diff line number Diff line change 77# link to other information that will help people in the future to remove the
88# pin when possible. Writing an issue against the offending project and
99# linking to it here is good.
10+
11+ # Common constraints for edx repos
12+ -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
Original file line number Diff line number Diff line change 1+ -c constraints.txt
12# Core dependencies for installing other packages
23
34pip
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile with python 3.8
3- # To update, run :
2+ # This file is autogenerated by pip-compile with Python 3.11
3+ # by the following command :
44#
5- # pip-compile --allow-unsafe --output-file=requirements/pip.txt requirements/pip.in
5+ # make upgrade
66#
7- wheel==0.42.0
7+ wheel==0.45.1
88 # via -r requirements/pip.in
99
1010# The following packages are considered to be unsafe in a requirements file:
11- pip==24.0
11+ pip==24.2
12+ # via
13+ # -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
14+ # -r requirements/pip.in
15+ setuptools==75.8.0
1216 # via -r requirements/pip.in
13- setuptools==69.1.1
14- # via -r requirements/pip.in
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile
3- # To update, run :
2+ # This file is autogenerated by pip-compile with Python 3.11
3+ # by the following command :
44#
55# make upgrade
66#
7- click==8.1.7
7+ build==1.2.2.post1
88 # via pip-tools
9- pip-tools==7.4.0
9+ click==8.1.8
10+ # via pip-tools
11+ packaging==24.2
12+ # via build
13+ pip-tools==7.4.1
1014 # via -r requirements/pip_tools.in
15+ pyproject-hooks==1.2.0
16+ # via
17+ # build
18+ # pip-tools
19+ wheel==0.45.1
20+ # via pip-tools
1121
1222# The following packages are considered to be unsafe in a requirements file:
1323# pip
24+ # setuptools
You can’t perform that action at this time.
0 commit comments