Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.1.0 #12

Merged
merged 7 commits into from
Jan 18, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ jobs:
uses: ./.github/workflows/publish-packages.yml
with:
upload_to_test: false
branch: "main"
8 changes: 8 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
=========
Changelog
=========

Version 0.1.0
=============

[0.1.0] -- 2024-01-06
---------------------

First official release.
6 changes: 3 additions & 3 deletions tests/data/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def not_null(s):
return not s.startswith("\x00")
return "\x00" not in s


def context_dict(values=None):
Expand Down Expand Up @@ -77,7 +77,7 @@ def orderly_log_content(
for c in draw(keys)
}
)
return draw(st.lists(contexts, max_size=15))
return draw(st.lists(contexts, max_size=10))


def populate_log(logger, log_contents):
Expand Down Expand Up @@ -119,7 +119,7 @@ def check_logger_values(df, log_contents):


@given(orderly_log_content())
@settings(deadline=500) # Allow up to 0.5 seconds per test.
@settings(deadline=2_000) # Allow up to 2 seconds per test.
def test_to_dataframe(log_contents):
logger = du.data.logging.Logger()
num_empty = populate_log(logger, log_contents)
Expand Down
Loading