diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 449233f..3b3fff7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [ '3.8.2', '3.9', '3.10', '3.11' ] + python-version: [ '3.8.2', '3.9', '3.10', '3.11', '3.12' ] steps: - uses: actions/checkout@v3 - name: Setup Python diff --git a/examples/README.md b/examples/README.md index c1ae005..37840bb 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,7 @@ # Examples +In this directory you will find small yet complete examples of _ChRIS_ plugins. + - `pl-git-clone`: a minimal [fs](https://github.com/FNNDSC/chris_plugin/wiki/About-Plugins#fs) plugin example - `pl-copy`: a minimal [ds](https://github.com/FNNDSC/chris_plugin/wiki/About-Plugins#ds) plugin example - `pl-replace`: a complicated [ds](https://github.com/FNNDSC/chris_plugin/wiki/About-Plugins#ds) plugin example demonstrating diff --git a/examples/pl-copy/Dockerfile b/examples/pl-copy/Dockerfile index 5965c24..0fc74d0 100644 --- a/examples/pl-copy/Dockerfile +++ b/examples/pl-copy/Dockerfile @@ -1,8 +1,8 @@ -FROM docker.io/python:3.10.2-alpine3.14 +FROM docker.io/python:3.12.0-alpine3.18 WORKDIR /usr/local/src/simple_copy COPY . . -RUN pip install --use-feature=in-tree-build . +RUN pip install . CMD ["simple_copy", "--help"] diff --git a/examples/pl-copy/setup.py b/examples/pl-copy/setup.py index 4fa390b..e61ef44 100755 --- a/examples/pl-copy/setup.py +++ b/examples/pl-copy/setup.py @@ -10,6 +10,5 @@ py_modules=["simple_copy"], install_requires=["chris_plugin"], license="MIT", - python_requires=">=3.10.2", entry_points={"console_scripts": ["simple_copy = simple_copy:main"]}, ) diff --git a/examples/pl-git-clone/Dockerfile b/examples/pl-git-clone/Dockerfile index 27889d4..f00b8a4 100644 --- a/examples/pl-git-clone/Dockerfile +++ b/examples/pl-git-clone/Dockerfile @@ -1,10 +1,10 @@ -FROM docker.io/python:3.10.2-alpine3.14 +FROM docker.io/python:3.12.0-alpine3.18 RUN apk add git WORKDIR /usr/local/src/git_clone_wrapper COPY . . -RUN pip install --use-feature=in-tree-build . +RUN pip install . CMD ["git_clone_wrapper", "--help"] diff --git a/examples/pl-git-clone/setup.py b/examples/pl-git-clone/setup.py index 0f1a4b7..b0413cc 100755 --- a/examples/pl-git-clone/setup.py +++ b/examples/pl-git-clone/setup.py @@ -10,6 +10,5 @@ py_modules=["git_clone"], install_requires=["chris_plugin"], license="MIT", - python_requires=">=3.10.2", entry_points={"console_scripts": ["git_clone_wrapper = git_clone:main"]}, ) diff --git a/examples/pl-replace/Dockerfile b/examples/pl-replace/Dockerfile index c6fb23f..753cb6c 100644 --- a/examples/pl-replace/Dockerfile +++ b/examples/pl-replace/Dockerfile @@ -1,8 +1,8 @@ -FROM docker.io/python:3.10.2-alpine3.14 +FROM docker.io/python:3.12.0-alpine3.18 WORKDIR /usr/local/src/replace COPY . . -RUN pip install --use-feature=in-tree-build . +RUN pip install . CMD ["replace", "--help"] diff --git a/examples/pl-replace/setup.py b/examples/pl-replace/setup.py index a94bcfd..bfcd2c3 100755 --- a/examples/pl-replace/setup.py +++ b/examples/pl-replace/setup.py @@ -10,6 +10,5 @@ py_modules=["replace"], install_requires=["chris_plugin", "tqdm"], license="MIT", - python_requires=">=3.10.2", entry_points={"console_scripts": ["replace = replace:main"]}, ) diff --git a/setup.py b/setup.py index c2dd04f..07964fd 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name="chris_plugin", - version="0.3.0", + version="0.3.1", packages=find_packages(where="src"), package_dir={"": "src", "chris_plugin": "src/chris_plugin"}, url="https://github.com/FNNDSC/chris_plugin", @@ -41,6 +41,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Bio-Informatics",