Skip to content

Commit

Permalink
fix: update supported Python versions (#35)
Browse files Browse the repository at this point in the history
* build: increment build version
* fix: temporarily exclude Python 3.12
---------
Signed-off-by: Emilio Reyes <[email protected]>
  • Loading branch information
soda480 committed Nov 25, 2023
1 parent 879f6d9 commit d17afa6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build+test
on:
schedule:
- cron: "0 8 * * 2,4,6"
Expand All @@ -12,7 +12,7 @@ jobs:
build-images:
strategy:
matrix:
version: ['3.8', '3.9', '3.10', '3.11', '3.12']
version: ['3.8', '3.9', '3.10', '3.11']
name: Build Python Docker images
runs-on: ubuntu-20.04
steps:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV TERM xterm-256color
WORKDIR /code
COPY . /code/
RUN pip install --upgrade pip && pip install pybuilder namegenerator
RUN pip install --upgrade pip && \
pip install pybuilder namegenerator
RUN pyb -X
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# mpcurses
[![build](https://github.com/soda480/mpcurses/actions/workflows/main.yml/badge.svg)](https://github.com/soda480/mpcurses/actions/workflows/main.yml)
[![build+test](https://github.com/soda480/mpcurses/actions/workflows/main.yml/badge.svg)](https://github.com/soda480/mpcurses/actions/workflows/main.yml)
[![Code Coverage](https://codecov.io/gh/soda480/mpcurses/branch/master/graph/badge.svg)](https://codecov.io/gh/soda480/mpcurses)
[![vulnerabilities](https://img.shields.io/badge/vulnerabilities-None-brightgreen)](https://pypi.org/project/bandit/)
[![PyPI version](https://badge.fury.io/py/mpcurses.svg)](https://badge.fury.io/py/mpcurses)
[![python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-teal)](https://www.python.org/downloads/)
[![python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-teal)](https://www.python.org/downloads/)

Mpcurses is an abstraction of the Python curses and multiprocessing libraries providing function execution and runtime visualization capabilities at scale. It contains a simple API to enable any Python function to be executed across one or more background processes and includes built-in directives to visualize the functions execution on a terminal screen.

Expand Down Expand Up @@ -131,8 +131,7 @@ Clone the repository and ensure the latest version of Docker is installed on you
Build the Docker image:
```sh
docker image build \
-t \
mpcurses:latest .
-t mpcurses:latest .
```

Run the Docker container:
Expand Down
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
authors = [Author('Emilio Reyes', '[email protected]')]
summary = 'Mpcurses is an abstraction of the Python curses and multiprocessing libraries providing function execution and runtime visualization capabilities'
url = 'https://github.com/soda480/mpcurses'
version = '0.4.2'
version = '0.4.3'
default_task = [
'clean',
'analyze',
Expand Down Expand Up @@ -67,10 +67,10 @@ def set_properties(project):
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
versions=( '3.7' '3.8' '3.9' '3.10' )
versions=( '3.8' '3.9' '3.10' '3.11' )
for version in "${versions[@]}";
do
docker image build --build-arg PYTHON_VERSION=$version -t mpcurses:$version .
Expand Down

0 comments on commit d17afa6

Please sign in to comment.