Skip to content

Commit

Permalink
build(development): update black version (#12)
Browse files Browse the repository at this point in the history
* build(development): update black version

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

* ci: change pythonpackage.yml

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

* ci: pin version from latest to ubuntu-22.04

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

* build: remove 3.7 support

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

* build: change version to 24.8.0

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

* build: add py3.11, py3.12, py.3.13 to build

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>

---------

Signed-off-by: Stanislav Filin <6159524+stasfilin@users.noreply.github.com>
  • Loading branch information
stasfilin authored Jan 18, 2025
1 parent 168121e commit 48e1c33
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
Expand All @@ -11,23 +8,25 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/base.txt
pip install -r requirements/development.txt
- name: Test with pytest
run: |
pytest tests -s
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/base.txt
pip install -r requirements/development.txt
- name: Test with pytest
run: |
pytest tests -s
2 changes: 1 addition & 1 deletion requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==7.1.2
black==19.10b0
black==24.8.0
requests-mock==1.8.0
pytest-mock==3.1.0
2 changes: 1 addition & 1 deletion sendcloud/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.4"
__version__ = "0.1.5"

0 comments on commit 48e1c33

Please sign in to comment.