Commit Graph

15 Commits

Author SHA256 Message Date
c6021cccd5 Accepting request 1081486 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=23
2023-04-21 21:25:12 +00:00
fc72ad8a58 - Remove 650-sorting-in-test_ordering.patch not needed anymore
- Add remove-ufmt-dep.patch, python-ufmt is not in tumbleweed
- Add replace-python-call.patch, wrong executable call when outside of venv
  (gh#Instagram/LibCST#468)
- Update to 0.4.9:
  - Bump setuptools-rust version by @zsol in #809
- 0.4.8
  - Fix parse error message for number parsing by @zzl0 in #724
  - Fix problematic doc build, due to the new builder image provided by
    readthedocs doesn't has the graphviz-dev package pre-installed any more by
    @MapleCCC in #751
  - Fix docstring of FullRepoManager by @MapleCCC in #750
  - Fix bug when TypeOf is one of options in OneOf / AllOf by @MapleCCC in #756
  - Tighten the metadata type of ExpressionContextProvider by @MapleCCC in #760
  - Fix the bug that the use of formatter in codemods has undetermined target
    Python version, resulting in hard-to-reason-with behavior by @MapleCCC in
    #771
  - Python 3.11 rutime support
    - test using python 3.11 beta versions by @zsol in #723
    - Python 3.11 wheels by @vfazio in #801
  - Raise informative exception when metadata is unresolved in a metadata-based
    match by @MapleCCC in #757
  - Add AccessorProvider by @matthewshaer in #807
- 0.4.7 - 2022-07-12
  - Fix get_qualified_names_for matching on prefixes of the given name by
    @lpetre in #719
  - Implement lazy loading mechanism for expensive metadata providers by
    @Chenguang-Zhu in #720
- 0.4.6 - 2022-07-04
  - convert_type_comments now preserves comments following type comments by

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=20
2022-12-14 12:08:22 +00:00
0aae44e0a5 Resolve conflicts
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=19
2022-02-22 21:32:18 +00:00
48ef570ee9 Set CARGO_NET_OFFLINE variable.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=18
2022-02-21 17:06:06 +00:00
5f7441c734 Use PyPI tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=17
2022-02-21 14:10:45 +00:00
3dc919d44d Accepting request 956487 from home:dspinella:branches:home:mcepl:branches:devel:languages:python
ok

OBS-URL: https://build.opensuse.org/request/show/956487
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=16
2022-02-21 13:47:06 +00:00
1409b90fdf Accepting request 894418 from home:bnavigator:branches:devel:languages:python
- Update to 0.3.19
  * Return more specific QNames for assignments #477
  * Tie accesses from string annotation to the string node #483
  * Fix leaking processes from TypeInferenceProvider #474
  * Fix TypeInferenceProvider breakage with empty cache #476
  * Fix formatting for link to QualifiedName class in docs #480
- Release 0.3.18
  * Add FlattenSentinel to support replacing a statement with
    multiple statements #455
  * Add BuiltinScope #469
  * Add FullyQualifiedNameProvider #465
  * Split QualifiedNameProvider out from
    libcst.metadata.scope_provider #464
  * Fix Exception while parsing escape character in raw f-strings
    #462

OBS-URL: https://build.opensuse.org/request/show/894418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=14
2021-05-19 17:26:44 +00:00
3bfa6f7419 Accepting request 880421 from home:bnavigator:branches:devel:languages:python
- Update ot 0.3.17
  Updated
  * Optimization: reduce the number of unused parallel processes 
    #440
  Fixed
  * Walrus operator's left hand side now has STORE expression
    context #443
  * ApplyTypeAnnotationsVisitor applies parameter annotations even
    if no return type is declared #445
  * Work around Windows problem by using dummy pool for jobs=1 #436
  * Remove extra unused imports added in other files #453

OBS-URL: https://build.opensuse.org/request/show/880421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=12
2021-03-22 22:13:01 +00:00
d7f17cf2e5 Accepting request 860001 from home:bnavigator:branches:devel:languages:python
- Update to version 0.3.16
  Added
  * Support PEP-604 style unions in decorator annotations #429
  * Gathering exports in augmented assignment statements #426
  Fixed
  * Don't allow out of order accesses in the global scope #431
  * Handle scope ordering in For statements #430
  * Fix for not parsing subscripts such as cast()["from"] #428
  * Walrus operator's left hand side now has STORE expression 
    context #433
- Changes in 0.3.15
  Added
  * Support Named Unicode Characters and yield in f-strings #424
  Fixed
  * Assignment/access ordering in comprehensions #423
  * Referencing of remaining objects in cast() #422 
- refresh skip_failing_test.patch

OBS-URL: https://build.opensuse.org/request/show/860001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=10
2021-01-03 22:55:21 +00:00
38688d5028 - Add skip_failing_test.patch skipping test_ordering
(libcst.metadata.tests.test_scope_provider.ScopeProviderTest) which
  doesn't work with Python 3.6 on i586 (gh#Instagram/LibCST#442).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=9
2021-01-03 16:40:17 +00:00
Markéta Machová
ec3880cbff Accepting request 849770 from home:bnavigator:branches:devel:languages:python
- Update to version 0.3.14
  Fixed
  * Fix is_annotation for types used in classdef base and assign
    value [#406]
  * Visit concatenated f-strings during scope analysis [#411]
  * Correct handling of walrus operator in function args [#417]
  * Allow generator expressions in f-strings [#419]
  * Keep track of assignment/access ordering during scope analysis
    [#413]
  * Handle string type references in cast() during scope analysis 
    [#418]
- 0.3.13
  Fixed
  * Use correct type for AugAssign and AnnAssign target [#396]
  * Support string annotations for type aliases [#401]
- 0.3.12
  Fixed
  * fix RemoveImportsVisitor crash when ImportAlias is 
    inserted without comma [#397]
  * Provide STORE for {Class,Function}Def.name in 
    ExpressionContextProvider [#394]
- 0.3.11
  Added
  * Implement TypeOf matcher [#384]
  Updated
  * Update return type of ParentNodeProvider to be CSTNode [#377]
  * Add source code links to each class/function [#378]
  Fixed
  * Removing an import alias with a trailing standalone 
    comment should preserve the comment [#392]

OBS-URL: https://build.opensuse.org/request/show/849770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=7
2020-11-23 09:25:48 +00:00
47e81b7260 Accepting request 829578 from home:bnavigator:branches:devel:languages:python
- Update to v0.3.10
  Added
  * Handle string annotations in ScopeProvider #373
  * Add is_annotation subtype for Access inreferences. #372
  Updated
  * Call pyre query with noninteractive logging #371
  * Replace matchers with explicit visitation in gatherers #366
  * Include missing test data in install #365
  Fixed
  * Spaces around walrus operator are not required #368
  * SaveMachedNode now matches with trailing empty wildcards #356
  * Correctly extract wildcard matchers #355
- clean specfile multibuild
- don't require own package on test flavor
- require dataclasses for Python 3.6 distros
- despite gh#Instagram/LibCST#365 says it's fixed, we still need to
  regenerate the code for tests
  => don't skip tests which actually pass after codegen
- can use plain unittest again, same as upstream
- define skip_python2 for Leap repositories

OBS-URL: https://build.opensuse.org/request/show/829578
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=5
2020-08-25 18:40:46 +00:00
Tomáš Chvátal
6fc8cd25f7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=3 2020-08-21 10:02:39 +00:00
Tomáš Chvátal
2ba3ad95cc - Switch to multibuild in order to avoid buildcycles
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=2
2020-08-21 09:50:01 +00:00
Tomáš Chvátal
958485465e Accepting request 824924 from home:jayvdb:py-submit
Dependency of https://build.opensuse.org/package/show/home:jayvdb:django/python-django-codemod

OBS-URL: https://build.opensuse.org/request/show/824924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=1
2020-08-16 08:51:17 +00:00