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

Add functionality needed in pittgoogle-user repo #19

Merged
merged 55 commits into from
Jun 6, 2024

Conversation

troyraen
Copy link
Contributor

@troyraen troyraen commented Aug 3, 2023

Prompted by mwvgroup/pittgoogle-user-demos#5
Used in mwvgroup/pittgoogle-user-demos#20

Capturing some to-dos:

  • alphabetize init imports if possible. else add code comments about why the order is what it is
  • move schema registry manifest -> yaml
  • add forced photometry to alert.dataframe
  • standardize alert.msg.publish_time to a datetime (update from_cloud)
  • publish to TestPyPI and test Switch pgb-broker-utils -> pittgoogle-client pittgoogle-user-demos#20 end to end This doesn't work because then it looks on TestPyPI for other dependencies as well.

Updated changelog:

(copied from CHANGELOG.md)

Added

  • Alert and Table classes.
  • Registry for alert schemas and GCP Project IDs.
  • Alert schemas (Avro) and schema maps (yaml).
  • Exceptions: BadRequest and SchemaNotFoundError.
  • Types: PubsubMessageLike and Schema.

Changed

  • Update PubSub classes.

Removed

  • v0.1 BigQuery functions.

pittgoogle/bigquery.py Outdated Show resolved Hide resolved
pittgoogle/pubsub.py Outdated Show resolved Hide resolved
@troyraen troyraen force-pushed the issues/pittgoogle-user/5 branch 6 times, most recently from 07deb35 to d82e72d Compare January 16, 2024 22:40
@troyraen
Copy link
Contributor Author

@djperrefort can you take a look at the failing test for Build Documentation? It is complaining about distutils and numpy. The PRs that dependabot has opened (#21 thru #24) appear to have the same failure, so I don't think it's something introduced by this PR.

I did a little bit of Google searching and ended up wondering if we need to restrict to python < 3.12. Seems like we should try updating our explicit dependencies first, but I can't tell exactly what's causing the problem. I tried the more obvious numpy updates, but they didn't work.

@troyraen troyraen force-pushed the issues/pittgoogle-user/5 branch from 0ed23e0 to 95b6256 Compare February 11, 2024 03:26
@troyraen
Copy link
Contributor Author

Docs build fixed in #28

@troyraen troyraen force-pushed the issues/pittgoogle-user/5 branch from 95b6256 to 62d6c47 Compare February 11, 2024 13:08
@troyraen troyraen force-pushed the issues/pittgoogle-user/5 branch from 62d6c47 to ae38ec5 Compare February 11, 2024 13:22
@troyraen troyraen marked this pull request as ready for review June 6, 2024 19:29
@troyraen troyraen merged commit 80a82c6 into main Jun 6, 2024
10 checks passed
@troyraen troyraen deleted the issues/pittgoogle-user/5 branch June 6, 2024 19:31
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.

2 participants