diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index ae8235f..517a021 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] steps: - name: Checkout diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index b91cea8..25702c6 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] steps: - name: Checkout diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 868d8ef..ade2f7a 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] steps: - name: Checkout diff --git a/.github/workflows/deploy-conda.yml b/.github/workflows/deploy-conda.yml index 160c273..5031c33 100644 --- a/.github/workflows/deploy-conda.yml +++ b/.github/workflows/deploy-conda.yml @@ -40,6 +40,7 @@ jobs: - name: Setup Miniconda uses: conda-incubator/setup-miniconda@v2 with: + miniconda-version: "latest" auto-update-conda: true - name: Build and upload package diff --git a/README.rst b/README.rst index 3f320f9..c394e06 100644 --- a/README.rst +++ b/README.rst @@ -51,17 +51,17 @@ Build and Test Status .. |y| unicode:: U+2714 .. |n| unicode:: U+2716 -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| Platform | Arch | Python Version | Continuous | -+ | +-------+-------+-------+-------+-------+ Integration + -| | | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | | -+==========+========+=======+=======+=======+=======+=======+=================+ -| Linux | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-linux| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| macOS | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-macos| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| Windows | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-windows| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ ++----------+--------+-------+-------+-------+-----------------+ +| Platform | Arch | Python Version | Continuous | ++ | +-------+-------+-------+ Integration + +| | | 3.9 | 3.10 | 3.11 | | ++==========+========+=======+=======+=======+=================+ +| Linux | X86-64 | |y| | |y| | |y| | |build-linux| | ++----------+--------+-------+-------+-------+-----------------+ +| macOS | X86-64 | |y| | |y| | |y| | |build-macos| | ++----------+--------+-------+-------+-------+-----------------+ +| Windows | X86-64 | |y| | |y| | |y| | |build-windows| | ++----------+--------+-------+-------+-------+-----------------+ .. |build-linux| image:: https://img.shields.io/github/actions/workflow/status/ameli/ortho/build-linux.yml :target: https://github.com/ameli/ortho/actions?query=workflow%3Abuild-linux diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index dcf95ac..6fc2654 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -1,6 +1,4 @@ python: - - 3.7 - - 3.8 - 3.9 - 3.10 - # - 3.11 + - 3.11 diff --git a/docs/requirements.txt b/docs/requirements.txt index c96320c..d4ca9c9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ sphinx sphinx-math-dollar -sphinx-toggleprompt +sphinx-toggleprompt<0.4 pydata_sphinx_theme==0.9.0 graphviz sphinx-automodapi diff --git a/docs/source/_static/css/custom-pydata.css b/docs/source/_static/css/custom-pydata.css index d8000e8..ccc4425 100644 --- a/docs/source/_static/css/custom-pydata.css +++ b/docs/source/_static/css/custom-pydata.css @@ -86,6 +86,11 @@ html[data-theme="dark"] button.copybtn { filter: invert(0.88) brightness(1.1); } +/* Color of function signature in dark mode */ +html[data-theme="dark"] dt:target, span.highlighted { + background-color: #373737; +} + /* Logo color */ img.logo__image { /* filter: grayscale(1) brightness(1.5); */ @@ -123,3 +128,7 @@ table.custom-table { .custom-sidebar p.sidebar-title { text-align: center !important; } + +.table-responsive { + overflow-x: auto; +} diff --git a/docs/source/index.rst b/docs/source/index.rst index c490787..561590e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -79,17 +79,17 @@ Build and Test Status .. |y| unicode:: U+2714 .. |n| unicode:: U+2716 -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| Platform | Arch | Python Version | Continuous | -+ | +-------+-------+-------+-------+-------+ Integration + -| | | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | | -+==========+========+=======+=======+=======+=======+=======+=================+ -| Linux | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-linux| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| macOS | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-macos| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ -| Windows | X86-64 | |y| | |y| | |y| | |y| | |y| | |build-windows| | -+----------+--------+-------+-------+-------+-------+-------+-----------------+ ++----------+--------+-------+-------+-------+-----------------+ +| Platform | Arch | Python Version | Continuous | ++ | +-------+-------+-------+ Integration + +| | | 3.9 | 3.10 | 3.11 | | ++==========+========+=======+=======+=======+=================+ +| Linux | X86-64 | |y| | |y| | |y| | |build-linux| | ++----------+--------+-------+-------+-------+-----------------+ +| macOS | X86-64 | |y| | |y| | |y| | |build-macos| | ++----------+--------+-------+-------+-------+-----------------+ +| Windows | X86-64 | |y| | |y| | |y| | |build-windows| | ++----------+--------+-------+-------+-------+-----------------+ .. |build-linux| image:: https://img.shields.io/github/actions/workflow/status/ameli/imate/build-linux.yml :target: https://github.com/ameli/imate/actions?query=workflow%3Abuild-linux diff --git a/ortho/__version__.py b/ortho/__version__.py index a8d4557..d7b30e1 100644 --- a/ortho/__version__.py +++ b/ortho/__version__.py @@ -1 +1 @@ -__version__ = "0.3.5" +__version__ = "0.3.6" diff --git a/setup.py b/setup.py index 4c40720..fdae70a 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,8 @@ def install_package(package): :type package: string """ - subprocess.check_call([sys.executable, "-m", "pip", "install", package]) + subprocess.check_call([sys.executable, "-m", "pip", "install", + "--prefer-binary", package]) # =====================