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

API: Consider forking remaining Gov UK dependencies #1250

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

terrazoon
Copy link
Contributor

@terrazoon terrazoon commented Aug 12, 2024

Description

There are two remaining dependencies that come from govuk -- govuk-bank-holidays and notifications-python-client.

govuk-bank-holidays is solely used for "letter timings", whatever they are. We are not sending letters, so I have just deleted the code completely there.

notifications-python-client is integrally related to authentication of requests coming into the API side. In theory we could extract the parts we want, refactor everything, etc. But this particular package is already integrated into pypi so it hardly seems worth while. I feel it's better to treat it like any other third party package since (presumably), old versions of notifications-python-client which we might need will stay up on pypi, just like any other dependency.

Security Considerations

N/A

@terrazoon terrazoon changed the title remove unneeded govuk dependencies API: Consider forking remaining Gov UK dependencies Aug 12, 2024
@terrazoon terrazoon self-assigned this Aug 12, 2024
@terrazoon terrazoon linked an issue Aug 12, 2024 that may be closed by this pull request
Copy link
Contributor

@xlorepdarkhelm xlorepdarkhelm left a comment

Choose a reason for hiding this comment

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

LGTM

@ccostino
Copy link
Contributor

@terrazoon we just need a quick sync with main again because of a couple of other PRs going ahead of this one, then we can merge it. Thank you!

Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

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

Thanks, @terrazoon!

@ccostino ccostino merged commit 6383fee into main Aug 21, 2024
7 checks passed
@ccostino ccostino deleted the notify-api-792 branch August 21, 2024 01:56
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.

API: Consider forking remaining Gov UK dependencies
3 participants