Commit Graph

41 Commits

Author SHA1 Message Date
Federico Bond cd605c4f5d
chore: update codecov/codecov-action action to v4 (#317)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-04-12 09:53:57 +09:00
Federico Bond 34ac91c707
fix!: restrict exported names with __all__ (#306)
* fix!: restrict exported names with __all__

Signed-off-by: Federico Bond <federicobond@gmail.com>

* restrict codecov upload to Python 3.11

Signed-off-by: gruebel <anton.gruebel@gmail.com>

* disable codecov ci fail on error

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

---------

Signed-off-by: Federico Bond <federicobond@gmail.com>
Signed-off-by: gruebel <anton.gruebel@gmail.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: gruebel <anton.gruebel@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-04-09 11:15:30 +09:00
Anton Grübel 9ba82e3b63
ci: switch to hatch (#297)
switch to hatch

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-04-05 18:08:16 +11:00
renovate[bot] 915cabe5b1
chore(deps): update pre-commit/action action to v3.0.1 (#273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 19:52:15 +00:00
renovate[bot] d1f27e3278
chore(deps): update actions/cache action to v4 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:26:28 -03:00
Anton Grübel a1c25e241b
ci: change codecov GHA version to v3 (#259)
change codecov GHA version to v3

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-16 17:13:13 -03:00
Anton Grübel 1722848651
ci: use pypi trusted publishing (#258)
use pypi trusted publishing

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-11 16:12:47 -05:00
Michael Beemer 4883ab47d8
ci: fix missing CodeQL workflow permissions
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-01-09 13:36:55 -05:00
Anton Grübel 30f4e692d8
ci: split lint job into lint and sast (#256)
split lint job into lint and sast

Signed-off-by: gruebel <anton.gruebel@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-01-08 19:56:12 -03:00
Anton Grübel 49aae786fb
ci: ignore tests in CodeQL scan and add missing permission restrictions (#253)
ignore tests in CodeQL scan and add missing permission restrictions

Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-06 11:21:40 -03:00
Anton Grübel 3b6204daec
chore: replace black, fake8 and isort with ruff and ruff-format (#249)
* replace black, fake8 and isort with ruff and ruff-format

Signed-off-by: gruebel <anton.gruebel@gmail.com>

* fix workflow

Signed-off-by: gruebel <anton.gruebel@gmail.com>

* use full version tag for pre-commit/action action

Signed-off-by: gruebel <anton.gruebel@gmail.com>

---------

Signed-off-by: gruebel <anton.gruebel@gmail.com>
Signed-off-by: Anton Grübel <anton.gruebel@gmail.com>
2024-01-05 19:45:26 -05:00
renovate[bot] 4c416b434c
chore(deps): update github/codeql-action action to v3 (#243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 21:19:13 +00:00
renovate[bot] 4b59b65ebe
chore(deps): update actions/setup-python action to v5 (#240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 16:44:28 +00:00
renovate[bot] 56284e36fa
chore(deps): update google-github-actions/release-please-action action to v4 (#239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 02:21:11 +00:00
Federico Bond f74eda06bd
chore: optimize GitHub CI workflow (#220)
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-10-24 19:39:06 -04:00
Federico Bond 4314ef7003
chore: simplify build and dependencies configuration (#208)
* chore: simplify build and dependencies configuration

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: remove unused .env.template

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: remove duplicate hook_support.py module

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: update pre-commit config and fix format issues

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: update github workflows

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: update dependencies

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: replace virtualenv with built-in venv everywhere

Signed-off-by: Federico Bond <federicobond@gmail.com>

---------

Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-10-18 00:41:54 -03:00
renovate[bot] af4955dbde
chore(deps): update python docker tag to v3.12 (#207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 08:08:47 +00:00
renovate[bot] d7b43bccd5
chore(deps): update codecov/codecov-action digest to c9e0f0b (#189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 04:32:59 +00:00
renovate[bot] 1c5cca29f1
chore(deps): update codecov/codecov-action digest to 8e29a53 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 21:03:20 +00:00
renovate[bot] bea5c3acee
chore(deps): update codecov/codecov-action digest to 398b9de (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 15:09:29 +00:00
renovate[bot] 4d4ac14d2b
chore(deps): update codecov/codecov-action digest to a08d532 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 01:39:35 +00:00
renovate[bot] 5ca229e8ab
chore(deps): update actions/checkout action to v4 (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 06:33:06 +00:00
renovate[bot] c99c27c45b
chore(deps): update codecov/codecov-action digest to 7811627 (#177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 04:41:34 +00:00
renovate[bot] b152fd47e2
chore(deps): update codecov/codecov-action digest to 04adceb (#158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 23:20:34 +00:00
James Carr 43ce93dc82
chore: E2E Test Support (#132)
* test: add implementation of evaluation e2e tests

Signed-off-by: Federico Bond <federicobond@gmail.com>
Signed-off-by: James Carr <james.r.carr@gmail.com>

* chore: run behave tests in GH workflow

Signed-off-by: Federico Bond <federicobond@gmail.com>

* fix: replace typing.Union value used in isinstance for compatibility with python<3.10

Signed-off-by: Federico Bond <federicobond@gmail.com>

* chore: automatically pull submodule for e2e make target

Signed-off-by: Federico Bond <federicobond@gmail.com>

---------

Signed-off-by: Federico Bond <federicobond@gmail.com>
Signed-off-by: James Carr <james.r.carr@gmail.com>
Co-authored-by: Federico Bond <federicobond@gmail.com>
2023-08-31 07:54:58 +12:00
renovate[bot] c91009247b
chore(deps): update codecov/codecov-action digest to eaaf4be (#118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 08:08:30 +00:00
renovate[bot] f3ea2efca1
chore(deps): update codecov/codecov-action digest to 894ff02 (#104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 11:41:55 +00:00
renovate[bot] 5259dcf241
chore(deps): update codecov/codecov-action digest to 83bb3d0 (#89)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 23:05:44 +00:00
Tom Carrio 6f6186ed91
feat: process flag evaluation options in client (#31)
Signed-off-by: Tom Carrio <tom@carrio.dev>
Co-authored-by: Meg McRoberts <mmcroberts@cloudbees.com>
Co-authored-by: Matthew Elwell <mjelwell89@gmail.com>
2022-12-02 08:07:39 -05:00
renovate[bot] f60b44e014
chore(deps): update python docker tag to v3.11 (#55)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 13:24:21 -05:00
Andrew Helsby fb7655aa3a
feat: Add needs to release job (#52)
feature/release-please: Add needs to release job
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-11-15 16:29:45 +04:00
Andrew Helsby 87c62cfae7
feat: Run a single container for sdk release (#50)
feature/release-please: Run a single container for sdk release
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-11-15 15:59:13 +04:00
Andrew Helsby 2c44d55af3
feat: Fix release workflow (#48)
feature/release-please: Fix release workflow

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-11-15 15:37:07 +04:00
Andrew Helsby 5bc057192d
feat: Add release please to handle releases (#45)
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-11-15 14:51:20 +04:00
renovate[bot] 820419a86e
chore(deps): update actions/cache action to v3 (#34)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 12:47:25 +04:00
renovate[bot] ad45ff754e
chore(deps): update actions/checkout action to v3 (#35)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 12:47:00 +04:00
Andrew Helsby 7ef8667f12
Pypi publish (#22)
* pypi-packaging: install python build
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Rename open feature python package
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Add code coverage to pipeline
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Update actions to match other sdks
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Update readme with relevant badges
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Update readme with relevant badges
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Fix merge pipeline to add all linting and tests
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Use python 3.10 in release step
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: Use python 3.10 in requirements.txt
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-10-13 15:39:47 +04:00
Andrew Helsby 0f004afbe0
pypi-packaging: install python build (#20)
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-10-07 16:46:33 +04:00
Andrew Helsby f3dcad2e81
Pypi packaging (#12)
* hooks: Implementation of hooks for python Open Feature

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Fix tests broken as a result of providing hook support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add api level evaluation context support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Change typing on iterables to be compatible with python 3.8

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: docstring change requested in review

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: add docstrings and comments to

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Use correct exception in error hooks in the client

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Set empty evaluation context in no op provider to None

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: package the main branch and deploy on pypi

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: package the main branch and deploy on pypi

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: use set package directory in pypi distribution

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-09-12 16:32:08 +04:00
Andrew Helsby bd77ff8646
Pypi packaging (#11)
* hooks: Implementation of hooks for python Open Feature

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Fix tests broken as a result of providing hook support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add api level evaluation context support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Change typing on iterables to be compatible with python 3.8

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: docstring change requested in review

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: add docstrings and comments to

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Use correct exception in error hooks in the client

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Set empty evaluation context in no op provider to None

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* pypi-packaging: package the main branch and deploy on pypi

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-09-12 16:20:52 +04:00
Andrew Helsby d2b484343d
Restructure modules (#3)
restructure-modules: Rename src module to open_feature

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-06-30 21:35:41 +04:00