diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90c190c..9bbc66a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,5 @@ -name: Build Package and Test Source Code [Python 3.9, 3.10, 3.11, 3.12] +name: Build Package and Test Source Code [Python 3.10, 3.11, 3.12] on: push: @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Checkout diff --git a/environment.yml b/environment.yml index f5479a4..dacd492 100644 --- a/environment.yml +++ b/environment.yml @@ -2,8 +2,8 @@ name: paramtools-dev channels: - conda-forge dependencies: - - "marshmallow>=3.0.0" - - "numpy>=1.13" + - "marshmallow>=3.22.0" + - "numpy>=2.1.0" - "python-dateutil>=2.8.0" - "pytest>=6.0.0" - pandas diff --git a/paramtools/__init__.py b/paramtools/__init__.py index d8088f2..b5bec61 100644 --- a/paramtools/__init__.py +++ b/paramtools/__init__.py @@ -53,7 +53,7 @@ name = "paramtools" -__version__ = "0.18.2" +__version__ = "0.18.3" __all__ = [ "SchemaFactory", diff --git a/paramtools/schema.py b/paramtools/schema.py index 4ebe76d..ebbb453 100644 --- a/paramtools/schema.py +++ b/paramtools/schema.py @@ -204,7 +204,7 @@ def validate_only(self, data): error_store=error_store, data=data, many=None ) # Run schema-level validation - if self._has_processors(decorators.VALIDATES_SCHEMA): + if self._hooks[decorators.VALIDATES_SCHEMA]: field_errors = bool(error_store.errors) self._invoke_schema_validators( error_store=error_store, diff --git a/setup.py b/setup.py index 099ddaa..e6c1ced 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="paramtools", - version=os.environ.get("VERSION", "0.18.2"), + version=os.environ.get("VERSION", "0.18.3"), author="Hank Doupe", author_email="henrymdoupe@gmail.com", description=(