GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
603 stars 96 forks source link

Publish datagov-harvesting-logic to PyPi #4544

Closed btylerburton closed 3 weeks ago

btylerburton commented 9 months ago

User Story

In order to fully test integration of the datagov-harvesting-logic library, and to begin benchmarking tests against real cloud infrastructure, the datagovteam would like to publish the datagov-harvesting-logic module to PyPi.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

robert-bryson commented 9 months ago

With https://github.com/GSA/datagov-harvesting-logic/pull/23 and https://github.com/GSA/datagov-harvester/pull/6, this should be done.

robert-bryson commented 9 months ago

For evidence:

Image

A log string from the extract() function in datagov-harvesting-logic being printed by a DAG running in a local dockerized instance of datagov-harvester.

Also, with https://github.com/GSA/datagov-harvesting-logic/pull/25, it looks like a test run successfully publishes as https://pypi.org/project/datagov-harvesting-logic/0.0.3.post1/.