Skip to content

Commit

Permalink
Merge pull request #39 from azogue/env/limit-pydantic
Browse files Browse the repository at this point in the history
🐛 Fix install with new pydantic v2
  • Loading branch information
azogue authored Jul 30, 2023
2 parents 760d44e + 92c0eb4 commit 11d54a1
Show file tree
Hide file tree
Showing 9 changed files with 374 additions and 366 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude: >
)$
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
rev: v0.0.280
hooks:
- id: ruff
args:
Expand All @@ -18,7 +18,7 @@ repos:
args:
- --dont-order-by-type
- repo: https://github.com/psf/black
rev: "23.3.0"
rev: "23.7.0"
hooks:
- id: black
name: Format code (black)
Expand All @@ -31,7 +31,7 @@ repos:
- id: check-toml
- id: check-yaml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.0.0
hooks:
- id: prettier
- repo: "https://github.com/pre-commit/mirrors-mypy"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.2] - 🐛 Fix install with new pydantic v2 - 2023-07-30

##### Changes

- 🎨 lint: pre-commit autoupdate
- 📦️ env: Bump patch version and fix deps with pydantic version < v2, and enabling new Python 3.12
- 📝 Update CHANGELOG

## [0.9.1] - ✨ Add zone kind 'dbt-wmax' with vapour content limit - 2023-06-13

##### Changes
Expand Down
709 changes: 354 additions & 355 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ log_date_format = "%Y-%m-%d %H:%M:%S"

[tool.poetry]
name = "psychrochart"
version = "0.9.1"
version = "0.9.2"
description = "A python 3 library to make psychrometric charts and overlay information on them"
authors = ["Eugenio Panadero <eugenio.panadero@gmail.com>"]
packages = [
Expand All @@ -64,16 +64,17 @@ classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords=["psychrometrics", "moist", "humid air", "climate control", "matplotlib"]
include = ["CHANGELOG.md"]

[tool.poetry.dependencies]
python = ">=3.10,<3.12"
python = ">=3.10,<3.13"
matplotlib = ">=3.7"
scipy = ">=1.10"
psychrolib = ">=2.5"
pydantic = ">=1.8"
pydantic = ">=1.8,<2"
python-slugify = ">=8.0.1"

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/example-charts/chart_overlay_style_minimal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/example-charts/test_ashrae_psychrochart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/example-charts/test_ashrae_psychrochart_ip.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/example-charts/test_default_psychrochart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/example-charts/test_minimal_psychrochart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 11d54a1

Please sign in to comment.