Skip to content

Commit

Permalink
Bump hotfix release
Browse files Browse the repository at this point in the history
  - Fix other failing URL normalization tests
  • Loading branch information
brunato committed Sep 12, 2024
1 parent 37fb564 commit 91df061
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
CHANGELOG
*********

`v3.4.2`_ (2024-09-12)
======================
* Fix other failing URL normalization tests

`v3.4.1`_ (2024-09-12)
======================
* Fix failing URL normalization tests (issue #416)
Expand Down Expand Up @@ -721,3 +725,4 @@ v0.9.6 (2017-05-05)
.. _v3.3.2: https://github.com/brunato/xmlschema/compare/v3.3.1...v3.3.2
.. _v3.4.0: https://github.com/brunato/xmlschema/compare/v3.3.2...v3.4.0
.. _v3.4.1: https://github.com/brunato/xmlschema/compare/v3.4.0...v3.4.1
.. _v3.4.2: https://github.com/brunato/xmlschema/compare/v3.4.1...v3.4.2
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
# The short X.Y version.
version = '3.4'
# The full version, including alpha/beta/rc tags.
release = '3.4.1'
release = '3.4.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: xmlschema
url: 'https://github.com/sissaschool/xmlschema'
landingURL: 'https://github.com/sissaschool/xmlschema'
releaseDate: '2024-09-12'
softwareVersion: v3.4.1
softwareVersion: v3.4.2
developmentStatus: stable
platforms:
- linux
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='xmlschema',
version='3.4.1',
version='3.4.2',
packages=find_packages(include=['xmlschema*']),
package_data={
'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'],
Expand Down
5 changes: 2 additions & 3 deletions tests/test_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import os
import pathlib
import platform
import sys

from urllib.parse import urlsplit, uses_relative
from pathlib import Path, PurePath, PureWindowsPath, PurePosixPath
Expand Down Expand Up @@ -293,7 +292,7 @@ def test_normalize_url_with_base_unc_path(self,):
self.assertEqual(url, 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')

url = normalize_url(r'dev\XMLSCHEMA\test.xsd', base_url=base_url_host_in_path)
if sys.version_info < (3, 12, 4):
if not has_fix_for_issue_67673():
self.assertEqual(url, 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')
else:
self.assertEqual(url, 'file://////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')
Expand All @@ -310,7 +309,7 @@ def test_normalize_url_with_base_unc_path(self,):
self.assertEqual(url, 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')

url = normalize_url(r'dev/XMLSCHEMA/test.xsd', base_url=base_url_host_in_path)
if sys.version_info < (3, 12, 4):
if not has_fix_for_issue_67673():
self.assertEqual(url, 'file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')
else:
self.assertEqual(url, 'file://////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd')
Expand Down
2 changes: 1 addition & 1 deletion xmlschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
XMLSchema, XMLSchema10, XMLSchema11, XsdComponent, XsdType, XsdElement, XsdAttribute
)

__version__ = '3.4.1'
__version__ = '3.4.2'
__author__ = "Davide Brunato"
__contact__ = "brunato@sissa.it"
__copyright__ = "Copyright 2016-2024, SISSA"
Expand Down

0 comments on commit 91df061

Please sign in to comment.