Skip to content

Commit

Permalink
Bump version: 0.2.7 → 0.2.8
Browse files Browse the repository at this point in the history
Had to squash them because I forgot to update setup.cfg fully:

Remove MacOS CI/CD, Add Python3.12 support, Update README

The MacOS runner seems to be broken
  • Loading branch information
cacharle committed Dec 7, 2024
1 parent 2d72ced commit 410326f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]


steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-11]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest] # , macos-11]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]


steps:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ It's just for convenience.

## Installation

Requires Python3.8+ (3.9, 3.10, 3.11)
Requires Python3.8+ (3.9, 3.10, 3.11, 3.12)

### From PyPI

```console
```sh
pip3 install c-formatter-42
pip3 install --user c-formatter-42 # If you don't have root privileges
```

### From source

```console
```sh
git clone https://github.com/cacharle/c_formatter_42
cd c_formatter_42
pip3 install -e .
Expand All @@ -40,7 +40,7 @@ pip3 install -e .

### Command line

```console
```sh
c_formatter_42 < file.c
python3 -m c_formatter_42 < file.c # If you get 'command not found' with the previous one

Expand Down Expand Up @@ -83,15 +83,15 @@ Feel free to report issues or contribute. :)
### Run the tests
```
```sh
pip3 install tox
tox
tox -e py311 # for a specific python version
```
### Deploy a new version
```
```sh
pip3 install bumpversion
bumpversion [major|minor|patch]
git push
Expand Down
2 changes: 1 addition & 1 deletion c_formatter_42/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.7"
__version__ = "0.2.8"
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.7
current_version = 0.2.8
tag = true
commit = true

Expand All @@ -10,7 +10,7 @@ parse = __version__ = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)

[metadata]
name = c_formatter_42
version = 0.2.7
version = 0.2.8
description = formatting tool complient with 42 school's norm
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -23,6 +23,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: C
Intended Audience :: Developers
Environment :: Console
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = python3.8,python3.9,python3.10,python3.11
envlist = python3.8,python3.9,python3.10,python3.11,python3.12
distshare = {env:XDG_CACHE_HOME}/tox/distshare

[testenv]
Expand Down

0 comments on commit 410326f

Please sign in to comment.