Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: Add strptime_to_utc and strftime functions to _singerlib.utils #1365

Merged
merged 6 commits into from
Jan 31, 2023

Conversation

menzenski
Copy link
Contributor

@menzenski menzenski commented Jan 30, 2023

Slack discussion here https://meltano.slack.com/archives/C01PKLU5D1R/p1675106007009959

Context: I am trying to add Python 3.11 support to tap-tableau. Currently that tap depends on the sdk version ^0.4.5 — python 3.11 support was added in 0.13.1 so I need to bump the sdk dependency at least that far, but would like to bring it to current 0.19.0 if possible. However, one of the sdk changes made since 0.4.5 was dropping the dependency on singer-python , and this tap depends on that package (transitively via the sdk dependency). It uses that singer package to format a datetime https://github.com/GtheSheep/tap-tableau/blob/main/tap_tableau/utils.py#L6


📚 Documentation preview 📚: https://meltano-sdk--1365.org.readthedocs.build/en/1365/

@menzenski menzenski changed the title Add two date functions to _singerlib.utils feat: add two date functions to _singerlib.utils Jan 30, 2023
@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

Merging #1365 (38c66e2) into main (055ddc4) will decrease coverage by 0.02%.
The diff coverage is 81.81%.

❗ Current head 38c66e2 differs from pull request most recent head 99da90f. Consider uploading reports for the commit 99da90f to get more accurate results

@@            Coverage Diff             @@
##             main    #1365      +/-   ##
==========================================
- Coverage   85.15%   85.13%   -0.02%     
==========================================
  Files          53       54       +1     
  Lines        4668     4690      +22     
  Branches      794      797       +3     
==========================================
+ Hits         3975     3993      +18     
- Misses        503      505       +2     
- Partials      190      192       +2     
Impacted Files Coverage Δ
singer_sdk/_singerlib/utils.py 80.95% <80.95%> (ø)
singer_sdk/_singerlib/__init__.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@edgarrmondragon edgarrmondragon changed the title feat: add two date functions to _singerlib.utils feat: Add strptime_to_utc and strftime functions to _singerlib.utils Jan 31, 2023
Copy link
Collaborator

@edgarrmondragon edgarrmondragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @menzenski!

@edgarrmondragon edgarrmondragon merged commit 53e848b into meltano:main Jan 31, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants