Skip to content

Commit 61340fd

Browse files
committed
fix: Bump pyRFC3339 >=1.0 -> >=2.1.0
With the latest release, pyRFC3339 allows a more flexible format. Prior versions required an explicit T separator before the time section even though the spec allows for a space. Both of these are considered valid formats: 1970-01-01T00:00:02.500Z 1970-01-01 00:00:02.500Z
1 parent c22ad26 commit 61340fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ldclient/testing/impl/test_operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
["before", "1970-01-01T00:00:00.500Z", 1000, True],
5858
["before", True, 1000, False], # wrong type
5959
["after", "1970-01-01T00:00:02.500Z", 1000, True],
60-
["after", "1970-01-01 00:00:02.500Z", 1000, False], # malformed timestamp
60+
["after", "1970-01-01 00:00:02.500Z", 1000, True],
6161
["after", "1970-01-01T00:00:02+01:00", None, False],
6262
["after", None, "1970-01-01T00:00:02+01:00", False],
6363
["before", "1970-01-01T00:00:02+01:00", 1000, True],

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exclude = [
3030
python = ">=3.9"
3131
certifi = ">=2018.4.16"
3232
expiringdict = ">=1.1.4"
33-
pyRFC3339 = ">=1.0"
33+
pyRFC3339 = ">=2.1.0"
3434
semver = ">=2.10.2"
3535
urllib3 = ">=1.26.0,<3"
3636
launchdarkly-eventsource = ">=1.2.4,<2.0.0"

0 commit comments

Comments
 (0)