Skip to content

Commit

Permalink
Merge pull request #3411 from pycaret/remove_nightly_build_bump_to_3.0.0
Browse files Browse the repository at this point in the history
Remove nightly build, bump version to 3.0.0
  • Loading branch information
Yard1 committed Mar 18, 2023
2 parents cfc1ef3 + d3b0ce9 commit 4bf7452
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 232 deletions.
98 changes: 0 additions & 98 deletions .github/CI/check_latest_commit_for_nightly.py

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/build_publish_nightly.yml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ PyCaret's default installation is a slim version of pycaret which only installs
Installing the nightly build
****************************

PyCaret is a fast-evolving machine learning library. Often, you want to have access to the latest features but want to avoid compiling PyCaret from source or waiting for the next release. Fortunately, you can now install pycaret-nightly using pip.
PyCaret is a fast-evolving machine learning library. Often, you want to have access to the latest features but want to avoid waiting for the next release. In order to do that, you can install the nightly version of PyCaret directly from GitHub.

.. code-block:: python
# install the nightly build
pip install pycaret-nightly
pip install "https://github.com/pycaret/pycaret.git#egg=pycaret"
# or install the full version of the nightly build
pip install pycaret-nightly[full]
pip install "https://github.com/pycaret/pycaret.git#egg=pycaret[full]"
PyCaret on GPU
***************
Expand Down
3 changes: 1 addition & 2 deletions pycaret/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

from pycaret.utils._show_versions import show_versions

version_ = "3.0.0.rc9"
nightly_version_ = "3.0.0"
version_ = "3.0.0"

__version__ = version_

Expand Down
8 changes: 0 additions & 8 deletions pycaret/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,9 @@ def version():
return version_


def nightly_version():
from pycaret import nightly_version_

return nightly_version_


# Hack to lazy import __version__ from `pycaret`.
# Needed to avoid a circular dependency.
def __getattr__(name):
if name in ("__version__", "version_"):
return version()
if name in ("nightly_version_"):
return nightly_version()
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def readme():

setup(
name="pycaret",
version="3.0.0.rc9",
version="3.0.0",
description="PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(),
long_description_content_type="text/markdown",
Expand Down
59 changes: 0 additions & 59 deletions setup_nightly.py

This file was deleted.

2 changes: 0 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def test_utils():
# version
version = pycaret.utils.version()
assert isinstance(version, str)
nightly_version = pycaret.utils.nightly_version()
assert isinstance(nightly_version, str)
version = pycaret.utils.__version__
assert isinstance(version, str)

Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Anomaly Detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 44,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Binary Classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Clustering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Multiclass Classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Tutorial - Time Series Forecasting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"data": {
"text/plain": [
"'3.0.0.rc9'"
"'3.0.0'"
]
},
"execution_count": 1,
Expand Down

0 comments on commit 4bf7452

Please sign in to comment.