Skip to content

Commit c91be77

Browse files
authored
Merge pull request #5 from qtc-de/develop
Prepare v2.0.0 Release
2 parents 258bda0 + ab81627 commit c91be77

File tree

23 files changed

+3274
-613
lines changed

23 files changed

+3274
-613
lines changed

.github/workflows/develop.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.7, 3.8]
17+
python-version:
18+
- '3.10'
19+
- '3.11'
20+
- '3.12'
21+
- '3.13'
1822

1923
steps:
20-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2125
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v5
2327
with:
2428
python-version: ${{ matrix.python-version }}
2529
- name: Install dependencies
2630
run: |
27-
python -m pip install --upgrade pip
28-
pip install flake8 pytest
29-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31+
pipx install flake8 pytest
32+
pipx inject pytest .
3033
- name: Lint with flake8
3134
run: |
3235
# stop the build if there are Python syntax errors or undefined names

.github/workflows/master.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.7, 3.8]
17+
python-version:
18+
- '3.10'
19+
- '3.11'
20+
- '3.12'
21+
- '3.13'
1822

1923
steps:
20-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2125
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v5
2327
with:
2428
python-version: ${{ matrix.python-version }}
2529
- name: Install dependencies
2630
run: |
27-
python -m pip install --upgrade pip
28-
pip install flake8 pytest
29-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31+
pipx install flake8 pytest
32+
pipx inject pytest .
3033
- name: Lint with flake8
3134
run: |
3235
# stop the build if there are Python syntax errors or undefined names

.github/workflows/pypi.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- name: Set up Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: '3.x'
1818
- name: Install dependencies
1919
run: |
20-
python -m pip install --upgrade pip
21-
pip install setuptools wheel twine
20+
pipx install build twine
2221
- name: Build and publish
2322
env:
2423
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2524
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2625
run: |
27-
python setup.py sdist
26+
pyproject-build
2827
twine upload dist/*

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
*.swp
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
35
*.py[cod]

CHANGELOG.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9-
## [1.0.2] - May 26, 2022
9+
## v2.0.0 - Mar 21, 2025
10+
11+
### Added
12+
13+
* Add `desc` action for parsing SecurityDescriptors
14+
15+
### Changed
16+
17+
* Change from setup.py to pyproject.toml
18+
* Remove short option names
19+
* Global Refactoring
20+
21+
22+
## v1.0.2 - May 26, 2022
1023

1124
### Changed
1225

1326
* Fixed a bug that prevented the `--type` option from working when using the `sddl` action
1427

1528

16-
## [1.0.1] - Aug 08, 2020
29+
## v1.0.1 - Aug 08, 2020
1730

1831
### Added
1932

@@ -24,6 +37,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2437
* Fix a bug in `setup.py` that caused the tests folder to be installed as a package
2538

2639

27-
## [1.0.0] - Aug 05, 2020
40+
## v1.0.0 - Aug 05, 2020
2841

2942
Initial release :)

0 commit comments

Comments
 (0)