Skip to content

Commit 52227c8

Browse files
committed
Address review: rename remaining sf-hamilton references in Dockerfile, conda script, and jinja2 template
1 parent 585ccaa commit 52227c8

5 files changed

Lines changed: 27 additions & 28 deletions

File tree

contrib/docs/templates/driver_builder.py.jinja2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ from hamilton.execution import executors
1111
{%- endif %}
1212
{%- else %}
1313
{%- if is_user %}
14-
# Make sure you've done - `pip install sf-hamilton-contrib --upgrade`
14+
# Make sure you've done - `pip install apache-hamilton-contrib --upgrade`
1515
from hamilton.contrib.user.{{USER}} import {{MODULE_NAME}}
1616
{%- else %}
17-
# Make sure you've done - `pip install sf-hamilton-contrib --upgrade`
17+
# Make sure you've done - `pip install apache-hamilton-contrib --upgrade`
1818
from hamilton.contrib.dagworks import {{MODULE_NAME}}
1919
{%- endif %}
2020
{%- endif %}
@@ -32,7 +32,7 @@ dr = (
3232
.with_modules({{MODULE_NAME}})
3333
.build()
3434
)
35-
# If you have sf-hamilton[visualization] installed, you can see the dataflow graph
35+
# If you have apache-hamilton[visualization] installed, you can see the dataflow graph
3636
# In a notebook this will show an image, else pass in arguments to save to a file
3737
# dr.display_all_functions()
3838
# Execute the dataflow, specifying what you want back. Will return a dictionary.

examples/snowflake/hamilton_ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FROM python:3.13.1-slim
1919

2020
RUN apt update
2121
RUN apt upgrade sqlite3 -y
22-
RUN pip install "sf-hamilton[ui,sdk]"
22+
RUN pip install "apache-hamilton[ui,sdk]"
2323
RUN pip install flask
2424

2525
ENV HAMILTON_ALLOWED_HOSTS=".snowflakecomputing.app"

scripts/build_conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ CONDA_HOME=$HOME/anaconda3
2020
# This is a script to create and build hamilton for conda.
2121
# Be sure you have conda activated and have logged into anaconda
2222
# conda activate && anaconda login
23-
pkg='sf-hamilton'
23+
pkg='apache-hamilton'
2424
# adjust the Python versions you would like to build
2525
array=(3.10 3.11 3.12 3.13)
2626
echo "Building conda package ..."
2727
cd ~
28-
# this will create a ~/sf-hamilton directory with metadata to build the package.
28+
# this will create a ~/apache-hamilton directory with metadata to build the package.
2929
# will error if it already exists.
3030
conda skeleton pypi $pkg
3131

ui/backend/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ build-backend = "flit_core.buildapi"
2323
name = "apache-hamilton-ui"
2424
version = "0.0.17"
2525
description = "Apache Hamilton UI tracking server for dataflow visualization and monitoring."
26-
requires-python = ">=3.10, <4"
26+
requires-python = ">=3.10.1, <4"
2727
license = "Apache-2.0"
2828
license-files = ["LICENSE", "NOTICE", "DISCLAIMER"]
2929
keywords = ["hamilton", "ui", "tracking", "visualization"]
@@ -56,7 +56,7 @@ dependencies = [
5656
"psycopg2-binary",
5757
"pydantic>=2.0.0",
5858
"requests>=2.32.0",
59-
"apache-hamilton>=1.58.0",
59+
"apache-hamilton>=1.90.0",
6060
"typer",
6161
]
6262

ui/backend/uv.lock

Lines changed: 19 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)