Skip to content

Commit 99c26de

Browse files
authored
Merge pull request #392 from MC-kit/devel
enable python3.13
2 parents 48925f7 + 1293338 commit 99c26de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4367
-5325
lines changed

.flake8

-81
This file was deleted.

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@
1212
*.docx binary
1313
*.xlsx binary
1414
*.png binary
15+
*.so binary
1516
*.dll binary
1617
*.pyd binary
18+
*.sqlite binary

.github/constraints.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pip==23.1.2
2-
poetry==1.5.1
1+
pip==24.1.2
2+
poetry==1.8.3
33

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ updates:
88
interval: weekly
99
day: monday
1010
time: "11:00"
11+
labels:
12+
- "kind/dependencies"
13+
- "bot"
1114
open-pull-requests-limit: 10
1215
target-branch: devel
1316

@@ -18,6 +21,11 @@ updates:
1821
interval: weekly
1922
day: tuesday
2023
time: "11:00"
24+
labels:
25+
- "area/ci"
26+
- "github_actions"
27+
- "kind/dependencies"
28+
- "bot"
2129
open-pull-requests-limit: 10
2230
target-branch: devel
2331

@@ -27,5 +35,8 @@ updates:
2735
interval: weekly
2836
day: wednesday
2937
time: "11:00"
38+
labels:
39+
- "kind/dependencies"
40+
- "bot"
3041
open-pull-requests-limit: 10
3142
target-branch: devel

.github/workflows/clean-workflow-logs.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Clean Workflow Logs
33
on:
44
workflow_dispatch:
55
inputs:
6-
# days_old:
7-
# description: "The amount of days old to delete"
8-
# default: "7"
9-
# required: false
6+
# days_old:
7+
# description: "The amount of days old to delete"
8+
# default: "7"
9+
# required: false
1010
dry:
1111
description: "Dry run"
1212
default: "false"
@@ -15,14 +15,14 @@ jobs:
1515
clean-logs:
1616
runs-on: ubuntu-latest
1717
steps:
18-
# - uses: igorjs/gh-actions-clean-workflow@v1
19-
# with:
20-
# token: ${{ secrets.GITHUB_TOKEN }}
21-
# owner: ${{ github.repository_owner }}
22-
# repo: ${{ github.event.repository.name }}
23-
# days_old: ${{ github.event.inputs.days_old }}
18+
# - uses: igorjs/gh-actions-clean-workflow@v1
19+
# with:
20+
# token: ${{ secrets.GITHUB_TOKEN }}
21+
# owner: ${{ github.repository_owner }}
22+
# repo: ${{ github.event.repository.name }}
23+
# days_old: ${{ github.event.inputs.days_old }}
2424
- name: Clean workflow runs
25-
uses: dmvict/clean-workflow-runs@v1.2.1
25+
uses: dmvict/clean-workflow-runs@v1
2626
with:
2727
token: ${{ secrets.MCKIT_GITHUB_TOKEN }}
2828
save_period: 30

.github/workflows/labeler.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Create Repository Labels
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -10,27 +14,26 @@ on:
1014
- .github/labels.yml
1115
- .github/workflows/labeler.yml
1216
pull_request:
13-
branches:
14-
- main
15-
- master
16-
- devel
1717
paths:
1818
- .github/labels.yaml
1919
- .github/workflows/labeler.yml
2020
schedule:
2121
- cron: "0 0 * * TUE"
2222

2323
jobs:
24-
labels:
24+
labeler:
2525
name: Sycnchronize repository labels
2626
runs-on: ubuntu-latest
2727
steps:
28-
- name: Check out the repository
29-
uses: actions/checkout@v3.5.3
28+
- name: Checkout
29+
uses: actions/checkout@v4
3030

31-
- name: Sync GitHub Issue Labels
32-
uses: crazy-max/ghaction-github-labeler@v4
31+
- name: Run labeler
32+
uses: crazy-max/ghaction-github-labeler@v5
3333
with:
3434
github-token: ${{ secrets.MCKIT_GITHUB_TOKEN }}
3535
skip-delete: true
36-
dry-run: ${{ github.ref != 'refs/heads/master' }}
36+
dry-run: ${{ github.event_name == 'pull_request' }}
37+
exclude: |
38+
help*
39+
*issue

.github/workflows/release-drafter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
draft_release:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: release-drafter/release-drafter@v5.24.0
10+
- uses: release-drafter/release-drafter@v6
1111
env:
1212
GITHUB_TOKEN: ${{ secrets.MCKIT_GITHUB_TOKEN }}

.github/workflows/release.yml

+6-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release
22

33
env:
4-
PYTHON_VERSION: '3.11'
4+
PYTHON_VERSION: '3.13'
55

66
on:
77
workflow_dispatch:
@@ -27,12 +27,12 @@ jobs:
2727

2828
steps:
2929
- name: Check out the repository
30-
uses: actions/checkout@v3.5.3
30+
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 2 # need previous revision to define tag
3333

3434
- name: Set up Python
35-
uses: actions/setup-python@v4.7.0
35+
uses: actions/setup-python@v5
3636
with:
3737
python-version: ${{ env.PYTHON_VERSION }}
3838

@@ -71,21 +71,14 @@ jobs:
7171
7272
- name: Publish package on PyPI
7373
if: steps.check-version.outputs.tag
74-
uses: pypa/[email protected]
75-
with:
76-
user: __token__
77-
password: ${{ secrets.PYPI_TOKEN }}
74+
run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
7875

7976
- name: Publish package on TestPyPI
8077
if: "! steps.check-version.outputs.tag"
81-
uses: pypa/[email protected]
82-
with:
83-
user: __token__
84-
password: ${{ secrets.TEST_PYPI_TOKEN }}
85-
repository_url: https://test.pypi.org/legacy/
78+
run: poetry publish --username=__token__ --password=${{ secrets.TEST_PYPI_TOKEN }}
8679

8780
- name: Publish the release notes
88-
uses: release-drafter/release-drafter@v5.24.0
81+
uses: release-drafter/release-drafter@v6
8982
with:
9083
publish: ${{ steps.check-version.outputs.tag != '' }}
9184
tag: ${{ steps.check-version.outputs.tag }}

.github/workflows/stale.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: Mark stale issues and pull requests
22

33
on:
44
schedule:
5-
- cron: "10 10 * * 0" # at 10:10 every Sunday
6-
# See expression format: https://www.techielass.com/schedule-github-actions-using-cron-expressions
5+
- cron: "10 10 * * 0" # at 10:10 every Sunday
6+
# See expression format: https://www.techielass.com/schedule-github-actions-using-cron-expressions
77
jobs:
88
stale:
99

1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/stale@v8
14-
with:
15-
repo-token: ${{ secrets.MCKIT_GITHUB_TOKEN }}
16-
stale-issue-message: 'Stale issue message'
17-
stale-pr-message: 'Stale pull request message'
18-
stale-issue-label: 'no-issue-activity'
19-
stale-pr-label: 'no-pr-activity'
13+
- uses: actions/stale@v9
14+
with:
15+
repo-token: ${{ secrets.MCKIT_GITHUB_TOKEN }}
16+
stale-issue-message: 'Stale issue message'
17+
stale-pr-message: 'Stale pull request message'
18+
stale-issue-label: 'no-issue-activity'
19+
stale-pr-label: 'no-pr-activity'

.github/workflows/test-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
7474
- name: GitHub Release wheels (deploy)
7575
if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags'))
76-
uses: softprops/action-gh-release@v1
76+
uses: softprops/action-gh-release@v2
7777
with:
7878
files: dist/*
7979
env:

0 commit comments

Comments
 (0)