Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
6353b145
There was a problem fetching the pipeline summary.
Commit
6353b145
authored
9 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
provide whatsnew file
parent
5b61e854
No related branches found
Branches containing commit
Tags
v1.2.2
Tags containing commit
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/source/pre/whatsnew/1.2.rst
+28
-0
28 additions, 0 deletions
doc/source/pre/whatsnew/1.2.rst
doc/source/pre/whatsnew/index.rst
+1
-0
1 addition, 0 deletions
doc/source/pre/whatsnew/index.rst
with
29 additions
and
0 deletions
doc/source/pre/whatsnew/1.2.rst
0 → 100644
+
28
−
0
View file @
6353b145
What's new in Kwant 1.2
=======================
This article explains the user-visible changes in Kwant 1.2, released on 9
December 2015. Please consult the `full list of changes in Kwant
<https://gitlab.kwant-project.org/kwant/kwant/compare/v1.2.2...stable>`_ for
all the changes up to the most recent bugfix release.
Kwant 1.2 is identical to Kwant 1.1 except that it has been updated to run on
Python 3.4 and above. Bugfix releases for the 1.1 and 1.2 series will mirror
each other, i.e. 1.1.3 and 1.2.3 will fix the same bugs.
Starting with Kwant 1.2, all Kwant development will target Python 3. We plan,
however, to maintain Python 2 support with the 1.1 series for several years.
How to upgrade Kwant scripts to Python 3
----------------------------------------
Even though the interface and functionality of Kwant remain unchanged between
versions 1.1 and 1.2, scripts using Kwant need to be updated to Python 3.
This can be done by running the `automatic conversion tool
<https://docs.python.org/3/library/2to3.html>`_ on the command line::
2to3 -w example.py
(The above command will rename the original file to ``example.py.bak``.) The
necessary changes are typically only superficial, as described in `What’s New
In Python 3.0 <https://docs.python.org/3/whatsnew/3.0.html>`_.
This diff is collapsed.
Click to expand it.
doc/source/pre/whatsnew/index.rst
+
1
−
0
View file @
6353b145
...
...
@@ -2,6 +2,7 @@ What's new in Kwant
===================
.. toctree::
1.2
1.1
1.0
0.2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment