MAINT Add pytest.mark.xfail_browsers and use it to reduce boilerplate. Use a decorator to indicate which browsers we want to xfail test. This works for `run_in_pyodide` as well as normal tests.
package:
  name: numcodecs
  version: 0.9.1
source:
  sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997
  url: https://files.pythonhosted.org/packages/2c/b0/980143fa7467569fd81f0d00530c46dcf41ff790738261985dc10a26d4ec/numcodecs-0.9.1.tar.gz
  patches:
    - patches/fixblosc.patch
    - patches/fixsetup.patch
    - patches/fixzlib.patch
build:
  script: |
    rm numcodecs/blosc.c
requirements:
  run:
    - numpy
    - msgpack
test:
  imports:
    - numcodecs

package:
  name: numcodecs
  version: 0.9.1
source:
  sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997
  url: https://files.pythonhosted.org/packages/2c/b0/980143fa7467569fd81f0d00530c46dcf41ff790738261985dc10a26d4ec/numcodecs-0.9.1.tar.gz
  patches:
    - patches/fixblosc.patch
    - patches/fixsetup.patch
    - patches/fixzlib.patch
build:
  script: |
    rm numcodecs/blosc.c
requirements:
  run:
    - numpy
    - msgpack
test:
  imports:
    - numcodecs
