Skip to content

Commit

Permalink
Hotfix 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xandaau committed Apr 21, 2023
1 parent f2778ab commit 89a4194
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
=============

Version 0.4.1 (21.04.2023)
---------------------------

Hotfix for pyspark import in spark criteria.

Version 0.4.0 (21.04.2023)
---------------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ using ``pip`` extras during the installation.

.. code:: bash
pip install ambrosia[pyspark]
pip install ambrosia[spark]
.. usage
Expand Down
2 changes: 1 addition & 1 deletion ambrosia/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0
0.4.1
5 changes: 2 additions & 3 deletions ambrosia/spark_tools/stat_criteria.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
from typing import List, Tuple

import numpy as np
import pyspark.sql.functions as F
import scipy.stats as sps
from pyspark.sql.functions import col, row_number
from pyspark.sql.window import Window

import ambrosia.tools.pvalue_tools as pvalue_pkg
import ambrosia.tools.theoretical_tools as theory_pkg
Expand All @@ -30,6 +27,8 @@

if spark_installed():
import pyspark.sql.functions as F
from pyspark.sql.functions import col, row_number
from pyspark.sql.window import Window


class ABSparkCriterion(ABStatCriterion):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Ambrosia"
version = "0.4.0"
version = "0.4.1"
description = "A Python library for working with A/B tests."
license = "Apache-2.0"
authors = [
Expand Down

0 comments on commit 89a4194

Please sign in to comment.