Skip to content

Commit

Permalink
Ready for release 0.2.10 (#1197)
Browse files Browse the repository at this point in the history
Co-authored-by: Vikram Sreekanti <vsreekanti@gmail.com>
  • Loading branch information
cw75 and vsreekanti authored Apr 12, 2023
1 parent d97e16c commit 6be8f10
Show file tree
Hide file tree
Showing 29 changed files with 68 additions and 32 deletions.
39 changes: 37 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,46 @@
# Changelog

## 0.2.10
Released on April 11, 2023.

### Enhancements
* Enables subdirectory support when configuring the AWS S3 integration. When
a subdirectory is specified, everything outside of that directory will be
ignored by Aqueduct.
* Extends support for creating artifact from the local file system to [all
types](https://docs.aqueducthq.com/artifacts) supported by Aqueduct.
* If executing code on the Aqueduct server without Conda, the server will now
proactively ensure that the Python version from your environment matches
the server's Python environment. If there's a mismatch, an error will be
thrown.
* Adds a dismissable banner to the Aqueduct UI notifying users of new releases.

### Bugfixes
* Fixes bug where errors occurring during the execution of a metric were not
being properly surfaced.
* Fixes bug where checks with a severity level of warning were being shown as
errors in check history.
* Fixes bug where creating a schedule with helper functions on the SDK would
fail for monthly schedules.

## 0.2.9
Released on April 5, 2023.

### Key Features
* [Beta] Aqueduct now has support for loading dataframe and image data from
the local filesystem as parameters. See `client.create_param()` for details.
* [Beta] Aqueduct now has support for loading DataFrames and images from
the local filesystem as parameters:
```python
import aqueduct as aq
client = aq.Client()

data = client.create_param(
"df",
"/path/to/my/df.csv",
use_local=True,
as_type=aq.TableArtifact,
format='csv',
)
```

### Enhancements
* Improves the artifact storage management process. The integrations page now
Expand Down
2 changes: 1 addition & 1 deletion sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setuptools.setup(
name="aqueduct-sdk",
version="0.2.9",
version="0.2.10",
author="Aqueduct, Inc.",
author_email="hello@aqueducthq.com",
description="Python SDK for the Aqueduct prediction infrastructure",
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DEFAULT_GOAL = all
VERSION = 0.2.9
VERSION = 0.2.10

# By default, turn off the Makefile practice of printing each command before
# you run it.
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/athena.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/bigquery.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/mysql.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@spiralai.co> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/postgres.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/s3.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/snowflake.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/sqlserver.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.2.9
FROM aqueducthq/base_connector:0.2.10

MAINTAINER Aqueduct <hello@aqueducthq.com> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function310.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function37.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
typing_extensions==4.3.0 \
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10


ENV PYTHONUNBUFFERED 1
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function38.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function39.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py310_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.9
- aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py37_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.9
- aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py38_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.9
- aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py39_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.2.9
- aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements-37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ boto3==1.18.0
pydantic==1.9.0
scikit_learn==1.0.2
typing_extensions==4.3.0
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pyarrow==7.0.0
boto3==1.18.0
pydantic==1.9.0
scikit_learn==1.0.2
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pydantic==1.9.0
pyyaml
SQLAlchemy==1.4.30
typing_extensions==4.3.0
aqueduct-ml==0.2.9
aqueduct-ml==0.2.10
2 changes: 1 addition & 1 deletion src/dockerfiles/spark/spark-py37-env.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN wget --quiet https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -O aws
unzip awscliv2.zip && ./aws/install

RUN conda activate py37_env
RUN pip install conda-pack aqueduct-ml==0.2.9
RUN pip install conda-pack aqueduct-ml==0.2.10

COPY ./spark/create-conda-env.sh /

Expand Down
2 changes: 1 addition & 1 deletion src/golang/lib/constants.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package lib

const ServerVersionNumber = "0.2.9"
const ServerVersionNumber = "0.2.10"
3 changes: 2 additions & 1 deletion src/python/bin/aqueduct
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ base_directory = os.path.join(os.environ["HOME"], ".aqueduct")
server_directory = os.path.join(os.environ["HOME"], ".aqueduct", "server")
ui_directory = os.path.join(os.environ["HOME"], ".aqueduct", "ui")

package_version = "0.2.9"
package_version = "0.2.10"
aws_credentials_path = os.path.join(os.environ["HOME"], ".aws", "credentials")

default_server_port = 8080
Expand Down Expand Up @@ -287,6 +287,7 @@ def update_server_version():
# We add a couple new tables to the demo db for the v0.1.0 release.
# If we want to add tables in other releases in the future, we should refactor each of them
# into a helper function.
print("Adding new tables to the demo db...")
data_script_path = os.path.join(server_directory, "db", "0.1.0", "create_tables.py")
data_script_dir = os.path.dirname(data_script_path)
if not os.path.isdir(data_script_dir):
Expand Down
2 changes: 1 addition & 1 deletion src/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ typing_extensions>=4.3.0,<=4.4.0
Pillow<=9.4.0
packaging<=23.0
pymongo<=4.3.3
aqueduct-sdk==0.2.9
aqueduct-sdk==0.2.10
2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="aqueduct-ml",
version="0.2.9",
version="0.2.10",
install_requires=install_requires,
scripts=["bin/aqueduct"],
packages=find_packages(),
Expand Down
4 changes: 2 additions & 2 deletions src/ui/app/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@aqueducthq/ui",
"author": "Aqueduct, Inc. <hello@aqueducthq.com>",
"version": "0.2.9",
"version": "0.2.10",
"scripts": {
"start": "parcel --no-cache index.html",
"build": "parcel build --public-url /dist --dist-dir dist/default index.html",
"lint": "eslint '*/**/*.{js,ts,tsx}' --format table",
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --format table --fix"
},
"dependencies": {
"@aqueducthq/common": "0.2.9",
"@aqueducthq/common": "0.2.10",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
Expand Down
4 changes: 2 additions & 2 deletions src/ui/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ui/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aqueducthq/common",
"author": "Aqueduct <hello@aqueducthq.com>",
"version": "0.2.9",
"version": "0.2.10",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"alias": {
Expand Down

0 comments on commit 6be8f10

Please sign in to comment.