You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by sk...@apache.org on 2025/09/23 05:27:25 UTC
(hamilton) branch add/flit updated (6feff4f3 -> 42251002)
This is an automated email from the ASF dual-hosted git repository.
skrawcz pushed a change to branch add/flit
in repository https://gitbox.apache.org/repos/asf/hamilton.git
discard 6feff4f3 Change build to use Flit
new 42251002 Adds flit to build project
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (6feff4f3)
\
N -- N -- N refs/heads/add/flit (42251002)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
hamilton/version.py | 2 +-
pyproject.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(hamilton) 01/01: Adds flit to build project
Posted by sk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
skrawcz pushed a commit to branch add/flit
in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 4225100215f903733d3f677340e3341cfc833ae6
Author: Stefan Krawczyk <st...@cs.stanford.edu>
AuthorDate: Mon Sep 22 22:26:57 2025 -0700
Adds flit to build project
We switch to flit on the recommendation of apache airflow.
Note: flit does not handle tuples for versions, so we have
to duplicate this information for now. I have submitted
a PR that they will hopefully accept to fix this.
---
pyproject.toml | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 172f9634..a5df2c0e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,12 +16,14 @@
# under the License.
[build-system]
-requires = ["setuptools>=72.1"]
-build-backend = "setuptools.build_meta"
+requires = ["flit_core >=3.11,<4"]
+build-backend = "flit_core.buildapi"
[project]
name = "sf-hamilton"
-dynamic = ["version"]
+version = "1.88.0" # NOTE: keep this in sync with hamilton/version.py
+# TODO: flip back to dynamic once flit handles tuples for version
+# dynamic = ["version"]
description = "Hamilton, the micro-framework for creating dataframes."
readme = "README.md"
requires-python = ">=3.8.1, <4"
@@ -174,7 +176,7 @@ docs = [
"xgboost",
]
-[project.entry-points.console_scripts]
+[project.scripts]
h_experiments = "hamilton.plugins.h_experiments.__main__:main"
hamilton = "hamilton.cli.__main__:cli"
hamilton-admin-build-ui = "hamilton.admin:build_ui"
@@ -272,3 +274,10 @@ exclude = ["*tests*"]
[tool.setuptools.package-data]
hamilton = ["*.json", "*.md", "*.txt"]
+
+[tool.flit.module]
+name = "hamilton"
+
+[tool.flit.sdist]
+include = ["LICENSE", "NOTICE", "DISCLAIMER"]
+exclude = []