| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bba8e9e commit c53e850
13 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,15 +21,12 @@ environment: | |||
| 21 | 21 | PINNEDVERS: "pyzmq!=21.0.0,!=22.0.0" | |
| 22 | 22 | ||
| 23 | 23 | matrix: | |
| 24 | - # In theory we could use a single CONDA_INSTALL_LOCN because we construct | ||
| 25 | - # the envs anyway. But using one for the right python version hopefully | ||
| 26 | - # making things faster due to package caching. | ||
| 27 | - - PYTHON_VERSION: "3.7" | ||
| 28 | - CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64" | ||
| 24 | + - PYTHON_VERSION: "3.8" | ||
| 25 | + CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64" | ||
| 29 | 26 | TEST_ALL: "no" | |
| 30 | 27 | EXTRAREQS: "-r requirements/testing/extra.txt" | |
| 31 | - - PYTHON_VERSION: "3.8" | ||
| 32 | - CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64" | ||
| 28 | + - PYTHON_VERSION: "3.9" | ||
| 29 | + CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64" | ||
| 33 | 30 | TEST_ALL: "no" | |
| 34 | 31 | EXTRAREQS: "-r requirements/testing/extra.txt" | |
| 35 | 32 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,7 +53,7 @@ jobs: | |||
| 53 | 53 | - uses: actions/setup-python@v2 | |
| 54 | 54 | name: Install Python | |
| 55 | 55 | with: | |
| 56 | - python-version: '3.7' | ||
| 56 | + python-version: '3.8' | ||
| 57 | 57 | ||
| 58 | 58 | - uses: actions/cache@v2 | |
| 59 | 59 | id: numpy-cache | |
@@ -73,7 +73,7 @@ jobs: | |||
| 73 | 73 | cd numpy-${{ env.min-numpy-version }} | |
| 74 | 74 | python -m cibuildwheel --output-dir ../numpy-aarch64-cache | |
| 75 | 75 | env: | |
| 76 | - CIBW_BUILD: "cp37-* cp38-*" | ||
| 76 | + CIBW_BUILD: "cp38-*" | ||
| 77 | 77 | CIBW_ARCHS: aarch64 | |
| 78 | 78 | ||
| 79 | 79 | - name: Build wheels for CPython 3.10 | |
@@ -102,7 +102,7 @@ jobs: | |||
| 102 | 102 | run: | | |
| 103 | 103 | python -m cibuildwheel --output-dir dist | |
| 104 | 104 | env: | |
| 105 | - CIBW_BUILD: "cp37-* cp38-*" | ||
| 105 | + CIBW_BUILD: "cp38-*" | ||
| 106 | 106 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 | |
| 107 | 107 | CIBW_MANYLINUX_I686_IMAGE: manylinux1 | |
| 108 | 108 | CIBW_BEFORE_BUILD: pip install certifi; pip install --find-links=numpy-aarch64-cache/ numpy==${{ env.min-numpy-version }} | |
@@ -113,7 +113,7 @@ jobs: | |||
| 113 | 113 | run: | | |
| 114 | 114 | python -m cibuildwheel --output-dir dist | |
| 115 | 115 | env: | |
| 116 | - CIBW_BUILD: "pp37-*" | ||
| 116 | + CIBW_BUILD: "pp38-*" | ||
| 117 | 117 | CIBW_BEFORE_BUILD: pip install certifi numpy==${{ env.min-numpy-version }} | |
| 118 | 118 | CIBW_ARCHS: ${{ matrix.cibw_archs }} | |
| 119 | 119 | PIP_USE_FEATURE: in-tree-build | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,20 +26,16 @@ jobs: | |||
| 26 | 26 | include: | |
| 27 | 27 | - name-suffix: "(Minimum Versions)" | |
| 28 | 28 | os: ubuntu-18.04 | |
| 29 | - python-version: 3.7 | ||
| 29 | + python-version: 3.8 | ||
| 30 | 30 | extra-requirements: '-c requirements/testing/minver.txt' | |
| 31 | - pyqt5-ver: '==5.8 sip==4.19.7' # oldest versions with a Py3.7 wheel. | ||
| 31 | + pyqt5-ver: '==5.11.2 sip==5.0.0' # oldest versions with a Py3.8 wheel. | ||
| 32 | 32 | delete-font-cache: true | |
| 33 | 33 | XVFB_RUN: xvfb-run -a | |
| 34 | - - os: ubuntu-18.04 | ||
| 35 | - python-version: 3.7 | ||
| 36 | - extra-requirements: '-r requirements/testing/extra.txt' | ||
| 37 | - XVFB_RUN: xvfb-run -a | ||
| 38 | - CFLAGS: "-fno-lto" # Ensure that disabling LTO works. | ||
| 39 | 34 | - os: ubuntu-18.04 | |
| 40 | 35 | python-version: 3.8 | |
| 41 | 36 | extra-requirements: '-r requirements/testing/extra.txt' | |
| 42 | 37 | XVFB_RUN: xvfb-run -a | |
| 38 | + CFLAGS: "-fno-lto" # Ensure that disabling LTO works. | ||
| 43 | 39 | - os: ubuntu-20.04 | |
| 44 | 40 | python-version: 3.9 | |
| 45 | 41 | extra-requirements: '-r requirements/testing/extra.txt' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,33 +38,33 @@ stages: | |||
| 38 | 38 | - job: Pytest | |
| 39 | 39 | strategy: | |
| 40 | 40 | matrix: | |
| 41 | - Linux_py37: | ||
| 42 | - vmImage: 'ubuntu-18.04' | ||
| 43 | - python.version: '3.7' | ||
| 44 | 41 | Linux_py38: | |
| 45 | 42 | vmImage: 'ubuntu-18.04' | |
| 46 | 43 | python.version: '3.8' | |
| 47 | 44 | Linux_py39: | |
| 48 | 45 | vmImage: 'ubuntu-18.04' | |
| 49 | 46 | python.version: '3.9' | |
| 50 | - macOS_py37: | ||
| 51 | - vmImage: 'macOS-10.15' | ||
| 52 | - python.version: '3.7' | ||
| 47 | + Linux_py310: | ||
| 48 | + vmImage: 'ubuntu-18.04' | ||
| 49 | + python.version: '3.10' | ||
| 53 | 50 | macOS_py38: | |
| 54 | 51 | vmImage: 'macOS-latest' | |
| 55 | 52 | python.version: '3.8' | |
| 56 | 53 | macOS_py39: | |
| 57 | 54 | vmImage: 'macOS-latest' | |
| 58 | 55 | python.version: '3.9' | |
| 59 | - Windows_py37: | ||
| 60 | - vmImage: 'vs2017-win2016' | ||
| 61 | - python.version: '3.7' | ||
| 56 | + macOS_py310: | ||
| 57 | + vmImage: 'macOS-latest' | ||
| 58 | + python.version: '3.10' | ||
| 62 | 59 | Windows_py38: | |
| 63 | 60 | vmImage: 'windows-latest' | |
| 64 | 61 | python.version: '3.8' | |
| 65 | 62 | Windows_py39: | |
| 66 | 63 | vmImage: 'windows-latest' | |
| 67 | 64 | python.version: '3.9' | |
| 65 | + Windows_py310: | ||
| 66 | + vmImage: 'vs2017-win2016' | ||
| 67 | + python.version: '3.10' | ||
| 68 | 68 | maxParallel: 4 | |
| 69 | 69 | pool: | |
| 70 | 70 | vmImage: '$(vmImage)' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,7 @@ being bumped: | |||
| 7 | 7 | +------------+-----------------+---------------+ | |
| 8 | 8 | | Dependency | min in mpl3.5 | min in mpl3.6 | | |
| 9 | 9 | +============+=================+===============+ | |
| 10 | + | Python | 3.7 | 3.8 | | ||
| 10 | 11 | | NumPy | 1.17 | 1.19 | | |
| 11 | 12 | +------------+-----------------+---------------+ | |
| 12 | 13 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -271,11 +271,11 @@ The current active branches are | |||
| 271 | 271 | ||
| 272 | 272 | *main* | |
| 273 | 273 | The current development version. Future minor releases (*v3.N.0*) will be | |
| 274 | - branched from this. Supports Python 3.7+. | ||
| 274 | + branched from this. | ||
| 275 | 275 | ||
| 276 | 276 | *v3.N.x* | |
| 277 | 277 | Maintenance branch for Matplotlib 3.N. Future patch releases will be | |
| 278 | - branched from this. Supports Python 3.6+. | ||
| 278 | + branched from this. | ||
| 279 | 279 | ||
| 280 | 280 | *v3.N.M-doc* | |
| 281 | 281 | Documentation for the current release. On a patch release, this will be | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ When installing through a package manager like ``pip`` or ``conda``, the | |||
| 14 | 14 | mandatory dependencies are automatically installed. This list is mainly for | |
| 15 | 15 | reference. | |
| 16 | 16 | ||
| 17 | - * `Python <https://www.python.org/downloads/>`_ (>= 3.7) | ||
| 17 | + * `Python <https://www.python.org/downloads/>`_ (>= 3.8) | ||
| 18 | 18 | * `NumPy <https://numpy.org>`_ (>= 1.19) | |
| 19 | 19 | * `setuptools <https://setuptools.readthedocs.io/en/latest/>`_ | |
| 20 | 20 | * `cycler <https://matplotlib.org/cycler/>`_ (>= 0.10.0) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,7 +83,7 @@ specification of the dependencies. | |||
| 83 | 83 | ========== ======== ====== | |
| 84 | 84 | Matplotlib Python NumPy | |
| 85 | 85 | ========== ======== ====== | |
| 86 | - `3.6`_ 3.7 1.19.0 | ||
| 86 | + `3.6`_ 3.8 1.19.0 | ||
| 87 | 87 | `3.5`_ 3.7 1.17.0 | |
| 88 | 88 | `3.4`_ 3.7 1.16.0 | |
| 89 | 89 | `3.3`_ 3.6 1.15.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,7 +169,7 @@ Using tox | |||
| 169 | 169 | ||
| 170 | 170 | `Tox <https://tox.readthedocs.io/en/latest/>`_ is a tool for running tests | |
| 171 | 171 | against multiple Python environments, including multiple versions of Python | |
| 172 | - (e.g., 3.6, 3.7) and even different Python implementations altogether | ||
| 172 | + (e.g., 3.7, 3.8) and even different Python implementations altogether | ||
| 173 | 173 | (e.g., CPython, PyPy, Jython, etc.), as long as all these versions are | |
| 174 | 174 | available on your system's $PATH (consider using your system package manager, | |
| 175 | 175 | e.g. apt-get, yum, or Homebrew, to install them). | |
@@ -186,7 +186,7 @@ You can also run tox on a subset of environments: | |||
| 186 | 186 | ||
| 187 | 187 | .. code-block:: bash | |
| 188 | 188 | ||
| 189 | - $ tox -e py37,py38 | ||
| 189 | + $ tox -e py38,py39 | ||
| 190 | 190 | ||
| 191 | 191 | Tox processes everything serially so it can take a long time to test | |
| 192 | 192 | several environments. To speed it up, you might try using a new, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -908,13 +908,12 @@ def logit_deformatter(string): | |||
| 908 | 908 | float 1.41e-4, as '0.5' or as r'$\mathdefault{\frac{1}{2}}$' in float | |
| 909 | 909 | 0.5, | |
| 910 | 910 | """ | |
| 911 | - # Can inline the Unicode escapes to the raw strings in Python 3.8+ | ||
| 912 | 911 | match = re.match( | |
| 913 | 912 | r"[^\d]*" | |
| 914 | - r"(?P<comp>1" "[-\N{Minus Sign}]" r")?" | ||
| 913 | + r"(?P<comp>1[-\N{Minus Sign}])?" | ||
| 915 | 914 | r"(?P<mant>\d*\.?\d*)?" | |
| 916 | 915 | r"(?:\\cdot)?" | |
| 917 | - r"(?:10\^\{(?P<expo>" "[-\N{Minus Sign}]" r"?\d*)})?" | ||
| 916 | + r"(?:10\^\{(?P<expo>[-\N{Minus Sign}]?\d*)})?" | ||
| 918 | 917 | r"[^\d]*$", | |
| 919 | 918 | string, | |
| 920 | 919 | ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments