Skip to content

Commit

Permalink
Merge pull request #2059 from qutip/dev.major
Browse files Browse the repository at this point in the history
Merge `dev.major` into master.
  • Loading branch information
Ericgig committed Jan 16, 2023
2 parents ff9ada8 + f013a4f commit fccec5d
Show file tree
Hide file tree
Showing 451 changed files with 40,342 additions and 53,728 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,37 +36,29 @@ jobs:
# the lack of a variable is _always_ false-y, and the defaults lack all
# the special cases.
include:
# Needs an older version of Python because conda doesn't build old
# SciPy versions for Python 3.9.
- case-name: MacOS
# Mac
# Mac has issues with MKL since september 2022.
- case-name: macos
os: macos-latest
python-version: "3.9"
python-version: "3.10"
condaforge: 1
nomkl: 1

# Needs an older version of Python because conda doesn't build old
# SciPy versions for Python 3.9.
# Scipy 1.5
- case-name: old SciPy
os: ubuntu-latest
python-version: "3.6"
scipy-requirement: ">=1.4,<1.5"
# let the old SciPy version select an appropriate numpy version:
numpy-requirement: ""
coverage-requirement: "==6.2" # last coverage that supported 3.6
python-version: "3.8"
numpy-requirement: ">=1.20,<1.21"
scipy-requirement: ">=1.5,<1.6"
condaforge: 1

# No MKL runs. MKL is now the default for conda installations, but
# not necessarily for pip.
- case-name: no MKL
os: ubuntu-latest
python-version: "3.7"
nomkl: 1

# OpenMP runs. We only really care about getting OpenMP working
# properly on Linux at the moment.
- case-name: OpenMP
os: ubuntu-latest
python-version: "3.9"
numpy-requirement: ">=1.20,<1.21"
openmp: 1
nomkl: 1

# Builds without Cython at runtime. This is a core feature;
# everything should be able to run this.
Expand Down Expand Up @@ -160,6 +152,7 @@ jobs:
run: |
conda list
python -c "import qutip; qutip.about()"
python -c "import qutip; print(qutip.settings)"
- name: Environment information
run: |
Expand Down Expand Up @@ -227,7 +220,7 @@ jobs:
python -m pip install towncrier
- name: Verify Towncrier entry added
if: github.event_name == 'pull_request'
if: False # github.event_name == 'pull_request'
env:
BASE_BRANCH: ${{ github.base_ref }}
run: |
Expand Down
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ qutip/__config__.py
rhs*.pyx

qutip/cy/*.c
qutip/cy/*.cpp
qutip/control/*.cpp
qutip/cy/openmp/*.cpp
*.cpp
*.dat
qutip/core/*.h


qutip/**/*.html
qutip/solver/ode/*.c


*.qo

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2011 to 2021 inclusive, QuTiP developers and contributors.
Copyright (c) 2011 to 2022 inclusive, QuTiP developers and contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ include README.md
include LICENSE.txt
include VERSION
include requirements.txt
include qutip.bib
include CITATION.bib
include pyproject.toml
recursive-include qutip *.pyx
recursive-include qutip *.pxd
recursive-include qutip *.pxi
recursive-include qutip *.hpp
recursive-include qutip *.cpp
recursive-include qutip *.ini
recursive-include qutip/tests/qasm_files *.qasm
recursive-include qutip *.h
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7.1.dev
5.0.0.dev
2 changes: 1 addition & 1 deletion doc/QuTiP_tree_plot/d3_data/qutip.json

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions doc/QuTiP_tree_plot/qutip-structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"three_level_atom",
}),
# QIP
("#36d695", {"qip", "measurement"}),
("#36d695", {"measurement"}),
# Metrics and distance measures
("#ff4500", {"entropy", "metrics", "countstat", "semidefinite"}),
# Core
Expand Down Expand Up @@ -133,12 +133,6 @@ def python_object_tree(module, tree=None, seen=None, root=None, nobjects=0):
"mesolve" : {
"mesolve": <function qutip.mesolve.mesolve(...)>,
},
"qip": {
"operations": {
...
},
...
},
...
}
"""
Expand Down

0 comments on commit fccec5d

Please sign in to comment.