Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndace committed Oct 15, 2024
1 parent d005eee commit 97dbec7
Show file tree
Hide file tree
Showing 12 changed files with 482 additions and 359 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ doctests = True
ignore = E201,E202,W503
per-file-ignores =
slixmpp_omemo/project.py:E203
slixmpp_omemo/__init__.py:F401
16 changes: 8 additions & 8 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]

steps:
- uses: actions/checkout@v4
Expand All @@ -21,13 +21,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install/update package management dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Update pip
run: python -m pip install --upgrade pip
- name: Build and install slixmpp-omemo
run: pip install .
- name: Install test dependencies
run: |
pip install --upgrade pytest pytest-asyncio pytest-cov mypy pylint flake8
pip install --upgrade pytest pytest-asyncio pytest-cov mypy pylint flake8 setuptools
- name: Type-check using mypy
run: mypy --strict --disable-error-code str-bytes-safe --untyped-calls-exclude=slixmpp slixmpp_omemo/ setup.py examples/ tests/
Expand Down Expand Up @@ -58,6 +58,8 @@ jobs:
publish:
needs: [test, build]
runs-on: ubuntu-latest
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

steps:
Expand All @@ -66,7 +68,5 @@ jobs:
path: dist
merge-multiple: true

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed
- Drop support for Python3.8, add support for Python3.13, bump PyPy test version to 3.10
- Internal housekeeping, mostly related to pylint

## [1.1.1] - 8th of October, 2024

### Fixed
Expand Down
Loading

0 comments on commit 97dbec7

Please sign in to comment.