Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
if: ${{ matrix.python-version == '3.8' }}
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev-3.8.txt

- name: Install Dependencies
if: ${{ matrix.python-version != '3.8' }}
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
Expand Down Expand Up @@ -57,3 +64,10 @@ jobs:
minimum_coverage: 100
fail_below_threshold: true
show_missing: true

- name: Run Benchmarks
if: ${{ matrix.python-version == '3.12' }}
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest --codspeed
2 changes: 1 addition & 1 deletion flag_engine/identities/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class IdentityModel(BaseModel):

dashboard_alias: typing.Optional[str] = None

@computed_field # type: ignore[misc]
@computed_field # type: ignore[prop-decorator]
@property
def composite_key(self) -> str:
return self.generate_composite_key(self.environment_api_key, self.identifier)
Expand Down
133 changes: 133 additions & 0 deletions requirements-dev-3.8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements-dev.in --constraints requirements.txt -o requirements-dev.txt --python-version 3.8
absolufy-imports==0.3.1
# via -r requirements-dev.in
annotated-types==0.5.0
# via
# -c requirements.txt
# pydantic
argcomplete==3.6.2
# via datamodel-code-generator
black==24.8.0
# via
# -r requirements-dev.in
# datamodel-code-generator
build==1.2.2.post1
# via pip-tools
cffi==1.17.1
# via pytest-codspeed
click==8.1.8
# via
# black
# pip-tools
coverage==7.6.1
# via pytest-cov
datamodel-code-generator==0.27.3
# via -r requirements-dev.in
exceptiongroup==1.3.0
# via pytest
filelock==3.16.1
# via pytest-codspeed
flake8==5.0.4
# via -r requirements-dev.in
genson==1.3.0
# via datamodel-code-generator
importlib-metadata==8.5.0
# via build
inflect==5.6.2
# via datamodel-code-generator
iniconfig==2.1.0
# via pytest
isort==5.13.2
# via
# -r requirements-dev.in
# datamodel-code-generator
jinja2==3.1.6
# via datamodel-code-generator
markupsafe==2.1.5
# via jinja2
mccabe==0.7.0
# via flake8
mypy==1.14.1
# via -r requirements-dev.in
mypy-extensions==1.1.0
# via
# black
# mypy
packaging==25.0
# via
# black
# build
# datamodel-code-generator
# pytest
pathspec==0.12.1
# via black
pip==25.0.1
# via pip-tools
pip-tools==7.5.0
# via -r requirements-dev.in
platformdirs==4.3.6
# via black
pluggy==1.5.0
# via pytest
pycodestyle==2.9.1
# via flake8
pycparser==2.22
# via cffi
pydantic==2.4.0
# via
# -c requirements.txt
# datamodel-code-generator
pydantic-core==2.10.0
# via
# -c requirements.txt
# pydantic
pyflakes==2.5.0
# via flake8
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.5
# via
# -r requirements-dev.in
# pytest-codspeed
# pytest-cov
# pytest-lazy-fixtures
# pytest-mock
pytest-codspeed==2.2.1
# via -r requirements-dev.in
pytest-cov==5.0.0
# via -r requirements-dev.in
pytest-lazy-fixtures==1.3.4
# via -r requirements-dev.in
pytest-mock==3.14.1
# via -r requirements-dev.in
pyyaml==6.0.2
# via datamodel-code-generator
setuptools==75.3.2
# via pip-tools
tomli==2.2.1
# via
# black
# build
# coverage
# datamodel-code-generator
# mypy
# pip-tools
# pytest
types-setuptools==75.8.0.20250110
# via -r requirements-dev.in
typing-extensions==4.8.0
# via
# -c requirements.txt
# annotated-types
# black
# exceptiongroup
# mypy
# pydantic
# pydantic-core
wheel==0.45.1
# via pip-tools
zipp==3.20.2
# via importlib-metadata
4 changes: 2 additions & 2 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ pytest
black
flake8
isort
pytest-codspeed
pytest-mock
pytest-lazy-fixture
pytest-lazy-fixtures
pytest-cov
pip-tools
types-pytest-lazy-fixture
types-setuptools
mypy
absolufy-imports
Expand Down
Loading