14
0
Commit Graph

5 Commits

Author SHA256 Message Date
13033179f2 Accepting request 1248168 from home:glaubitz:branches:devel:languages:python
- Update to 0.8.2
  * Drop support for Python 3.6 and 3.7
  * Support Python 3.11, 3.12, and 3.13
  * Migrated from setuptools to hatch
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1248168
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-javaproperties?expand=0&rev=9
2025-02-24 14:31:46 +00:00
ee72da3581 Accepting request 1155594 from home:glaubitz:branches:devel:languages:python
- Switch package to modern Python Stack on SLE-15
  + Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1155594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-javaproperties?expand=0&rev=7
2024-03-07 08:51:48 +00:00
6d22ad83d2 Accepting request 1076857 from home:pgajdos:python
- version update to 0.8.1
  v0.8.1 (2021-10-05)
  -------------------
  - Fix a typing issue in Python 3.9
  - Support Python 3.10
  
  v0.8.0 (2020-11-28)
  -------------------
  - Drop support for Python 2.7, 3.4, and 3.5
  - Support Python 3.9
  - `ensure_ascii` parameter added to `PropertiesFile.dump()` and
    `PropertiesFile.dumps()`
  - **Bugfix**: When parsing XML input, empty `<entry>` tags now produce an empty
    string as a value, not `None`
  - Added type annotations
  - `Properties` and `PropertiesFile` no longer raise `TypeError` when given a
    non-string key or value, as type correctness is now expected to be enforced
    through static type checking
  - The `PropertiesElement` classes returned by `parse()` are no longer
    subclasses of `namedtuple`, but they can still be iterated over to retrieve
    their fields like a tuple
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1076857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-javaproperties?expand=0&rev=5
2023-04-04 09:36:52 +00:00
Tomáš Chvátal
db2ebf4164 Accepting request 794774 from home:pgajdos:python
- version update to 0.7.0
  v0.7.0 (2020-03-09)
  -------------------
  - `parse()` now accepts strings as input
  - **Breaking**: `parse()` now returns a generator of custom objects instead of
    triples of strings
  - Gave `PropertiesFile` a settable `timestamp` property
  - Gave `PropertiesFile` a settable `header_comment` property
  - Handle unescaping surrogate pairs on narrow Python builds
  v0.6.0 (2020-02-28)
  -------------------
  - Include changelog in the Read the Docs site
  - Support Python 3.8
  - When dumping a value that begins with more than one space, only escape the
    first space in order to better match Java's behavior
  - Gave `dump()`, `dumps()`, `escape()`, and `join_key_value()` an
    `ensure_ascii` parameter for optionally not escaping non-ASCII characters in
    output
  - Gave `dump()` and `dumps()` an `ensure_ascii_comments` parameter for
    controlling what characters in the `comments` parameter are escaped
  - Gave `to_comment()` an `ensure_ascii` parameter for controlling what
    characters are escaped
  - Added a custom encoding error handler `'javapropertiesreplace'` that encodes
    invalid characters as `\uXXXX` escape sequences
- really test the package

OBS-URL: https://build.opensuse.org/request/show/794774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-javaproperties?expand=0&rev=3
2020-04-17 06:35:06 +00:00
fb721a5d97 Accepting request 751031 from home:glaubitz:branches:devel:languages:python
- New python dependency required for new azure-cli

OBS-URL: https://build.opensuse.org/request/show/751031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-javaproperties?expand=0&rev=1
2019-11-28 09:16:07 +00:00