Releasing SymPy 1.12

92 views
Skip to first unread message

Oscar Benjamin

unread,
Jan 26, 2023, 7:52:13 AM1/26/23
to sympy
Hi all,

I'm thinking about putting out a release of SymPy 1.12 soon.

Does anyone know of any issues that should be resolved before release?

The current release notes for 1.12 are here:
https://github.com/sympy/sympy/wiki/release-notes-for-1.12

--
Oscar

Oscar Benjamin

unread,
Jan 26, 2023, 7:56:37 AM1/26/23
to sympy
I've opened an issue to track releasing SymPy 1.12:
https://github.com/sympy/sympy/issues/24601

David Bailey

unread,
Jan 26, 2023, 3:28:11 PM1/26/23
to sy...@googlegroups.com
On 26/01/2023 12:56, Oscar Benjamin wrote:
> I've opened an issue to track releasing SymPy 1.12:
> https://github.com/sympy/sympy/issues/24601
>
I went ahead and installed what I thought would be sympy 1.12, but ended
up re-installing 1.11.1 !

David

Oscar Benjamin

unread,
Jan 26, 2023, 3:49:04 PM1/26/23
to sy...@googlegroups.com
Hi David,

There is nothing on PyPI to install yet but if you are using pip for
installation then you can install the latest development version of
sympy from github like this:

pip install git+https://github.com/sympy/sympy.git@master

That works for me but actually I'm not sure if that requires having
git installed (which you might not have)...

Let me know if it works!

--
Oscar

Aaron Meurer

unread,
Jan 26, 2023, 3:54:41 PM1/26/23
to sy...@googlegroups.com
On Thu, Jan 26, 2023 at 1:49 PM Oscar Benjamin <oscar.j....@gmail.com> wrote:
On Thu, 26 Jan 2023 at 20:28, David Bailey <da...@dbailey.co.uk> wrote:
>
> On 26/01/2023 12:56, Oscar Benjamin wrote:
> > I've opened an issue to track releasing SymPy 1.12:
> > https://github.com/sympy/sympy/issues/24601
> >
> I went ahead and installed what I thought would be sympy 1.12, but ended
> up re-installing 1.11.1 !

Hi David,

There is nothing on PyPI to install yet but if you are using pip for
installation then you can install the latest development version of
sympy from github like this:

pip install git+https://github.com/sympy/sympy.git@master

FWIW, I wouldn't recommend most users do this, unless there's a specific change in the git version that you need and you can't wait for a release for. If you do do it, I recommend at least doing it in a separate virtual environment. 

The SymPy git master is stable in the sense that the tests all pass, but there could be features added or removed there without warning before the final release. Furthermore, it moves quite quickly, so unless you rerun that pip install command often, you will be stuck with a random snapshot of the development repo. Typically the only "snapshots" of the SymPy repo you'd want to install are the actual releases.

Alternatively, if you are only using SymPy interactively, you can clone the SymPy git repository and run Python (or Jupyter or IPython) from that directory, without installing it.

Aaron Meurer



That works for me but actually I'm not sure if that requires having
git installed (which you might not have)...

Let me know if it works!

--
Oscar

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxQ9Q_ejpa-urW2Aq2athEpm8JRcjfcNXy-u4zD6%3DssAkg%40mail.gmail.com.

David Bailey

unread,
Jan 26, 2023, 4:14:35 PM1/26/23
to sy...@googlegroups.com
On 26/01/2023 20:48, Oscar Benjamin wrote:
>
> Hi David,
>
> There is nothing on PyPI to install yet but if you are using pip for
> installation then you can install the latest development version of
> sympy from github like this:
>
> pip install git+https://github.com/sympy/sympy.git@master
>
> That works for me but actually I'm not sure if that requires having
> git installed (which you might not have)...
>
> Let me know if it works!
>
Thanks Oscar, but I'll wait until it is completely released. It is just
that your message seemed to imply it was ready for installation.

David

David Bailey

unread,
Mar 3, 2023, 4:32:20 PM3/3/23
to sy...@googlegroups.com
Oscar,

The release of SymPy 1.12 seemed to be very close, but nothing has
happened!

It doesn't really matter to me, but it would be interesting to explore
whatever is new.

David

Oscar Benjamin

unread,
Mar 3, 2023, 6:30:19 PM3/3/23
to sy...@googlegroups.com
Hi David,

I should have sent an announcement to the mailing list. I have a todo list here:
https://github.com/sympy/sympy/issues/24601

The release branch for 1.12 is now created. As of now any new PRs
merged will not go into 1.12 unless they are explicitly backported.
Creating the release branch took more time than expected last weekend
because a new bug in CPython 3.12 (not yet released) emerged:
https://github.com/python/cpython/issues/102250

The next step is I need to find time to look through the issues tagged
for the release:
https://github.com/sympy/sympy/milestone/63

Then I can put out a release candidate which hopefully will lead
directly to the release.

Oscar

Oscar Benjamin

unread,
Mar 3, 2023, 6:34:09 PM3/3/23
to sy...@googlegroups.com
On Fri, 3 Mar 2023 at 23:29, Oscar Benjamin <oscar.j....@gmail.com> wrote:
>
> On Fri, 3 Mar 2023 at 21:32, David Bailey <da...@dbailey.co.uk> wrote:
> >
> > Oscar,
> >
> > The release of SymPy 1.12 seemed to be very close, but nothing has
> > happened!
> >
> > It doesn't really matter to me, but it would be interesting to explore
> > whatever is new.
>
> Hi David,
>
> I should have sent an announcement to the mailing list. I have a todo list here:
> https://github.com/sympy/sympy/issues/24601

I just ticked off "Announce release branch to mailing list".

If anyone knows of anything important that should be fixed before
release then please say so (and add the 1.12 milestone if you have
permissions to do so).

--
Oscar

S.Y. Lee

unread,
Mar 5, 2023, 5:20:06 AM3/5/23
to sympy
>  Alternatively, if you are only using SymPy interactively, you can clone the SymPy git repository and run Python (or Jupyter or IPython) from that directory, without installing it.

Unfortunately, I don't recommend this because that makes jupyter notebooks appear on the git diff.
There are ways to install sympy editable by "pip install -e <sympy directory>"
Also I think that it should be worth noting how to set up ediable sympy in more modern virtual environment, like pipenv or poetry
 because that can be a good tutorial to contribute to sympy codebase, while using the editable version.
Reply all
Reply to author
Forward
0 new messages