From 0453ebd5c47e08e9986fe11a7aa4c47c272b7e5b Mon Sep 17 00:00:00 2001 From: Chris Mackey Date: Tue, 15 Oct 2024 19:58:05 -0700 Subject: [PATCH] fix(validatiojn): Fix link to validation in pollination.solutions --- .github/workflows/ci.yaml | 13 ++++--------- dev-requirements.txt | 13 +++++-------- docs/comparison-report.html | 1 + docs/index.html | 1 + docs/model.html | 1 + docs/project-info.html | 1 + docs/simulation-parameter.html | 1 + docs/sync-instructions.html | 1 + docs/validation-report.html | 1 + honeybee_schema/validation.py | 2 +- 10 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b5f5434..545cc13 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: name: Unit tests strategy: matrix: - python-version: ['3.10'] + python-version: ['3.10', '3.12'] os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -25,12 +25,7 @@ jobs: pip install -r requirements.txt pip install -r dev-requirements.txt - name: run tests - run: python -m pytest --cov=. tests/ - - name: run test coverage - run: | - echo "Coveralls is no longer supported" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python -m pytest tests/ deploy: name: Deploy to GitHub and PyPI @@ -42,7 +37,7 @@ jobs: - name: set up Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: '3.12' - name: set up node # we need node for for semantic release uses: actions/setup-node@v4 with: @@ -112,7 +107,7 @@ jobs: - name: set up Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: '3.12' - name: set up node # we need node for for redocly uses: actions/setup-node@v2.1.2 with: diff --git a/dev-requirements.txt b/dev-requirements.txt index e59c25b..ae67d5b 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,10 +1,7 @@ click==7.1.2;python_version<'3.8' click==8.1.3;python_version>='3.8' -coverage==5.5 -coveralls==2.2.0 -pytest==6.2.4 -pytest-cov==2.12.0 -twine==3.4.1 -wheel==0.38.1 -setuptools==65.5.1 -importlib-metadata==4.3.1 +pytest==8.3.2 +twine==5.1.1 +wheel==0.44.0 +setuptools==75.1.0 +importlib-metadata==8.5.0 diff --git a/docs/comparison-report.html b/docs/comparison-report.html index daf9b2e..cb8abec 100644 --- a/docs/comparison-report.html +++ b/docs/comparison-report.html @@ -3,6 +3,7 @@ Honeybee Energy Simulation Parameter Schema + diff --git a/docs/index.html b/docs/index.html index 2e25a9c..db86fbf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,6 +3,7 @@ Honeybee Schema + diff --git a/docs/model.html b/docs/model.html index 796166f..9130dd2 100644 --- a/docs/model.html +++ b/docs/model.html @@ -3,6 +3,7 @@ Honeybee Model Schema + diff --git a/docs/project-info.html b/docs/project-info.html index 14d4e4c..da1e2a1 100644 --- a/docs/project-info.html +++ b/docs/project-info.html @@ -3,6 +3,7 @@ Honeybee Project Info Schema + diff --git a/docs/simulation-parameter.html b/docs/simulation-parameter.html index 574fe1d..07c7fef 100644 --- a/docs/simulation-parameter.html +++ b/docs/simulation-parameter.html @@ -3,6 +3,7 @@ Honeybee Energy Simulation Parameter Schema + diff --git a/docs/sync-instructions.html b/docs/sync-instructions.html index 7706e0f..fca2511 100644 --- a/docs/sync-instructions.html +++ b/docs/sync-instructions.html @@ -3,6 +3,7 @@ Honeybee Energy Simulation Parameter Schema + diff --git a/docs/validation-report.html b/docs/validation-report.html index 6e33ad6..1a55513 100644 --- a/docs/validation-report.html +++ b/docs/validation-report.html @@ -3,6 +3,7 @@ Honeybee Energy Simulation Parameter Schema + diff --git a/honeybee_schema/validation.py b/honeybee_schema/validation.py index 6e1a1d6..1c8db0e 100644 --- a/honeybee_schema/validation.py +++ b/honeybee_schema/validation.py @@ -88,7 +88,7 @@ class ValidationError(BaseModel): 'adjacency error). The third two digits are used to give a unique ID to ' 'each condition moving upwards from more specific/detailed objects/errors ' 'to coarser/more abstract objects/errors. A full list of error codes can ' - 'be found here: https://docs.pollination.cloud/user-manual/get-started/' + 'be found here: https://docs.pollination.solutions/user-manual/rhino-plugin/' 'troubleshooting/help-with-modeling-error-codes' )