From guetlein at posteo.de Wed Jun 14 03:13:47 2023 From: guetlein at posteo.de (=?UTF-8?Q?Martin_G=C3=BCtlein?=) Date: Wed, 14 Jun 2023 07:13:47 +0000 Subject: [scikit-learn] =?utf-8?q?version_warning_-_do_I_have_to_fix_the_?= =?utf-8?q?minor_version_when_unpickling=3F?= Message-ID: Hi, I just got the warning: "site-packages/sklearn/base.py:318: UserWarning: Trying to unpickle estimator DecisionTreeRegressor from version 1.1.2 when using version 1.2.2. This might lead to breaking code or invalid results. Use at your own risk". because I only fixed the major version (i.e, my dependency is "scikit-learn>=1,<2"). I assumed that code version 1.2 is compatible to pickeled models from version 1.1. Is this not true? Do I have to change to fix the minor version instead (i.e., use "scikit-learn>=1.2,<1.3")? Kind regards, Martin From g.lemaitre58 at gmail.com Wed Jun 14 12:24:16 2023 From: g.lemaitre58 at gmail.com (=?UTF-8?Q?Guillaume_Lema=C3=AEtre?=) Date: Wed, 14 Jun 2023 18:24:16 +0200 Subject: [scikit-learn] version warning - do I have to fix the minor version when unpickling? In-Reply-To: References: Message-ID: Hi Martin, The public API is stable but the internal can change which can affect the pickle. For instance, calling a missing private function that does not exist can happen. Since that we don?t guarantee any support in this regard, this is the reason why a warning is raised even between minor or patch version. Cheers, On Wed, 14 Jun 2023 at 09:34, Martin G?tlein wrote: > Hi, > > I just got the warning: > > "site-packages/sklearn/base.py:318: UserWarning: Trying to unpickle > estimator DecisionTreeRegressor from version 1.1.2 when using version > 1.2.2. This might lead to breaking code or invalid results. Use at your > own risk". > > because I only fixed the major version (i.e, my dependency is > "scikit-learn>=1,<2"). I assumed that code version 1.2 is compatible to > pickeled models from version 1.1. Is this not true? > > Do I have to change to fix the minor version instead (i.e., use > "scikit-learn>=1.2,<1.3")? > > Kind regards, > Martin > > _______________________________________________ > scikit-learn mailing list > scikit-learn at python.org > https://mail.python.org/mailman/listinfo/scikit-learn > -- Guillaume Lemaitre Scikit-learn @ Inria Foundation https://glemaitre.github.io/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From guetlein at posteo.de Thu Jun 15 02:47:26 2023 From: guetlein at posteo.de (=?UTF-8?Q?Martin_G=C3=BCtlein?=) Date: Thu, 15 Jun 2023 06:47:26 +0000 Subject: [scikit-learn] =?utf-8?q?version_warning_-_do_I_have_to_fix_the_?= =?utf-8?q?minor_version_when_unpickling=3F?= In-Reply-To: References: Message-ID: <70113514fc5d4cae7b6626a5438344bc@posteo.de> Hi Guillaume, thanks for your swift reply. So that means we should even fix the patch version, right? And, this goes into both directions? So the service executing the code should not have a newer version, not even a patch, then the version the pickeled model was built with? Cheers, Martin Am 14.06.2023 18:24 schrieb Guillaume Lema?tre: > Hi Martin, > > The public API is stable but the internal can change which can affect > the pickle. > For instance, calling a missing private function that does not exist > can happen. > Since that we don?t guarantee any support in this regard, this is > the reason why a warning is raised even between minor or patch > version. > > Cheers, > > On Wed, 14 Jun 2023 at 09:34, Martin G?tlein > wrote: > >> Hi, >> >> I just got the warning: >> >> "site-packages/sklearn/base.py:318: UserWarning: Trying to unpickle >> >> estimator DecisionTreeRegressor from version 1.1.2 when using >> version >> 1.2.2. This might lead to breaking code or invalid results. Use at >> your >> own risk". >> >> because I only fixed the major version (i.e, my dependency is >> "scikit-learn>=1,<2"). I assumed that code version 1.2 is >> compatible to >> pickeled models from version 1.1. Is this not true? >> >> Do I have to change to fix the minor version instead (i.e., use >> "scikit-learn>=1.2,<1.3")? >> >> Kind regards, >> Martin >> >> _______________________________________________ >> scikit-learn mailing list >> scikit-learn at python.org >> https://mail.python.org/mailman/listinfo/scikit-learn [1] > > -- > > Guillaume Lemaitre > > Scikit-learn @ Inria Foundation > https://glemaitre.github.io/ [2] > > Links: > ------ > [1] https://mail.python.org/mailman/listinfo/scikit-learn > [2] https://glemaitre.github.io/ > > _______________________________________________ > scikit-learn mailing list > scikit-learn at python.org > https://mail.python.org/mailman/listinfo/scikit-learn From g.lemaitre58 at gmail.com Thu Jun 15 04:12:04 2023 From: g.lemaitre58 at gmail.com (=?UTF-8?Q?Guillaume_Lema=C3=AEtre?=) Date: Thu, 15 Jun 2023 10:12:04 +0200 Subject: [scikit-learn] version warning - do I have to fix the minor version when unpickling? In-Reply-To: <70113514fc5d4cae7b6626a5438344bc@posteo.de> References: <70113514fc5d4cae7b6626a5438344bc@posteo.de> Message-ID: On Thu, 15 Jun 2023 at 08:47, Martin G?tlein wrote: > Hi Guillaume, > > thanks for your swift reply. So that means we should even fix the patch > version, right? > Indeed, this is the safest. Be aware that you can always try a newer version but it would require a good stress test to be sure that the underlying private API did not change. I can understand that it might be difficult to do so. Regarding versioning, when releasing a new patch version, we only include bug fixes. So it should be limited changes and localized change but we do not constrain ourselves to not change the private functions if it is required. > And, this goes into both directions? So the service executing the code > should not have a newer version, not even a patch, then the version the > pickeled model was built with? > Indeed, once you unpickled the model and interact with it, you should be in an environment that has the same version as the pickle to be safe. > > Cheers, Martin > > > Am 14.06.2023 18:24 schrieb Guillaume Lema?tre: > > Hi Martin, > > > > The public API is stable but the internal can change which can affect > > the pickle. > > For instance, calling a missing private function that does not exist > > can happen. > > Since that we don?t guarantee any support in this regard, this is > > the reason why a warning is raised even between minor or patch > > version. > > > > Cheers, > > > > On Wed, 14 Jun 2023 at 09:34, Martin G?tlein > > wrote: > > > >> Hi, > >> > >> I just got the warning: > >> > >> "site-packages/sklearn/base.py:318: UserWarning: Trying to unpickle > >> > >> estimator DecisionTreeRegressor from version 1.1.2 when using > >> version > >> 1.2.2. This might lead to breaking code or invalid results. Use at > >> your > >> own risk". > >> > >> because I only fixed the major version (i.e, my dependency is > >> "scikit-learn>=1,<2"). I assumed that code version 1.2 is > >> compatible to > >> pickeled models from version 1.1. Is this not true? > >> > >> Do I have to change to fix the minor version instead (i.e., use > >> "scikit-learn>=1.2,<1.3")? > >> > >> Kind regards, > >> Martin > >> > >> _______________________________________________ > >> scikit-learn mailing list > >> scikit-learn at python.org > >> https://mail.python.org/mailman/listinfo/scikit-learn [1] > > > > -- > > > > Guillaume Lemaitre > > > > Scikit-learn @ Inria Foundation > > https://glemaitre.github.io/ [2] > > > > Links: > > ------ > > [1] https://mail.python.org/mailman/listinfo/scikit-learn > > [2] https://glemaitre.github.io/ > > > > _______________________________________________ > > scikit-learn mailing list > > scikit-learn at python.org > > https://mail.python.org/mailman/listinfo/scikit-learn > -- Guillaume Lemaitre Scikit-learn @ Inria Foundation https://glemaitre.github.io/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremie.du-boisberranger at inria.fr Thu Jun 15 15:31:18 2023 From: jeremie.du-boisberranger at inria.fr (Jeremie du Boisberranger) Date: Thu, 15 Jun 2023 21:31:18 +0200 Subject: [scikit-learn] [ANN] scikit-learn 1.3.0rc1 is online! In-Reply-To: References: <5f1f099d-371a-3127-8bff-dc51d6439cce@inria.fr> Message-ID: Hi everyone, Please help us test the first release candidate for scikit-learn 1.3.0: ?? pip install scikit-learn==1.3.0rc1 Changelog:https://scikit-learn.org/1.3/whats_new/v1.3.html In particular, if you maintain a project with a dependency on scikit-learn, please let us know about any regression. Thanks to everyone who contributed to this release! J?r?mie, on behalf of the scikit-learn maintainer team. From g.lemaitre58 at gmail.com Fri Jun 16 02:09:23 2023 From: g.lemaitre58 at gmail.com (=?UTF-8?Q?Guillaume_Lema=C3=AEtre?=) Date: Fri, 16 Jun 2023 08:09:23 +0200 Subject: [scikit-learn] [ANN] scikit-learn 1.3.0rc1 is online! In-Reply-To: References: <5f1f099d-371a-3127-8bff-dc51d6439cce@inria.fr> Message-ID: Thank you Jeremie for taking care of this release. On Thu, 15 Jun 2023 at 21:33, Jeremie du Boisberranger < jeremie.du-boisberranger at inria.fr> wrote: > Hi everyone, > > Please help us test the first release candidate for scikit-learn 1.3.0: > > pip install scikit-learn==1.3.0rc1 > > Changelog:https://scikit-learn.org/1.3/whats_new/v1.3.html > > In particular, if you maintain a project with a dependency on > scikit-learn, please let us know about any regression. > > Thanks to everyone who contributed to this release! > > > J?r?mie, > > on behalf of the scikit-learn maintainer team. > > _______________________________________________ > scikit-learn mailing list > scikit-learn at python.org > https://mail.python.org/mailman/listinfo/scikit-learn > -- Guillaume Lemaitre Scikit-learn @ Inria Foundation https://glemaitre.github.io/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gael.varoquaux at normalesup.org Fri Jun 16 02:50:59 2023 From: gael.varoquaux at normalesup.org (Gael Varoquaux) Date: Fri, 16 Jun 2023 08:50:59 +0200 Subject: [scikit-learn] [ANN] scikit-learn 1.3.0rc1 is online! In-Reply-To: References: <5f1f099d-371a-3127-8bff-dc51d6439cce@inria.fr> Message-ID: <20230616065059.xnn46chajo2q7wdg@gaellaptop> Yes indeed. Thank you heaps J?r?mie!! Ga?l On Fri, Jun 16, 2023 at 08:09:23AM +0200, Guillaume Lema?tre wrote: > Thank you Jeremie for taking care of this release. > On Thu, 15 Jun 2023 at 21:33, Jeremie du Boisberranger < > jeremie.du-boisberranger at inria.fr> wrote: > Hi everyone, > Please help us test the first release candidate for scikit-learn 1.3.0: > ??? pip install scikit-learn==1.3.0rc1 > Changelog:https://scikit-learn.org/1.3/whats_new/v1.3.html > In particular, if you maintain a project with a dependency on > scikit-learn, please let us know about any regression. > Thanks to everyone who contributed to this release! > J?r?mie, > on behalf of the scikit-learn maintainer team. > _______________________________________________ > scikit-learn mailing list > scikit-learn at python.org > https://mail.python.org/mailman/listinfo/scikit-learn -- Gael Varoquaux Research Director, INRIA http://gael-varoquaux.info http://twitter.com/GaelVaroquaux From betatim at gmail.com Wed Jun 21 08:00:30 2023 From: betatim at gmail.com (Tim Head) Date: Wed, 21 Jun 2023 14:00:30 +0200 Subject: [scikit-learn] Nightly wheels now uploaded to a new location Message-ID: Hello all, The location to which the scikit-learn nightly wheels are uploaded has changed. They are now hosted at: https://anaconda.org/scientific-python-nightly-wheels. We will no longer upload wheels to the old location. Please update your CI and other tools where you make use of the nightlies to refer to the new location. The instructions for how to use the nightlies ( https://scikit-learn.org/dev/developers/advanced_installation.html#installing-nightly-builds) have been updated. The other wheels (numpy, scipy, etc) that used to be uploaded to the old location have also been moved. Please let us know about problems you find by replying to https://github.com/scikit-learn/scikit-learn/pull/26417. Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremie.du-boisberranger at inria.fr Fri Jun 30 04:11:47 2023 From: jeremie.du-boisberranger at inria.fr (Jeremie du Boisberranger) Date: Fri, 30 Jun 2023 10:11:47 +0200 Subject: [scikit-learn] [ANN] scikit-learn 1.3.0 release In-Reply-To: <74c75b0c-3729-57fe-22ff-0b37b062f9ed@inria.fr> References: <74c75b0c-3729-57fe-22ff-0b37b062f9ed@inria.fr> Message-ID: Hi everyone, We're happy to announce the 1.3.0 release which you can install via pip or conda: ??? pip install -U scikit-learn or (soon) ??? conda install -c conda-forge scikit-learn You can read the release highlights under https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_3_0.html and the long list of the changes under https://scikit-learn.org/stable/whats_new/v1.3.html This version supports Python versions 3.8 to 3.11. Thanks to all contributors who helped on this release ! J?r?mie, On behalf of the scikit-learn maintainers team. From g.lemaitre58 at gmail.com Fri Jun 30 04:33:50 2023 From: g.lemaitre58 at gmail.com (=?UTF-8?Q?Guillaume_Lema=C3=AEtre?=) Date: Fri, 30 Jun 2023 10:33:50 +0200 Subject: [scikit-learn] [ANN] scikit-learn 1.3.0 release In-Reply-To: References: <74c75b0c-3729-57fe-22ff-0b37b062f9ed@inria.fr> Message-ID: Thank you Jeremie to have taking care of this release. On Fri, 30 Jun 2023 at 10:13, Jeremie du Boisberranger < jeremie.du-boisberranger at inria.fr> wrote: > Hi everyone, > > We're happy to announce the 1.3.0 release which you can install via pip > or conda: > > pip install -U scikit-learn > > or (soon) > > conda install -c conda-forge scikit-learn > > > You can read the release highlights under > > https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_3_0.html > and the long list of the changes under > https://scikit-learn.org/stable/whats_new/v1.3.html > > This version supports Python versions 3.8 to 3.11. > > Thanks to all contributors who helped on this release ! > > J?r?mie, > On behalf of the scikit-learn maintainers team. > _______________________________________________ > scikit-learn mailing list > scikit-learn at python.org > https://mail.python.org/mailman/listinfo/scikit-learn > -- Guillaume Lemaitre Scikit-learn @ Inria Foundation https://glemaitre.github.io/ -------------- next part -------------- An HTML attachment was scrubbed... URL: