06c4f2e91b
- Skip test_huge_int due to new security feature in Python
...
* https://github.com/python/cpython/issues/95778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=24
2022-09-12 12:16:30 +00:00
e6001eada8
Accepting request 1002902 from home:mcalabkova:branches:devel:languages:python
...
- Skip test_huge_int due to new security feature in Python 3.10.7
OBS-URL: https://build.opensuse.org/request/show/1002902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=23
2022-09-12 11:55:44 +00:00
Steve Kowalik
8bcaf7d58d
Accepting request 941498 from home:bnavigator:python-rpm-macros
...
- Also skip convert_stdlib in python310: still not fixed
OBS-URL: https://build.opensuse.org/request/show/941498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=22
2021-12-20 03:09:42 +00:00
f769d5bdd8
Accepting request 880167 from home:bnavigator:branches:devel:languages:python
...
- Skip failing stdlib roundtrip test on python39
gh#berkerpeksag/astor#196
OBS-URL: https://build.opensuse.org/request/show/880167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=20
2021-03-22 10:48:08 +00:00
Tomáš Chvátal
ea137e56be
- Remove patch remove_unittest2.patch as we use pytest to load
...
stuff it is no longer really needed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=18
2020-06-01 09:57:52 +00:00
74985eaec3
Accepting request 810582 from home:pgajdos:python
...
- for python3, drop dependency on unittest2
- added patches
+ remove_unittest2.patch
OBS-URL: https://build.opensuse.org/request/show/810582
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=17
2020-06-01 09:52:06 +00:00
Tomáš Chvátal
3c044d3e01
Accepting request 791276 from home:darix:branches:devel:languages:python
...
- remove the shebang line from the rtrip.py otherwise the python3
package will require /usr/bin/python.
another option would be to fix the she bang line per subpackage but I dont know how yet.
OBS-URL: https://build.opensuse.org/request/show/791276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=15
2020-04-04 16:22:15 +00:00
Tomáš Chvátal
c8dc2273b2
Accepting request 788279 from home:polslinux:branches:devel:languages:python
...
- Add remove_nose.patch
* test suite runs fine without nose, because it was written for unittest2
and, because nose won't work with Python 3.9/3.10, this patch removes
the requirement from setup.cfg and use unittest2 in the spec file
instead of nose
OBS-URL: https://build.opensuse.org/request/show/788279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=13
2020-03-26 05:06:49 +00:00
Tomáš Chvátal
ba8055c912
Accepting request 765263 from home:mcalabkova:branches:devel:languages:python
...
- update to 0.8.1
* Create sdist before making a test release too
* remove expr_text handler from fstrings
- Drop obsolete python38.patch and setuptools-gt-41_1.patch
OBS-URL: https://build.opensuse.org/request/show/765263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=11
2020-01-17 18:10:04 +00:00
38a04abf15
- Add patch to build with setuptools >= 41.4:
...
* setuptools-gt-41_1.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=9
2019-11-14 13:31:07 +00:00
Tomáš Chvátal
3f4719a75d
- Add patch to build with py 3.8:
...
* python38.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=7
2019-09-10 13:47:02 +00:00
Tomáš Chvátal
584e9ff98f
Accepting request 707075 from home:pgajdos
...
- version update to 0.8
* Support ``ast.Constant`` nodes being emitted by Python 3.8 (and initially
created in Python 3.6).
(Reported and fixed by Chris Rink in `Issue 120`_ and `PR 121`_.)
* Support Python 3.8's assignment expressions.
(Reported and fixed by Kodi Arfer in `Issue 126`_ and `PR 134`_.)
* Support Python 3.8's f-string debugging syntax.
(Reported and fixed by Batuhan Taskaya in `Issue 138`_ and `PR 139`_.)
* :func:`astor.to_source` now has a *source_generator_class* parameter to
customize source code generation.
(Reported and fixed by matham in `Issue 113`_ and `PR 114`_.)
* The :class:`~SourceGenerator` class can now be imported from the
:mod:`astor` package directly. Previously, the ``astor.code_gen``
submodule was needed to be imported.
* Support Python 3.8's positional only arguments. See :pep:`570` for
more details.
(Reported and fixed by Batuhan Taskaya in `Issue 142`_ and `PR 143`_.)
* bug fixes, see changelog.rst
- run the testsuite
OBS-URL: https://build.opensuse.org/request/show/707075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=5
2019-06-03 08:34:01 +00:00
Petr Cervinka
7e4902820a
Accepting request 647569 from home:czerw:branches:devel:languages:python
...
- Removed copied link reference from spec file
OBS-URL: https://build.opensuse.org/request/show/647569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=3
2018-11-09 12:06:02 +00:00
Petr Cervinka
f5e8ae4b21
Accepting request 647558 from home:mslacken:ml
...
- fixed rpmlint warnings
OBS-URL: https://build.opensuse.org/request/show/647558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=2
2018-11-09 11:51:28 +00:00
3101ac2d60
Accepting request 647320 from home:mslacken:ml
...
fixed the requested things
OBS-URL: https://build.opensuse.org/request/show/647320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=1
2018-11-08 19:21:30 +00:00