Skip to content

Commit f3dcad2

Browse files
authored
Pypi packaging (#12)
* hooks: Implementation of hooks for python Open Feature Signed-off-by: Andrew Helsby <[email protected]> * hooks: Fix tests broken as a result of providing hook support Signed-off-by: Andrew Helsby <[email protected]> * hooks: Add api level evaluation context support Signed-off-by: Andrew Helsby <[email protected]> * hooks: Change typing on iterables to be compatible with python 3.8 Signed-off-by: Andrew Helsby <[email protected]> * hooks: Add docstring for evaluate_flag_details method Signed-off-by: Andrew Helsby <[email protected]> * hooks: Add docstring for evaluate_flag_details method Signed-off-by: Andrew Helsby <[email protected]> * hooks: docstring change requested in review Signed-off-by: Andrew Helsby <[email protected]> * hooks: add docstrings and comments to Signed-off-by: Andrew Helsby <[email protected]> * hooks: Use correct exception in error hooks in the client Signed-off-by: Andrew Helsby <[email protected]> * hooks: Set empty evaluation context in no op provider to None Signed-off-by: Andrew Helsby <[email protected]> * pypi-packaging: package the main branch and deploy on pypi Signed-off-by: Andrew Helsby <[email protected]> * pypi-packaging: package the main branch and deploy on pypi Signed-off-by: Andrew Helsby <[email protected]> * pypi-packaging: use set package directory in pypi distribution Signed-off-by: Andrew Helsby <[email protected]> Signed-off-by: Andrew Helsby <[email protected]>
1 parent bd77ff8 commit f3dcad2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ jobs:
5555
- name: Publish a Python distribution to PyPI
5656
uses: pypa/gh-action-pypi-publish@release/v1
5757
with:
58-
password: ${{ secrets.PYPI_API_TOKEN }}
58+
password: ${{ secrets.PYPI_API_TOKEN }}
59+
packages_dir: open-feature/

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ name: Test
77

88
on:
99
push:
10-
branches:
11-
- '*'
1210
branches-ignore:
1311
- 'main'
1412

0 commit comments

Comments
 (0)