Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies version #246

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ Contributing
poetry install
poetry shell

# Code... and tests
# Code...

ruff check
black .
pytest --doctest-modules

- Open a Pull Request
Expand Down
6 changes: 3 additions & 3 deletions clairmeta/utils/sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ def transform_keys_dict(in_dict, func):

"""
return {
func(key): transform_keys_dict(value, func)
if isinstance(value, dict)
else value
func(key): (
transform_keys_dict(value, func) if isinstance(value, dict) else value
)
for key, value in six.iteritems(in_dict)
}

Expand Down
12 changes: 1 addition & 11 deletions clairmeta/xsd/DCSubtitle.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,7 @@
<xs:choice maxOccurs="unbounded">
<xs:element name="Text" type="TextType"/>
<xs:element name="Image" type="ImageType"/>
<xs:element name="Font">
<xs:complexType>
<xs:complexContent>
<xs:extension base="FontTypeSubtitleLevel">
<xs:sequence>
<xs:element name="Text" type="TextType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Font" type="FontTypeSubtitleLevel"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="SpotNumber" type="NonEmptyType" use="required"/>
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ readme = "README.rst"

[tool.poetry.dependencies]
python = "^3.8"
lxml = "^4.9.3"
lxml = "^5.1.0"
dicttoxml = "^1.7.16"
xmltodict = "^0.13.0"
python-dateutil = "^2.8.2"
six = "^1.16.0"
pyopenssl = "^23.2.0"
pycountry = "^22.3.5"
pyopenssl = "^24.0.0"
pycountry = "^23.12.11"
shutilwhich = "^1.1.0"
cryptography = "^41.0.4"
cryptography = "^42.0.2"
freetype-py = "^2.4.0"


[tool.poetry.group.dev.dependencies]
coverage = "^7.3.2"
pytest = "^7.4.2"
ruff = "^0.0.292"
black = "^23.9.1"
coverage = "^7.4.1"
pytest = "^8.0.0"
ruff = "^0.1.15"
black = "^24.1.1"

[build-system]
requires = ["poetry-core"]
Expand Down