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

Upgrade the version of timew-report #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonafato
Copy link
Contributor

The version of timew-report was restricted in #10 to deal with failing
tests. This change updates the version required by the Pipfile and
makes the following code changes:

  1. Update a test helper to pass in a value for the new required argument
    annotation. This is not used by the test suite, so the helper uses
    None for now.

  2. Addresses some breaking changes and deprecation warnings in
    get_date released in 1.4. get_date now returns a date instead
    of a datetime. get_start_date offers the same implementation that
    get_date used to, so no logic has changed here, and this avoids
    deprecation warnings.


Note that this pull request is branched from #13. These changes aren't actually related, but I wanted a stable testing state to base this upgrade on. The diff against master will be smaller once that other change is merged.

@jonafato jonafato force-pushed the update-timew-report-dependency branch from 239afee to 5ceb6de Compare September 22, 2021 21:49
The version of `timew-report` was restricted in sw00#10 to deal with failing
tests. This change updates the version required by the `Pipfile` and
makes the following code changes:

1. Update a test helper to pass in a value for the new required argument
   `annotation`. This is not used by the test suite, so the helper uses
   `None` for now.

2. Addresses some breaking changes and deprecation warnings in
   `get_date` released in [1.4]. `get_date` now returns a `date` instead
   of a `datetime`. `get_start_date` offers the same implementation that
   `get_date` used to, so no logic has changed here, and this avoids
   deprecation warnings.

[1.4]: lauft/timew-report@a964eb3
@jonafato jonafato force-pushed the update-timew-report-dependency branch from 5ceb6de to 5b437ff Compare September 23, 2021 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant