Skip to content

Commit

Permalink
Merge branch 'release-v0.6.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fedejaure committed Jan 8, 2022
2 parents 45afb3a + e292d12 commit 24deabb
Show file tree
Hide file tree
Showing 13 changed files with 437 additions and 502 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = 0.5.0
current_version = 0.6.0

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
name: autoupdate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
ref: develop

- name: Set up Python 3.7
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.7

Expand All @@ -28,7 +28,7 @@ jobs:
- name: Run pre-commit
run: pre-commit run --all-files

- uses: peter-evans/create-pull-request@v3.10.1
- uses: peter-evans/create-pull-request@v3.12.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: chore-update-pre-commit-hooks
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.2
- name: Set up Python 3.7
uses: actions/setup-python@v2.3.1
with:
python-version: 3.6
python-version: 3.7

- name: Install system deps
shell: bash
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
name: Create Github Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Get version from tag
id: tag_name
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.2
- name: Set up Python 3.7
uses: actions/setup-python@v2.3.1
with:
python-version: 3.6
python-version: 3.7

- name: Linting
run: |
Expand All @@ -32,13 +32,13 @@ jobs:
strategy:
matrix:
os: [Ubuntu, MacOS]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10']
fail-fast: true
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

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

Expand All @@ -63,7 +63,7 @@ jobs:
run: nox --force-color -s safety

- name: Upload coverage data
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v2.3.1
with:
name: coverage-data
path: ".coverage.*"
Expand All @@ -72,12 +72,12 @@ jobs:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.2
- name: Set up Python 3.7
uses: actions/setup-python@v2.3.1
with:
python-version: 3.6
python-version: 3.7

- name: Install system deps
shell: bash
Expand All @@ -87,7 +87,7 @@ jobs:
poetry config virtualenvs.in-project true
- name: Download coverage data
uses: actions/download-artifact@v2.0.10
uses: actions/download-artifact@v2.1.0
with:
name: coverage-data

Expand Down
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -9,11 +9,11 @@ repos:
- id: check-json
- id: end-of-file-fixer
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 21.12b0
hooks:
- id: black
- repo: local
Expand All @@ -32,9 +32,10 @@ repos:
'flake8-builtins~=1.5.3',
'flake8-blind-except~=0.2.0',
'flake8-logging-format~=0.6.0',
'flake8-bugbear~=21.4.3',
'flake8-annotations~=2.6.2',
'flake8-bugbear~=21.11.29',
'flake8-annotations~=2.7.0',
'flake8-docstrings~=1.6.0',
'flake8-bandit~=2.1.2',
'darglint~=1.8.0'
'flake8-broken-line~=0.4.0',
'darglint~=1.8.1'
]
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.6.0] - 2022-01-08
### Changed
- Update dependencies.

### Removed
- Python 3.6 support.

## [0.5.0] - 2021-10-11
### Added
- Python 3.10 support.
Expand Down Expand Up @@ -42,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First release on PyPI.

[Unreleased]: https://github.com/fedejaure/mdns-beacon/compare/v0.5.0...develop
[Unreleased]: https://github.com/fedejaure/mdns-beacon/compare/v0.6.0...develop
[0.6.0]: https://github.com/fedejaure/mdns-beacon/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.0...v0.4.1
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sphinx==4.2.0
sphinx==4.3.2
recommonmark==0.7.1
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from nox.sessions import Session

nox.options.sessions = ["tests", "mypy"]
python_versions = ["3.6", "3.7", "3.8", "3.9", "3.10"]
python_versions = ["3.7", "3.8", "3.9", "3.10"]


def install_with_constraints(session: Session, *args: str, **kwargs: Any) -> None:
Expand Down
Loading

0 comments on commit 24deabb

Please sign in to comment.