Skip to content

Commit

Permalink
Merge branch 'sematic-ai:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcribb authored Jan 13, 2025
2 parents 5d740e4 + 0f8e256 commit 4d56978
Show file tree
Hide file tree
Showing 141 changed files with 75 additions and 19,072 deletions.
1 change: 0 additions & 1 deletion .bazelignore

This file was deleted.

4 changes: 0 additions & 4 deletions .bazelrc

This file was deleted.

163 changes: 0 additions & 163 deletions .circleci/config.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .circleci/retry

This file was deleted.

76 changes: 0 additions & 76 deletions BUILD

This file was deleted.

8 changes: 0 additions & 8 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
Copyright (c) 2023-present Sematic Inc.

Portions of this software are licensed as follows:

* All content that resides under the "sematic/ee/" directory of this repository, if that directory exists, is licensed under the license defined in "sematic/ee/LICENSE".
* All third party components incorporated into the Sematic Software are licensed under the original license provided by the owner of the applicable component.
* Content outside of the above mentioned directories or restrictions above is available under the "Apache 2" license as defined below.

Apache License
==============

Expand Down
34 changes: 6 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ migrate_down_sqlite:
clear_sqlite:
sqlite3 ~/.sematic/db.sqlite3 < sematic/db/scripts/clear_all.sql

install-dev-deps:
pip3 install -r requirements/ci-requirements.txt

pre-commit:
uvx ruff format --check
uvx ruff check --fix sematic
Expand Down Expand Up @@ -63,22 +60,6 @@ worker-image:
sematic/ui/build:
@$(MAKE) ui

wheel : sematic/ui/build
rm -f bazel-bin/sematic/*.whl
rm -f bazel-bin/sematic/ee/*.whl
cat README.md | \
grep -v "<img" | \
grep -v "<p" | \
grep -v "/p>" | \
grep -v "<h2" | \
grep -v "/h2>" | \
grep -v "<h3" | \
grep -v "/h3>" | \
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
bazel build //sematic:wheel

uv-wheel:
cat README.md | \
grep -v "<img" | \
Expand All @@ -91,10 +72,8 @@ uv-wheel:
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
# source .venv/bin/activate && python3 -m pandoc read --format=markdown README.nohtml
cp BUILD tmp.BUILD
rm -rf dist build src/*.egg-info
uvx pip wheel -w dist . && rm -rf build && mv tmp.BUILD BUILD
uvx pip wheel -w dist . && rm -rf build
rm README.nohtml

test-release:
Expand All @@ -107,13 +86,12 @@ release:
release-server:
rm -f docker/*.whl
cp ./dist/*sematic*.whl docker/
cd docker; docker build --build-arg EXTRA=default -t sematic/sematic-server:${TAG} -f Dockerfile.server .
cd docker; docker build --build-arg EXTRA=all -t sematic/sematic-server:${TAG} -f Dockerfile.server .
docker push sematic/sematic-server:${TAG}
cd docker; docker build --build-arg EXTRA=all -t sematic/sematic-server-ee:${TAG} -f Dockerfile.server .
# alias the ee server to be the same as the non-ee server for anybody
# who continues to rely on the ee tag.
docker image tag sematic/sematic-server:${TAG} sematic/sematic-server-ee:${TAG}
docker push sematic/sematic-server-ee:${TAG}

test:
bazel test //sematic/... --test_tag_filters=nocov --test_output=all

coverage:
bazel coverage //sematic/... --combined_report=lcov --test_tag_filters=cov --test_output=all
source .venv/bin/activate && pytest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<h3 align="center">Build ML pipelines with only Python, run on your laptop, or in the cloud.</h3>

![PyPI](https://img.shields.io/pypi/v/sematic/0.40.0?style=for-the-badge)
![PyPI](https://img.shields.io/pypi/v/sematic/0.41.0?style=for-the-badge)
[![CircleCI](https://img.shields.io/circleci/build/github/sematic-ai/sematic/main?label=CircleCI&style=for-the-badge&token=60d1953bfee5b6bf8201f8e84a10eaa5bf5622fe)](https://app.circleci.com/pipelines/github/sematic-ai/sematic?branch=main&filter=all)
![PyPI - License](https://img.shields.io/pypi/l/sematic?style=for-the-badge)
[![Python 3.9](https://img.shields.io/badge/Python-3.9-blue?style=for-the-badge&logo=none)](https://python.org)
Expand Down
Loading

0 comments on commit 4d56978

Please sign in to comment.