This is an automated email from the ASF dual-hosted git repository. skrawcz pushed a commit to branch stefan/update-package-names in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit ee4ad71e2ea13691a9e54c1a5136f116e829b1c2 Author: Stefan Krawczyk <[email protected]> AuthorDate: Sat Feb 21 17:00:39 2026 -0800 Convert sf-hamilton-contrib to apache-hamilton-contrib with flit - Rename package from sf-hamilton-contrib to apache-hamilton-contrib - Create new pyproject.toml with flit_core build backend - Add Apache license header - Inline version from version.py (0.0.8) - Add license and license-files fields - Remove deprecated license classifier - Update dependency from sf-hamilton to apache-hamilton - Copy LICENSE, NOTICE, DISCLAIMER files to contrib directory - Configure sdist includes/excludes - Tested: flit build --no-use-vcs succeeds - Note: setup.py still exists but will be deprecated --- contrib/DISCLAIMER | 10 +++++++ contrib/LICENSE | 6 ++-- contrib/NOTICE | 5 ++++ contrib/pyproject.toml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 96 insertions(+), 3 deletions(-) diff --git a/contrib/DISCLAIMER b/contrib/DISCLAIMER new file mode 100644 index 00000000..27d73abd --- /dev/null +++ b/contrib/DISCLAIMER @@ -0,0 +1,10 @@ +Apache Hamilton (incubating) is an effort undergoing incubation at the Apache +Software Foundation (ASF), sponsored by the Apache Incubator PMC. + +Incubation is required of all newly accepted projects until a further review +indicates that the infrastructure, communications, and decision making process +have stabilized in a manner consistent with other successful ASF projects. + +While incubation status is not necessarily a reflection of the completeness +or stability of the code, it does indicate that the project has yet to be +fully endorsed by the ASF. diff --git a/contrib/LICENSE b/contrib/LICENSE index 7193c0c1..60a996ed 100644 --- a/contrib/LICENSE +++ b/contrib/LICENSE @@ -202,12 +202,12 @@ ------------------------------- -contrib/hamilton/contrib/user/skrawcz/customize_embeddings/__init__.py is copied -from https://github.com/openai/openai-cookbook and is licensed under the MIT License. +hamilton/experimental/databackend.py is copied from https://github.com/machow/databackend +and is licensed under the MIT License. MIT License -Copyright (c) 2025 OpenAI +Copyright (c) 2024 databackend contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/contrib/NOTICE b/contrib/NOTICE new file mode 100644 index 00000000..eddfea68 --- /dev/null +++ b/contrib/NOTICE @@ -0,0 +1,5 @@ +Apache Hamilton (Incubating) +Copyright 2025-2026 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/contrib/pyproject.toml b/contrib/pyproject.toml new file mode 100644 index 00000000..7ed0247e --- /dev/null +++ b/contrib/pyproject.toml @@ -0,0 +1,78 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +[build-system] +requires = ["flit_core >=3.11,<4"] +build-backend = "flit_core.buildapi" + +[project] +name = "apache-hamilton-contrib" +version = "0.0.8" +description = "Apache Hamilton's user contributed shared dataflow library." +readme = "README.md" +requires-python = ">=3.10, <4" +license = "Apache-2.0" +license-files = ["LICENSE", "NOTICE", "DISCLAIMER"] +keywords = ["hamilton", "collaborative", "shared", "dataflow", "library", "contrib"] +authors = [ + {name = "Stefan Krawczyk", email = "[email protected]"}, + {name = "Elijah ben Izzy", email = "[email protected]"} +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +dependencies = [ + "apache-hamilton", +] + +[project.optional-dependencies] +visualization = ["apache-hamilton[visualization]"] +contribute = ["click>8.0.0", "gitpython"] + +[project.urls] +homepage = "https://www.tryhamilton.dev/" +documentation = "https://hamilton.apache.org/" +issues = "https://github.com/apache/hamilton/issues" +source = "https://github.com/apache/hamilton/contrib" + +[project.scripts] +init-dataflow = "hamilton.contribute:initialize" + +[tool.flit.module] +name = "hamilton.contrib" + +[tool.flit.sdist] +include = [ + "LICENSE", + "NOTICE", + "DISCLAIMER", + "requirements.txt", +] +exclude = [ + "tests/**", + ".git/**", + "**/__pycache__/**", + "**/*.pyc", +]
