Skip to content

Commit 0f441d7

Browse files
authored
Merge branch 'main' into code/openfeature-event-handler-isolation-596
2 parents f1fe859 + 760d808 commit 0f441d7

6 files changed

Lines changed: 35 additions & 36 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
contents: read
1818

1919
env:
20-
PREK_VERSION: '0.3.x'
20+
PREK_VERSION: '0.4.x'
2121
TARGET_PYTHON_VERSION: "3.14"
2222

2323
jobs:
@@ -33,7 +33,7 @@ jobs:
3333
submodules: recursive
3434

3535
- name: Install uv and set the python version
36-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
36+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
activate-environment: true
@@ -49,7 +49,7 @@ jobs:
4949

5050
- if: matrix.python-version == env.TARGET_PYTHON_VERSION
5151
name: Upload coverage to Codecov
52-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
52+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
5353
with:
5454
flags: unittests # optional
5555
name: coverage # optional
@@ -63,7 +63,7 @@ jobs:
6363
steps:
6464
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6565
- name: Install uv and set the python version
66-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
66+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
6767
with:
6868
python-version: ${{ env.TARGET_PYTHON_VERSION }}
6969
ignore-nothing-to-cache: true
@@ -81,7 +81,7 @@ jobs:
8181
steps:
8282
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8383
- name: Install uv and set the python version
84-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
84+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
8585
with:
8686
python-version: ${{ env.TARGET_PYTHON_VERSION }}
8787
ignore-nothing-to-cache: true

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: googleapis/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
27+
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
2828
id: release
2929
with:
30-
command: manifest
3130
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
32-
default-branch: main
33-
signoff: "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>"
31+
target-branch: main
3432
outputs:
3533
release_created: ${{ steps.release.outputs.release_created }}
3634
release_tag_name: ${{ steps.release.outputs.tag_name }}
@@ -48,7 +46,7 @@ jobs:
4846
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4947

5048
- name: Install uv and set the python version
51-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
49+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
5250
with:
5351
python-version: ${{ env.TARGET_PYTHON_VERSION }}
5452

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ repos:
2222
priority: 0
2323

2424
- repo: https://github.com/tox-dev/pyproject-fmt
25-
rev: v2.20.0
25+
rev: v2.21.2
2626
hooks:
2727
- id: pyproject-fmt
2828
priority: 0
29+
additional_dependencies: [toml-fmt-common<1.3.3] # removed after fix https://github.com/tox-dev/toml-fmt/issues/355
2930

3031
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.20.0
32+
rev: v2.1.0
3233
hooks:
3334
- id: mypy
3435
priority: 1

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dev = [
3434
"behave>=1.3.0,<2.0.0",
3535
"coverage[toml]>=7.10.0,<8.0.0",
3636
"poethepoet>=0.40.0,<1.0.0",
37-
"prek>=0.3.0,<0.4.0",
37+
"prek>=0.4.3,<0.5.0",
3838
"pytest>=9.0.0,<10.0.0",
3939
"pytest-asyncio>=1.3.0,<2.0.0",
4040
]
@@ -108,9 +108,8 @@ files = "openfeature,tests/typechecking"
108108
python_version = "3.10" # should be identical to the minimum supported version
109109
namespace_packages = true
110110
explicit_package_bases = true
111-
local_partial_types = true # will become the new default from version 2
112-
allow_redefinition_new = true # will become the new default from version 2
113-
fixed_format_cache = true # new caching mechanism
111+
native_parser = true # Rust-based parser will become default in the future
112+
num_workers = 2
114113
pretty = true
115114
strict = true
116115
disallow_any_generics = false

release-please-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"bootstrap-sha": "198336b098f167f858675235214cc907ede10182",
3+
"signoff": "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>",
34
"packages": {
45
".": {
56
"release-type": "python",

uv.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)