Skip to content

integrate numpy datetime64 for greater range of years #77

Closed

Description

@rlskoeser
  • how much does the code change? how much does numpy.datetime64 help, how heavy of a dependency is this?
  • could this be optional, for people who need the expanded year range but not installed by default?

benchmarking / documentation:

  • how long does it take to run the test suite with/without numpy?
  • how big is the installation size with/without?

Activity

  1. added this to the 1.0 release milestone on Jun 6, 2024
  2. self-assigned this
    on Jun 7, 2024
  3. rlskoeser commented on Jul 11, 2024

    @rlskoeser
    MemberAuthor

    next steps:

    • check numpy depedencies; check 1.2 and 2.0 - difference in size? does the change break anything?
    • fully implement clean numpy datetime shims and add typing, tests, docs, etc
    • document numpy integration and any information about recommended versions, dependencies, etc.
  4. rlskoeser commented on Jul 11, 2024

    @rlskoeser
    MemberAuthor

    From NumPy installation docs:

    NumPy doesn’t depend on any other Python packages, however, it does depend on an accelerated linear algebra library - typically Intel MKL or OpenBLAS. Users don’t have to worry about installing those (they’re automatically included in all NumPy install methods)

  5. changed the title [-]test integrating numpy datetime64 for greater range of years[/-] [+]integrate numpy datetime64 for greater range of years[/+] on Oct 3, 2024
  6. added a commit that references this issue on Nov 7, 2024
  7. added
    resolvedresolved but not yet released (merged to main) until ticket is closed
    on Nov 7, 2024
  8. rlskoeser commented on Nov 8, 2024

    @rlskoeser
    MemberAuthor

    @ColeDCrawford as I close this out, I remembered you wanted some benchmarking / assessment on the numpy inclusion. The test suite is pretty fast either way, and we've also been expanding the functionality in other ways, so it's not a strict comparison.

    Running a checkout of the 0.2 tag, I get

    113 passed in 0.11s

    Running in current develop, I get

    138 passed in 0.16s

    I compared the virtualenv size when installing version 0.2 and current develop. Without numpy, the virtualenv is 14MB; with numpy it's 46MB. Looking at the folders in the sitep ackages for the latter, the numpy folder is 31MB on its own.

    Let me know if you think any of this needs to be documented in the changelog or elsewhere.

  9. ColeDCrawford commented on Nov 8, 2024

    @ColeDCrawford
    Collaborator

    Nice, thanks for remembering that. Seems like a negligible performance difference with the main change being the payload size, but we knew about that going in. I think it would be nice to note in the changelog for the v1.0 release

  10. removed
    resolvedresolved but not yet released (merged to main) until ticket is closed
    on Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions