-
Notifications
You must be signed in to change notification settings - Fork 95
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
Update release workflow #732
Conversation
… and prod pypi, and to publish to both packages on pypi
The skipped/failing I triggered the gh workflow run publish.yml \
--ref actions/public-pypi-deploy \
-f deploy-to=test \
-f branch=actions/public-pypi-deploy Workflow run: https://github.com/dbt-labs/dbt-athena/actions/runs/11300329526 I can verify that installing # create a virtual environment with only pip and setuptools installed
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools
pip list
Package Version
---------- -------
pip 24.2
setuptools 75.1.0
# install dbt-athena-community from test PyPI to get the version in this PR
pip install dbt-athena-community==1.8.5rc1 \
--index https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/
# we get both dbt-athena-community and dbt-athena
pip list | grep dbt-athena
dbt-athena 1.8.5rc1
dbt-athena-community 1.8.5rc1 Since |
Description
This PR does multiple things that are all closely related:
Migrate to
hatch
Take the existing
dbt-athena-community
package and rename itdbt-athena
.dbt-athena-community
intodbt-athena
namespace package.pre-commit-config.yaml
pyproject.toml
fordbt-athena
Makefile
,MANIFEST.in
,dev-requirements.txt
,pytest.ini
,setup.py
ci
,functional-tests
, andfunctional-tests-workflow
workflows to point to the new targetsCreate
dbt-athena-community
shell packageCreate a new
dbt-athena-community
package that is a simple wrapper arounddbt-athena
to preserve backwards compatibility.dbt-athena-community
namespace packagepyproject.toml
fordbt-athena-community
ci
,functional-tests
, andfunctional-tests-workflow
workflows to take the package as an input, defaulted todbt-athena
Update release
Standardize workflows
ci:integration-tests
to optionally run integration tests during a pr (useful for not running on forks automatically, or skipping integration tests on small changes)Update docs
CONTRIBUTING.md
RELEASING.md
Checklist