You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is tied to cfpb/regtech-api-commons#195 since regtech-api-commons depends on this package, I first will be pushing regtech-regex then regtech-api-commons. See notes below.
The text was updated successfully, but these errors were encountered:
An account needs to be created for Pypi and Test Pypi (separately). Account requires name, email, and password so need to determine who from CFPB will control that account.
To generate API tokens, you have to set 2FA. This means using Google Authenticator or some other app (I used GA)
API tokens can be generated per package or for the entire account. I found generating tokens on a per package basis less problematic and apparently is the preferred approach.
I was not able to get poetry to publish regtech-regex nicely because of the yaml file we include. Hatch worked easily. So for regtech-regex, doing brew install hatch and using it is preferred.
API tokens can be set as environment variables using HATCH_INDEX_AUTH=<token> with a HATCH_INDEX_USER=__token__
Publishing does not allow overwriting existing published packages, so either you have to remove the existing, or always increment the version number
Steps to build and publish are simply:
a. hatch build
b. hatch publish -r test
Look into process of getting regtech-regex into TestPypi https://test.pypi.org/project/regtech-regex/
This is tied to cfpb/regtech-api-commons#195 since regtech-api-commons depends on this package, I first will be pushing regtech-regex then regtech-api-commons. See notes below.
The text was updated successfully, but these errors were encountered: