Skip to content

Commit 87662f3

Browse files
committed
Get ready for release 1.1.0rc1
1 parent ffa2de1 commit 87662f3

File tree

8 files changed

+91
-35
lines changed

8 files changed

+91
-35
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ mathics/doc/tex/mathics-*.asy
3131
mathics/doc/tex/mathics-*.eps
3232
mathics/doc/tex/mathics-*.pdf
3333
mathics/doc/tex/mathics-*.dvi
34+
mathics/doc/tex/mathics-*.tex
3435
mathics/doc/tex/mathics.aux
3536
mathics/doc/tex/mathics.dvi
3637
mathics/doc/tex/mathics.fdb_latexmk

CHANGES.rst

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
CHANGES
22
=======
33

4-
1.1
5-
---
4+
1.1.0 rc1
5+
---------
66

77
Package Updates
88
+++++++++++++++
99

1010
All major packages that Mathics needs have been updated for more recent
1111
releases. Specifically These include:
1212

13-
- Python: Python 3.6-3.8 is now supported.
14-
- sympy 1.6.2
13+
- Python: Python 3.6-3.9 are now supported.
1514
- cython >= 0.15.1
1615
- Django 3.1.x
17-
16+
- mpmath => 1.1.0
17+
- sympy 1.6.2
1818

1919
New features (50+ builtins):
2020
++++++++++++++++++++++++++++
@@ -57,7 +57,7 @@ Ehancements and Bug fixes:
5757
+++++++++++++++++++++++++++
5858

5959
- speed up leading-blank patterns #625, #933
60-
- support for iteration over Sequence objects in Table, Sum, and Product
60+
- support for iteration over Sequence objects in Table, Sum, and Product
6161
- fixes for option handling
6262
- fixes for ``Manipulate[x,{x,{a,b}}]``
6363
- fixes rule -> rule case for ``Nearest``
@@ -106,17 +106,17 @@ Backward incompatablities:
106106

107107
- Support for Python 3.5 and earlier, and in particular Python 2.7,
108108
has dropped
109-
- The `graphs` module (for Graphs) has been pulled until Mathics
109+
- The ``graphs`` module (for Graphs) has been pulled until Mathics
110110
supports pymathics and graphics using networkx better. It will
111111
reappear as a pymathics module.
112-
- The `natlang` (for Natural Language processing) has also been
112+
- The ``natlang`` (for Natural Language processing) has also been
113113
pulled. The problem here too is that the pymathics mechanism needs
114114
a small amount of work to make it scalable, and in 1.0 these were
115-
hard coded. Also, both this module and `graphs` pulled in some
115+
hard coded. Also, both this module and ``graphs`` pulled in some
116116
potentially hard-to-satisfy non-Python dependencies such as
117117
matplotlib, or NLP libraries, and word lists. All of this made
118118
installation of mathics harder, and the import of these libraries,
119-
`natlang` in particular took some time. All of this points to having
119+
``natlang`` in particular took some time. All of this points to having
120120
these live in their own repositories and get imported on laziliy on
121121
demand
122122

@@ -125,7 +125,8 @@ Backward incompatablities:
125125
1.0
126126
---
127127

128-
New features:
128+
New features
129+
++++++++++++
129130

130131
- ``LinearModelFit`` #592
131132
- ``EasterSunday`` #590
@@ -212,7 +213,8 @@ New features:
212213
- ``StringExpression`` #339
213214
- Legacy file functions #338
214215

215-
Bug fixes:
216+
Bug fixes
217+
++++++++++
216218

217219
- Nested ``Module`` #591, #584
218220
- Python2 Import bug #565
@@ -242,12 +244,13 @@ Bug fixes:
242244
- Fix ``Begin``/``BeginPackage`` leaking user-visible symbols #352
243245
- Fix ``TableForm`` and ``Dimensions`` with an empty list #343
244246
- Trailing slash bug #337
245-
- Global system bug #336
247+
- ``Global`` system bug #336
246248
- ``Null`` comparison bug #371
247-
- ``CompoundExpression`` ``Out[n]`` assignment bug #335 fixes #331
249+
- ``CompoundExpression`` and ``Out[n]`` assignment bug #335 fixes #331
248250
- load unevaluated cells #332
249251

250-
Performance improvements:
252+
Performance improvements
253+
++++++++++++++++++++++++
251254

252255
- Large expression formatting with ``$OutputSizeLimit`` #581
253256
- Faster terminal output #579
@@ -275,7 +278,8 @@ Performance improvements:
275278
0.9
276279
---
277280

278-
New features:
281+
New features
282+
++++++++++++
279283

280284
- Improved syntax error messages #329
281285
- SVD, LeastSquares, PseudoInverse #258, #321
@@ -314,28 +318,32 @@ Bug fixes:
314318
0.8
315319
---
316320

317-
New features:
321+
New features
322+
+++++++++++++
318323

319324
- Improvements to 3D Plotting, see #238
320325
- Enable MathJax menu, see #236
321326
- Improvements to documentation
322327

323-
Dependency Updates:
328+
Dependency Updates
329+
++++++++++++++++++
324330

325331
- upgrade to sympy 0.7.6
326332
- upgrade to ply3.6 (new parsetab format, see #246)
327333
- upgrade to mpmath 0.19
328334

329-
Bug Fixes:
335+
Bug Fixes
336+
+++++++++
330337

331338
- IntegerDigits[0]
332339

333340

334341

335342
0.7
336-
---
343+
+++
337344

338-
New features:
345+
New features
346+
++++++++++++
339347

340348
- Readline tab completion
341349
- automatic database initialisation
@@ -344,7 +352,8 @@ New features:
344352
- More tests and documentation for ``Sequence``
345353
- Context support
346354

347-
Bugs fixed:
355+
Bugs fixed
356+
++++++++++
348357

349358
- Fix unevaluated index handling (issue #217)
350359
- Fix ``Solve`` treating one solution equal to 1 as a tautology (issue
@@ -363,7 +372,8 @@ Bugs fixed:
363372
0.6
364373
---
365374

366-
New features:
375+
New features
376+
++++++++++++
367377

368378
- ElementData using data from Wikipedia
369379
- added Switch
@@ -387,7 +397,8 @@ New features:
387397
- Use interruptingcow to limit evaluation time
388398
- Character Code functions
389399

390-
Bugs fixed:
400+
Bugs fixed
401+
++++++++++
391402

392403
- Fix divide-by-zero with zero-length plot range
393404
- Fix mathicsserver exception on startup with Django 1.6 (issues #194,

MANIFEST.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
include README.rst
22
include CHANGES.rst
33
include ChangeLog
4-
include COPYING
4+
include COPYING.txt
55
include FUTURE.rst
66
include Makefile
7-
include test/Makefile
8-
recursive-include mathics
9-
recursive-include xdis *.py
10-
recursive-exclude __pycache__
7+
include mathics/Makefile
8+
include mathics/Makefile
9+
recursive-include mathics *.py
1110
recursive-include test *.py

admin-tools/make-dist.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
PACKAGE=mathics
3+
4+
# FIXME put some of the below in a common routine
5+
function finish {
6+
cd $owd
7+
}
8+
9+
cd $(dirname ${BASH_SOURCE[0]})
10+
owd=$(pwd)
11+
trap finish EXIT
12+
13+
if ! source ./pyenv-versions ; then
14+
exit $?
15+
fi
16+
17+
18+
cd ..
19+
source $PACKAGE/version.py
20+
echo $__version__
21+
22+
for pyversion in $PYVERSIONS; do
23+
if ! pyenv local $pyversion ; then
24+
exit $?
25+
fi
26+
# pip bdist_egg create too-general wheels. So
27+
# we narrow that by moving the generated wheel.
28+
29+
# Pick out first two number of version, e.g. 3.7.9 -> 37
30+
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
31+
rm -fr build
32+
python setup.py bdist_egg bdist_wheel
33+
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl
34+
done
35+
36+
python ./setup.py sdist

admin-tools/pyenv-versions

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- shell-script -*-
2+
# Sets PYVERSIONS to be pyenv versions that
3+
# we can use in the master branch.
4+
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
5+
echo "This script should be *sourced* rather than run directly through bash"
6+
exit 1
7+
fi
8+
export PYVERSIONS='3.7.9 3.8.6 3.9.0'

mathics/builtin/evaluation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,10 @@ class Quit(Builtin):
469469
"""
470470

471471
rules = {"Exit[n___]":"Quit[n]", }
472-
472+
473473
def apply(self, evaluation, n):
474474
'%(name)s[n___]'
475475
exitcode = 0
476476
if isinstance(n, Integer):
477477
exitcode =(n.get_int_value())
478478
raise SystemExit(exitcode)
479-
480-
481-
482-

mathics/version.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44

5-
__version__ = '1.1.dev0'
5+
# This file is suitable for sourcing inside POSIX shell as
6+
# well as importing into Python. That's why there is no
7+
# space around "=" below.
8+
__version__="1.1.0rc1" # noqa

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ def run(self):
188188
"mathics": [
189189
"data/*.csv",
190190
"data/ExampleData/*",
191+
"doc/xml/data",
192+
"doc/tex/data",
191193
"autoload/formats/*/Import.m",
192194
"autoload/formats/*/Export.m",
193195
"packages/*/*.m",

0 commit comments

Comments
 (0)