This is an automated email from the ASF dual-hosted git repository.
skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git
The following commit(s) were added to refs/heads/main by this push:
new 4696a8c0 Changes license to apache 2.0 (#1335)
4696a8c0 is described below
commit 4696a8c0394af924c63226418895eefd27334d39
Author: Stefan Krawczyk <[email protected]>
AuthorDate: Sun Jun 8 20:10:37 2025 -0700
Changes license to apache 2.0 (#1335)
* Changes license to apache 2.0
Because we're an apache project now.
* Changes BSD references to apache 2.0
There's a lot left to clean up. But this at least
changes references to BSD to apache 2.0 where
appropriate.
* Fixes whitespace
* Fixes #1314 Adds NOTICE and DISCLAIMER
Adds needed files according to ASF and #1314
* Update DISCLAIMER
Adds EOF
* Update LICENSE
Remove unneeded things
---------
Co-authored-by: Stefan Krawczyk <[email protected]>
---
CONTRIBUTING.md | 4 ++--
DISCLAIMER | 10 ++++++++++
LICENSE | 29 ++++++++++-------------------
MANIFEST.in | 2 ++
NOTICE | 5 +++++
README.md | 2 +-
SECURITY.md | 2 +-
contrib/setup.py | 2 +-
dev_tools/language_server/pyproject.toml | 2 +-
docs/get-started/license.rst | 2 +-
pyproject.toml | 4 ++--
ui/#run.sh# | 12 ++++++++++++
ui/backend/setup.py | 2 +-
ui/sdk/README.md | 2 +-
ui/sdk/pyproject.toml | 2 +-
15 files changed, 51 insertions(+), 31 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8f2be625..b515b649 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,9 +1,9 @@
# Guidance on how to contribute
-> All contributions to this project will be released under the [BSD 3-Clause
Clear License](LICENSE). .
+> All contributions to this project will be released under the [Apache 2.0
License](LICENSE). .
> By submitting a pull request or filing a bug, issue, or
> feature request, you are agreeing to comply with this waiver of copyright
> interest.
-> You're also agreeing to abide by our [Code of Conduct](CODE_OF_CONDUCT.md).
+> You're also agreeing to abide by the ASF Code of Conduct.
There are two primary ways to help:
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 00000000..27d73abd
--- /dev/null
+++ b/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/LICENSE b/LICENSE
index 368d52ca..d1b6f5bf 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,22 +1,13 @@
-Copyright (c) 2019-2022 Stitch Fix
-Copyright (c) 2023-2025 DAGWorks Inc.
-All rights reserved.
+Copyright (c) 2025-present Apache Software Foundation
-Redistribution and use in source and binary forms, with or without
modification, are permitted
-(subject to the limitations in the disclaimer below) provided that the
following conditions are met:
+Licensed 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
-* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following
-disclaimer.
-* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following
-disclaimer in the documentation and/or other materials provided with the
distribution.
-* Neither the name of Stitch Fix, DAGWorks, nor the names of its contributors
may be used to endorse or promote products derived
-from this software without specific prior written permission.
+ http://www.apache.org/licenses/LICENSE-2.0
-NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY
-THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS;
-OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
+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.
diff --git a/MANIFEST.in b/MANIFEST.in
index 223cde17..243b5fcf 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -2,3 +2,5 @@ include requirements.txt
include requirements-test.txt
include LICENSE
include *.md
+include NOTICE
+include DISCLAIMER
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 00000000..ec958129
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache Hamilton (Incubating)
+Copyright 2025 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/README.md b/README.md
index 87eab486..a1a84dd3 100644
--- a/README.md
+++ b/README.md
@@ -208,7 +208,7 @@ See our page on [Why use
Hamilton?](https://hamilton.dagworks.io/en/latest/get-s
# 📑 License
-Hamilton is released under the BSD 3-Clause Clear License. See
[LICENSE](https://github.com/DAGWorks-Inc/hamilton/blob/main/LICENSE.md) for
details.
+Hamilton is released under the Apache 2.0 License. See
[LICENSE](https://github.com/apache/hamilton/blob/main/LICENSE.md) for details.
# 🌎 Community
diff --git a/SECURITY.md b/SECURITY.md
index d2541a0b..474e2784 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -7,7 +7,7 @@
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.
diff --git a/contrib/setup.py b/contrib/setup.py
index b7c4fe9e..e2665205 100644
--- a/contrib/setup.py
+++ b/contrib/setup.py
@@ -54,7 +54,7 @@ setup(
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
- "License :: OSI Approved :: BSD License",
+ "License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
diff --git a/dev_tools/language_server/pyproject.toml
b/dev_tools/language_server/pyproject.toml
index d0b6bcff..b9d49b36 100644
--- a/dev_tools/language_server/pyproject.toml
+++ b/dev_tools/language_server/pyproject.toml
@@ -21,7 +21,7 @@ keywords = [
classifiers = [
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
"Intended Audience :: Developers",
- "License :: OSI Approved :: BSD License",
+ "License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
diff --git a/docs/get-started/license.rst b/docs/get-started/license.rst
index d3404ae5..b7f1ed48 100644
--- a/docs/get-started/license.rst
+++ b/docs/get-started/license.rst
@@ -2,7 +2,7 @@
License
=======
-Hamilton is released under the `BSD 3-Clause Clear License
<https://github.com/dagworks-inc/hamilton/blob/main/LICENSE>`_.
+Hamilton is released under the `Apache 2.0 License
<https://github.com/apache/hamilton/blob/main/LICENSE>`_.
diff --git a/pyproject.toml b/pyproject.toml
index a3aa6256..68130ffd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ dynamic = ["version"]
description = "Hamilton, the micro-framework for creating dataframes."
readme = "README.md"
requires-python = ">=3.8, <4"
-license = {text = "BSD-3-Clause"}
+license = {text = "Apache-2.0"}
keywords = ["hamilton"]
authors = [
{ name = "Stefan Krawczyk", email = "[email protected]" },
@@ -18,7 +18,7 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
- "License :: OSI Approved :: BSD License",
+ "License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
diff --git a/ui/#run.sh# b/ui/#run.sh#
new file mode 100755
index 00000000..e93e196c
--- /dev/null
+++ b/ui/#run.sh#
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+. common.sh
+
+# Check if --build parameter is passed
+if [[ $1 == "--build" ]]; then
+ # Run docker-compose up with project directory, verbose mode and build
+ docker-compose --verbose -f docker-compose-prod.yml up --build
+else
+ # Run docker-compose up with project directory and verbose mode
+ docker-compose --verbose -f docker-compose-prod.yml up
+fi
diff --git a/ui/backend/setup.py b/ui/backend/setup.py
index 2e3372a2..2db75350 100644
--- a/ui/backend/setup.py
+++ b/ui/backend/setup.py
@@ -34,7 +34,7 @@ setup(
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
- "License :: OSI Approved :: BSD License",
+ "License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
diff --git a/ui/sdk/README.md b/ui/sdk/README.md
index d2b986f2..4e306f3c 100644
--- a/ui/sdk/README.md
+++ b/ui/sdk/README.md
@@ -62,4 +62,4 @@ Hamilton UI. After spinning up the Hamilton UI application,
visit it to see your
# License
-The code here is licensed under the BSD-3 Clear Clause license. See the main
repository [LICENSE](../../LICENSE) for details.
+The code here is licensed under the Apache 2.0 license. See the main
repository [LICENSE](../../LICENSE) for details.
diff --git a/ui/sdk/pyproject.toml b/ui/sdk/pyproject.toml
index f0dc98ce..db8a67c2 100644
--- a/ui/sdk/pyproject.toml
+++ b/ui/sdk/pyproject.toml
@@ -15,7 +15,7 @@ classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
- "License :: OSI Approved :: BSD License",
+ "License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",