Skip to content

Commit 238e546

Browse files
authored
Merge pull request #10 from splitio/development
Development
2 parents 6754e5f + 70aaccf commit 238e546

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

CHANGES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Changes
1+
CHANGES
22

3-
1.0.0 (Nov 5 2026)
3+
1.0.0 (Nov 10 2025)
44
- BREAKING CHANGE: Passing the SplitClient object to Provider constructor is now only through the initialization context dictionary
55
- BREAKING CHANGE: Provider will throw exception when ObjectDetail and ObjectValue evaluation is used, since it will attempt to parse the treatment as a JSON structure.
66
- Upgraded Split SDK to 10.5.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
long_description = fh.read()
55

66
setuptools.setup(
7-
name="split_openfeature",
7+
name="split_openfeature_provider",
88
version="1.0.0",
99
description="The official Python Split Provider for OpenFeature",
1010
long_description=long_description,

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
sonar.projectName=split_openfeature
2-
sonar.projectKey=split_openfeature
1+
sonar.projectName=split_openfeature_provider
2+
sonar.projectKey=split_openfeature_provider
33
sonar.python.version=3.9
4-
sonar.sources=split_openfeature
4+
sonar.sources=split_openfeature_provider
55
sonar.tests=tests
66
sonar.text.excluded.file.suffixes=.csv
77
sonar.python.coverage.reportPaths=coverage.xml

split_openfeature/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from split_openfeature_provider.split_provider import SplitProvider, SplitProviderAsync
2+
from split_openfeature_provider.split_client_wrapper import SplitClientWrapper
3+
File renamed without changes.

split_openfeature/split_provider.py renamed to split_openfeature_provider/split_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from openfeature.exception import ErrorCode, GeneralError, ParseError, OpenFeatureError, TargetingKeyMissingError
88
from openfeature.flag_evaluation import Reason, FlagResolutionDetails
99
from openfeature.provider import AbstractProvider, Metadata
10-
from split_openfeature.split_client_wrapper import SplitClientWrapper
10+
from split_openfeature_provider.split_client_wrapper import SplitClientWrapper
1111

1212
_LOGGER = logging.getLogger(__name__)
1313

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from openfeature.exception import ErrorCode
77
from openfeature.flag_evaluation import Reason
88
from splitio import get_factory
9-
from split_openfeature import SplitProvider
9+
from split_openfeature_provider import SplitProvider
1010

1111
class TestClient(object):
1212
# The following are splits with treatments defined in the split.yaml file

tests/test_split_client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from threading import Event
44

55
from splitio import get_factory, get_factory_async
6-
from split_openfeature import SplitClientWrapper
6+
from split_openfeature_provider import SplitClientWrapper
77

88
class TestSplitClientWrapper(unittest.TestCase):
99
def test_using_external_splitclient(self):

tests/test_split_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from mock import MagicMock
44
from openfeature.exception import ErrorCode, OpenFeatureError
55
from openfeature.evaluation_context import EvaluationContext
6-
from split_openfeature import SplitProvider, SplitProviderAsync
6+
from split_openfeature_provider import SplitProvider, SplitProviderAsync
77

88
class TestProvider(object):
99
eval_context = EvaluationContext("someKey")

0 commit comments

Comments
 (0)