diff --git a/.github/workflows/general.yaml b/.github/workflows/general.yaml index caf7022c22..64180f6332 100644 --- a/.github/workflows/general.yaml +++ b/.github/workflows/general.yaml @@ -19,6 +19,7 @@ jobs: if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata' runs-on: ubuntu-latest strategy: + fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: diff --git a/frictionless/formats/pandas/parser.py b/frictionless/formats/pandas/parser.py index ab7b3389a0..3823640efd 100644 --- a/frictionless/formats/pandas/parser.py +++ b/frictionless/formats/pandas/parser.py @@ -157,7 +157,7 @@ def write_row_stream(self, source: TableResource): # http://pandas.pydata.org/pandas-docs/stable/gotchas.html#support-for-integer-na if value is None and field.type in ("number", "integer"): fixed_types[field.name] = "number" - value = np.NaN + value = np.nan if field.name in source.schema.primary_key: index_values.append(value) else: diff --git a/frictionless/indexer/__spec__/test_resource.py b/frictionless/indexer/__spec__/test_resource.py index 8d7200716e..4fa77c9a51 100644 --- a/frictionless/indexer/__spec__/test_resource.py +++ b/frictionless/indexer/__spec__/test_resource.py @@ -1,19 +1,20 @@ import pytest +from pytest_lazy_fixtures import lf from frictionless import formats, platform from frictionless.resources import TableResource control = formats.sql.SqlControl(table="table") fast_database_urls = [ - pytest.lazy_fixtures("sqlite_url"), - pytest.lazy_fixtures("postgresql_url"), + lf("sqlite_url"), + lf("postgresql_url"), ] database_urls = fast_database_urls + [ - pytest.lazy_fixtures("mysql_url"), + lf("mysql_url"), ] if platform.type != "windows": database_urls += [ - pytest.lazy_fixtures("duckdb_url"), + lf("duckdb_url"), ] pytestmark = pytest.mark.skipif( platform.type == "darwin" or platform.type == "windows", diff --git a/pyproject.toml b/pyproject.toml index 011a362302..e6a9394856 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,6 @@ dev = [ "pytest-cov", "pytest-vcr", "pytest-mock", - "pytest-only", "oauth2client", "requests-mock", "pytest-dotenv",