diff --git a/.github/workflows/tests_01.yml b/.github/workflows/tests_01.yml index c2471c71..a6709e17 100644 --- a/.github/workflows/tests_01.yml +++ b/.github/workflows/tests_01.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.10] + python: [3.11] env: BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }} BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }} diff --git a/.github/workflows/tests_05.yml b/.github/workflows/tests_05.yml index 0c943129..dc01250a 100644 --- a/.github/workflows/tests_05.yml +++ b/.github/workflows/tests_05.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.10] + python: [3.11] env: BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }} BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }} diff --git a/.github/workflows/tests_22.yml b/.github/workflows/tests_22.yml index a80d8668..7d2d8c87 100644 --- a/.github/workflows/tests_22.yml +++ b/.github/workflows/tests_22.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.10] + python: [3.11] env: BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }} BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }} diff --git a/.github/workflows/tests_23.yml b/.github/workflows/tests_23.yml index 2edc1e6b..859be798 100644 --- a/.github/workflows/tests_23.yml +++ b/.github/workflows/tests_23.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.10] + python: [3.11] env: BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }} BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }} diff --git a/.github/workflows/tests_36.yml b/.github/workflows/tests_36.yml index e6cfe5cd..934cfc83 100644 --- a/.github/workflows/tests_36.yml +++ b/.github/workflows/tests_36.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.10] + python: [3.11] env: BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }} BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }} diff --git a/HISTORY.rst b/HISTORY.rst index e5831890..1a63a61c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,12 @@ History ------- +9.8.0.dev (2024-02-19) +---------------------- + +- Upgrading libraries to avoid failures in Apple M1 machines. +- Fixing local predictions input data preprocessing for missings. + 9.7.1 (2023-12-08) ------------------ diff --git a/bigml/modelfields.py b/bigml/modelfields.py index 946e6078..2eb9b38a 100644 --- a/bigml/modelfields.py +++ b/bigml/modelfields.py @@ -290,7 +290,8 @@ def normalize(self, value): """ if isinstance(value, str) and not isinstance(value, str): value = str(value, "utf-8") - return None if value in self.missing_tokens else value + return None if hasattr(self, "missing_tokens") and \ + value in self.missing_tokens else value def fill_numeric_defaults(self, input_data): """Fills the value set as default for numeric missing fields if user diff --git a/bigml/version.py b/bigml/version.py index 0c8f0e8f..4e9967f4 100644 --- a/bigml/version.py +++ b/bigml/version.py @@ -1 +1 @@ -__version__ = '9.7.1' +__version__ = '9.8.0.dev' diff --git a/setup.py b/setup.py index 1414577f..824fdea2 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,8 @@ version = re.search("__version__ = '([^']+)'", open(version_py_path).read()).group(1) -TOPIC_MODELING_DEPENDENCIES = ["cython", "pystemmer==2.0.1"] -IMAGES_DEPENDENCIES = ["bigml-sensenet==0.7.0"] +TOPIC_MODELING_DEPENDENCIES = ["cython", "pystemmer==2.2.0.1"] +IMAGES_DEPENDENCIES = ["bigml-sensenet==0.7.2"] # Concatenate files into the long description file_contents = [] @@ -51,7 +51,7 @@ license="http://www.apache.org/licenses/LICENSE-2.0", setup_requires = ['pytest'], install_requires = ["unidecode", "bigml-chronos>=0.4.3", "requests", - "requests-toolbelt", "msgpack", "numpy>=1.22,<1.24", "scipy", + "requests-toolbelt", "msgpack", "numpy>=1.22", "scipy", "javascript"], extras_require={"images": IMAGES_DEPENDENCIES, "topics": TOPIC_MODELING_DEPENDENCIES,
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: