25 Commits

Author SHA256 Message Date
Dominique Leuenberger
35f145e0ab Accepting request 1238538 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1238538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=10
2025-01-18 12:18:12 +00:00
Ana Guerrero
37ed1d9e01 Accepting request 1235848 from devel:languages:python
- Exclude 32bit platforms: Fails to build with overflow errors
- Fix sources and revert to github tarball: tests missing
- Update to version 3.0.0
   Added
    * Added new testing helpers to time travel. #626
    * Made instance() support all native types (date, time, datetime). #732
   Changed
    * Dropped support for Python 2.7, 3.5 and 3.6. #569
    * The Timezone class now relies on the native zoneinfo.ZoneInfo class. #569
    * Renamed the Period class to Interval. #676
    * Renamed the period helper to interval. #676
    * Removed existing testing helpers: test() and set_test_now(). #626
    * Dropped support for Python 3.7. #734
    * Rewrote extensions in Rust. #721
    * Made day of week convention more consistent across the codebase. #731    
    * Relaxed dependency constraints. #760
    * The testing helpers are now optional and must be opted-in via the test extra. #778
   Fixed
    * Fixed datetime string representation to match the native library. #733
    * Fixed issues on some system when retrieving the local timezone. #733
    * Fixed DST handling in start_of()/end_of() methods. #713
    * Removed remaining mentions of periods instead of intervals. #757
    * Fixed the behavior of the week_of_month property for edge cases in January and December. #774
    * Fixed the handling of the fold attribute when deep-copying a DateTime instance. #776
    * Fixed errors where hours and days were not handled properly when adding durations. #775
    * Fixed errors where hours and days were not handled properly when adding durations. #775
   Locales
    * Added the sk locale. #575
    * Added the ja locale. #610
    * Added the he locale. #585
    * Added the sv locale. #562

OBS-URL: https://build.opensuse.org/request/show/1235848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=9
2025-01-12 10:08:32 +00:00
95ce22bade Accepting request 1236904 from home:bnavigator:branches:devel:languages:python
- Skip python313: Not maintained enough
  gh#python-pendulum/pendulum#844

OBS-URL: https://build.opensuse.org/request/show/1236904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=23
2025-01-10 15:49:45 +00:00
7e71a89917 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=22 2025-01-08 09:27:43 +00:00
4267fb83fe OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=21 2025-01-08 09:27:10 +00:00
b9dcc928dd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=20 2025-01-08 09:26:50 +00:00
2c3be6ba29 - Fix sources and revert to github tarball: tests missing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=19
2025-01-07 20:49:59 +00:00
9e1bb5ebc1 - Update to version 3.0.0
Added
    * Added new testing helpers to time travel. #626
    * Made instance() support all native types (date, time, datetime). #732
   Changed
    * Dropped support for Python 2.7, 3.5 and 3.6. #569
    * The Timezone class now relies on the native zoneinfo.ZoneInfo class. #569
    * Renamed the Period class to Interval. #676
    * Renamed the period helper to interval. #676
    * Removed existing testing helpers: test() and set_test_now(). #626
    * Dropped support for Python 3.7. #734
    * Rewrote extensions in Rust. #721
    * Made day of week convention more consistent across the codebase. #731    
    * Relaxed dependency constraints. #760
    * The testing helpers are now optional and must be opted-in via the test extra. #778
   Fixed
    * Fixed datetime string representation to match the native library. #733
    * Fixed issues on some system when retrieving the local timezone. #733
    * Fixed DST handling in start_of()/end_of() methods. #713
    * Removed remaining mentions of periods instead of intervals. #757
    * Fixed the behavior of the week_of_month property for edge cases in January and December. #774
    * Fixed the handling of the fold attribute when deep-copying a DateTime instance. #776
    * Fixed errors where hours and days were not handled properly when adding durations. #775
    * Fixed errors where hours and days were not handled properly when adding durations. #775
   Locales
    * Added the sk locale. #575
    * Added the ja locale. #610
    * Added the he locale. #585
    * Added the sv locale. #562

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=18
2025-01-07 19:03:01 +00:00
Dominique Leuenberger
295f91398a Accepting request 1092236 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=8
2023-06-12 13:25:46 +00:00
bc74a422d5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=16 2023-06-11 11:36:29 +00:00
3175044e79 Accepting request 1092121 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=15
2023-06-11 11:36:15 +00:00
Dominique Leuenberger
421ad97f0d Accepting request 999279 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=7
2022-08-26 07:08:11 +00:00
Axel Braun
2adbd4b684 Accepting request 999244 from home:bnavigator:branches:devel:languages:python
- Skip failing DST tests for Amsterdam during Nazi occupation
  * gh#sdispater/pendulum#644

OBS-URL: https://build.opensuse.org/request/show/999244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=13
2022-08-25 16:25:53 +00:00
Dominique Leuenberger
b7da748ab2 Accepting request 844257 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=6
2020-10-29 13:51:47 +00:00
67f3a9b822 Accepting request 844253 from home:bnavigator:branches:devel:languages:python
- Update to version 2.1.2
  * Added support for build scripts without the setup.py file
    generation in the editable builder (#2718).
  * Fixed an error occurring when using older lock files (#2717).
- Changelog for version 2.1.1
  * Fixed errors where invalid timezones were matched in 
    from_format() (#374).
  * Fixed errors when subtracting negative timedeltas (#419).
  * Fixed errors in total units computation for durations 
    with years and months (#482).
  * Fixed an error where the fold attribute was overridden 
    when using replace() (#414).
  * Fixed an error where now() was not returning the 
    correct result on DST transitions (#483).
  * Fixed inconsistent typing annotation for the parse() 
    function (#452).
  * Added the pl locale (#459).
- Build the extensions
- Kill dephell dependency 
- Disable python2 package (no python2-poetry-core in Leaps 
  sr#842815)

OBS-URL: https://build.opensuse.org/request/show/844253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=11
2020-10-27 10:43:23 +00:00
Dominique Leuenberger
8e16f6bdd8 Accepting request 798127 from devel:languages:python
- Depend on python-dateutil not just dateutil to solve on Leap

OBS-URL: https://build.opensuse.org/request/show/798127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=5
2020-04-27 21:37:09 +00:00
Tomáš Chvátal
114883ba80 - Depend on python-dateutil not just dateutil to solve on Leap
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=9
2020-04-27 08:59:06 +00:00
Dominique Leuenberger
2209239698 Accepting request 795784 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=4
2020-04-21 11:09:38 +00:00
Tomáš Chvátal
88fa3fe7c3 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=7
2020-04-20 10:59:00 +00:00
Dominique Leuenberger
a4ac593369 Accepting request 788489 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=3
2020-03-26 22:34:17 +00:00
Tomáš Chvátal
f51b0ec93d Accepting request 787803 from home:pgajdos:python
- version update to 2.1.0
  Added
    Added better typing and PEP-561 compliance (#320).
    Added the is_anniversary() method as an alias of is_birthday() (#298).
  Changed
    Dropped support for Python 3.4.
    is_utc() will now return True for any datetime with an offset of 0, similar to the behavior in the 1.* versions (#295)
    Duration.in_words() will now return 0 milliseconds for empty durations.
  Fixed
    Fixed various issues with timezone transitions for some edge cases (#321, (#350)).
    Fixed out of bound detection for nth_of("month") (#357).
    Fixed an error where extra text was accepted in from_format() (#372).
    Fixed a recursion error when adding time to a DateTime with a fixed timezone (#431).
    Fixed errors where Period instances were not properly compared to other classes, especially timedelta instances (#427).
    Fixed deprecation warnings due to internal regexps (#427).
    Fixed an error where the test() helper would not unset the test instance when an exception was raised (#445).
    Fixed an error where the week_of_month attribute was not returning the correct value (#446).
    Fixed an error in the way the Z ISO-8601 UTC designator was not parsed as UTC (#448).

OBS-URL: https://build.opensuse.org/request/show/787803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=5
2020-03-26 10:44:13 +00:00
Dominique Leuenberger
bf0bc26144 Accepting request 781317 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=2
2020-03-06 20:27:26 +00:00
6eaf7aa65c Accepting request 781228 from Application:ERP:GNUHealth:3.6
- added pytzdata as dependency

OBS-URL: https://build.opensuse.org/request/show/781228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=3
2020-03-03 21:25:12 +00:00
Dominique Leuenberger
c41d0abc66 Accepting request 751861 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/751861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=1
2019-12-04 12:51:04 +00:00
Tomáš Chvátal
3faa55f1c7 Accepting request 750342 from Application:ERP:Tryton:5.0
new submission

OBS-URL: https://build.opensuse.org/request/show/750342
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=1
2019-11-29 10:18:39 +00:00