14
0
Commit Graph

11 Commits

Author SHA256 Message Date
3b8fb9e64a - update to 1.16:
* Formatting support was improved, following CPython 3.13a3 as
    of https://github.com/python/cpython/pull/111320
  * Add support for Python 3.13 by using Cython 3.0.8 and calling
    math.gcd().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=20
2024-01-21 11:21:54 +00:00
3ff56a95b4 - use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=18
2023-12-08 12:06:56 +00:00
e55bcedd7b - update to 1.15:
* Add support for Python 3.12 by using Cython 3.0.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=17
2023-12-08 12:06:35 +00:00
7ea2c20d8b - use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=15
2023-08-13 21:41:22 +00:00
b0e3dbb56b - Enable python 3.11 build again, now is supported
- Update to 1.14
  - Implement __format__ for Fraction, following python/cpython#100161
  - Implement Fraction.is_integer(), following python/cpython#100488
  - Fraction.limit_denominator() is faster, following
    python/cpython#93730
  - Internal creation of result Fractions is about 10% faster if the
    calculated numerator/denominator pair is already normalised,
    following python/cpython#101780
  - Built using Cython 3.0.0b1.
- 1.13
  - Parsing very long numbers from a fraction string was very slow,
    even slower than fractions.Fraction. The parser is now faster in
    all cases (and still much faster for shorter numbers).
  - Fraction did not implement __int__.
    https://bugs.python.org/issue44547
- 1.12
  - Faster and more space friendly pickling and unpickling.
    https://bugs.python.org/issue44154
  - Algorithmically faster arithmetic for large denominators, although
    slower for small fraction components.
    https://bugs.python.org/issue43420 Original patch for CPython by
    Sergey B. Kirpichev and Raymond Hettinger.
  - Make sure bool(Fraction) always returns a bool.
    https://bugs.python.org/issue39274
  - Built using Cython 3.0.0a10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=13
2023-03-20 06:46:13 +00:00
b3cc3948f6 - Skip python 3.11, it's not supported yet
gh#scoder/quicktions#6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=11
2023-02-21 08:51:27 +00:00
Tomáš Chvátal
57ee181741 Accepting request 786774 from home:pgajdos:python
- version update to 1.11
  * Fix ``OverflowError`` when parsing string values with long decimal parts.

OBS-URL: https://build.opensuse.org/request/show/786774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=9
2020-03-20 09:17:08 +00:00
Tomáš Chvátal
9ee621e1f3 - Update to 1.10:
* New method fraction.as_integer_ratio()
  * python 3.8 fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=7
2019-09-10 10:59:37 +00:00
Tomáš Chvátal
0ff2f21b8b Accepting request 702945 from home:jjolly:branches:devel:languages:python
- Update to 1.9
  + Substantially faster normalisation (and therefore instantiation)
    in Py3.5+.
  + // (floordiv) now follows the expected rounding behaviour when used
    with floats (by converting to float first), and is much faster for
    integer operations.
  + Fix return type of divmod(), where the first item should be an integer.
  + Further speed up mod and divmod operations.
- Update to 1.8
  + Faster mod and divmod calculation.
- Update to 1.7
  + Faster normalisation and fraction string parsing.
  + Add support for Python 3.7.
  + Built using Cython 0.29.
- Changed %check to use %pytest_arch

OBS-URL: https://build.opensuse.org/request/show/702945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=5
2019-05-14 18:56:45 +00:00
Todd R
3597de1543 Accepting request 617147 from home:TheBlackCat:branches:devel:languages:python
- Use more compatible py.test syntax.

OBS-URL: https://build.opensuse.org/request/show/617147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=3
2018-06-15 20:45:00 +00:00
Todd R
9f77e09141 Accepting request 609873 from devel:languages:python:misc
Fast fractions data type for rational numbers

OBS-URL: https://build.opensuse.org/request/show/609873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=1
2018-05-16 17:36:41 +00:00