Skip to content

Commit c353490

Browse files
author
Dorian Birraux
committed
Merge pull request #200 in LCL/wolframclientforpython from feature/preparing-release-1.1.0 to master
* commit '4016fa4fe35fc2bfa22582c3713e5af6b6005ac6': update authors in about.py Fix duplicate in changelog after conflict resolution run refactor Update python version Update Paclet version update changelog Adding link to blog post.
2 parents 90f5e16 + 4016fa4 commit c353490

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Version 1.1.0
22
- WXF deserialization maps `List` to `tuple`, was `list` before for two reasons. `List` and tuple are immutable. `tuple` contrary to `list` are hashable object and as such can be keys in `dict`.
33
- WXF deserialization maps numeric arrays to `NumPy` arrays. Numpy being a pre-requisite of the library, and lazily loaded, this change will boost performances while causing very little trouble, if any.
4-
- Use `black` code formatter.
54
- Fix bug in `WolframLanguageSession` that was preventing Python interpreter from exiting.
5+
- Add new class `PackedArray`, a wrapper on top of NumPy `ndarray`. Instances of `PackedArray` are serialized as... WL packed array (!). This fixes the issue of having a WL packed array (say the output of `Range[3]`), being serialized to a `ndarray` (`arange(3)`), and send back to the kernel as a `NumericArray`.
6+
- Use `black` code formatter.
67

78
# Version 1.0.2
89
- Add two new optional flags to `test` command called `-x` or `--xml` and `-d` or `--xml-dir`. It produces an xml output of the test results using the `unittest-xml-reporting` library. `-d` expects the filepath of the output directory, default is `test-reports`. Also add `-v` or `--verbosity` to control the `verbosity` option of the test suite. Check `python run.py test -h` for more info.

PacletInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Paclet[
22
Name -> "WolframClientForPython",
3-
Version -> "1.0.0",
3+
Version -> "1.1.0",
44
MathematicaVersion -> "11.3+",
55
Loading -> Automatic,
66
Extensions -> {}

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Links
2424

2525
* `Installation instructions <https://reference.wolfram.com/language/WolframClientForPython/docpages/install.html>`_
2626
* `Documentation <https://reference.wolfram.com/language/WolframClientForPython>`_
27+
* `Announcement Blog post <https://blog.wolfram.com/2019/05/16/announcing-the-wolfram-client-library-for-python/>`_
2728
* `Changelog <https://github.com/WolframResearch/WolframClientForPython/blob/master/CHANGELOG.md>`_
2829
* `Contributor guidelines <https://github.com/WolframResearch/WolframClientForPython/blob/master/CONTRIBUTING.md>`_
2930
* `License <https://github.com/WolframResearch/WolframClientForPython/blob/master/LICENSE>`_

wolframclient/about.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
__name__ = "wolframclient"
66
__description__ = "A Python library with various tools to interact with the Wolfram Language and the Wolfram Cloud."
7-
__version__ = "1.0.2"
7+
__version__ = "1.1.0"
88
__author__ = "Wolfram Research"
9-
__author_email__ = "dorianb@wolfram.com, riccardod@wolfram.com"
9+
__author_email__ = "support@wolfram.com, dorianb@wolfram.com, riccardod@wolfram.com"

wolframclient/evaluation/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,4 @@ def __del__(self, _warnings=warnings):
220220
if not self.stopped and self._loop and not self._loop.is_closed():
221221
self._loop.call_exception_handler(
222222
{self.__class__.__name__: self, "message": "Unclosed evaluator."}
223-
)
223+
)

0 commit comments

Comments
 (0)