Skip to content

Fix bare except clauses in abstract_solver.py, constraints.py, and monitors.py - #323

Open
koteshyelamati wants to merge 3 commits into
uqfoundation:masterfrom
koteshyelamati:master
Open

Fix bare except clauses in abstract_solver.py, constraints.py, and monitors.py#323
koteshyelamati wants to merge 3 commits into
uqfoundation:masterfrom
koteshyelamati:master

Fix bare except in monitors.py: use except Exception

a793e6e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jul 12, 2026 in 4m 9s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #323 Fix bare except clauses in abstract_solver.py, constraints.py, and monitors.py.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has eight jobs, running in parallel.

Job Python ENV OS State Notes
899.1 3.10 COVERAGE="true" Linux passed
899.2 3.11 Linux passed
899.3 3.12 Linux passed
899.4 3.13 Linux passed
899.5 3.14 CYTHON="true" Linux passed
899.6 pypy3.10-7.3.19 Linux passed
899.7 pypy3.11-7.3.20 Linux passed
899.8 3.15t-dev CYTHON="true" Linux failed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Noble)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "noble",
  "cache": {
    "pip": true
  },
  "before_install": [
    "set -e",
    "if [[ $COVERAGE == \"true\" ]]; then pip install coverage; fi",
    "if [[ $MATPLOTLIB == \"true\" ]]; then pip install matplotlib; fi",
    "if [[ $SYMPY == \"true\" ]]; then pip install sympy; fi",
    "if [[ $SCIPY == \"true\" ]]; then pip install scipy; fi",
    "if [[ $CYTHON == \"true\" ]]; then pip install \"cython<0.29.25\"; fi",
    "if [[ $DILL == \"master\" ]]; then pip install \"https://github.com/uqfoundation/dill/archive/master.tar.gz\"; fi",
    "if [[ $KLEPTO == \"master\" ]]; then pip install \"https://github.com/uqfoundation/klepto/archive/master.tar.gz\"; fi"
  ],
  "install": [
    "python -m pip install ."
  ],
  "script": [
    "for test in mystic/tests/__init__.py; do echo $test ; if [[ $COVERAGE == \"true\" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done",
    "for test in mystic/tests/test_*.py; do echo $test ; if [[ $COVERAGE == \"true\" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done"
  ],
  "after_success": [
    "if [[ $COVERAGE == \"true\" ]]; then bash <(curl -s https://codecov.io/bash); else echo ''; fi",
    "if [[ $COVERAGE == \"true\" ]]; then coverage report; fi"
  ],
  "jobs": {
    "include": [
      {
        "python": "3.10",
        "dist": "jammy",
        "env": [
          {
            "COVERAGE": "\"true\""
          },
          {
            "MATPLOTLIB": "\"true\""
          },
          {
            "SYMPY": "\"true\""
          },
          {
            "SCIPY": "\"true\""
          }
        ]
      },
      {
        "python": "3.11",
        "dist": "jammy",
        "env": [
          {
          }
        ]
      },
      {
        "python": "3.12",
        "env": [
          {
          }
        ]
      },
      {
        "python": "3.13",
        "env": [
          {
          }
        ]
      },
      {
        "python": "3.14",
        "env": [
          {
            "CYTHON": "\"true\""
          },
          {
            "DILL": "\"master\""
          },
          {
            "KLEPTO": "\"master\""
          }
        ]
      },
      {
        "python": "3.15t-dev",
        "env": [
          {
            "CYTHON": "\"true\""
          },
          {
            "DILL": "\"master\""
          },
          {
            "KLEPTO": "\"master\""
          }
        ]
      },
      {
        "python": "pypy3.10-7.3.19",
        "env": [
          {
          }
        ]
      },
      {
        "python": "pypy3.11-7.3.20",
        "env": [
          {
          }
        ]
      }
    ],
    "allow_failures": [
      {
        "python": "3.15t-dev"
      }
    ],
    "fast_finish": true
  }
}