15
0

Accepting request 915755 from home:glaubitz:branches:devel:languages:python

- Update to 0.5.1
  * Publish to pypi from master after tagging
  * Fix name of LICENSE file in MANIFEST (#140)
  * Hard code Pypi user to __token__
  * Add checks and bdist_wheel
  * Split PR workflow from push workflow
  * Add automatic tagging
  * Remove old publish scripts
  * Add support for publishing to pypi
- from version 0.5.0
  * Guarantee sorted results from IntentDeterminationEngine.determine_intent (#137)
  * Fixes issue 97 (#138)
- from version 0.4.3
  * Updated docstrings, and some small fixes (#132)
  * Bump version to 0.4.2
  * Fix use after remove
  * Test that a removed regexp can be re-added
  * Fix storing regex as string when cleaned
- from version 0.4.1
  * Scoring tests and fixes (#131)
  * Issues/114 (#128)
  * Add .envrc to git-ignore
  * Consolidate requirements
  * Remove unused requirement argparse
  * Add license and readme to MANIFEST.in
  * Use run_tests.sh in github actions
  * Add run_tests.sh to easily do linting and tests
  * Remove run_tests.py and add test instructions
  * Add test requirements into test-requirements.txt
  * Enable flake8 checks for some basic errors

OBS-URL: https://build.opensuse.org/request/show/915755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-adapt-parser?expand=0&rev=11
This commit is contained in:
2021-10-16 09:26:57 +00:00
committed by Git OBS Bridge
parent 9decdf51cb
commit e8fd65666c
4 changed files with 77 additions and 10 deletions

View File

@@ -1,3 +1,70 @@
-------------------------------------------------------------------
Thu Sep 2 12:28:07 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.5.1
* Publish to pypi from master after tagging
* Fix name of LICENSE file in MANIFEST (#140)
* Hard code Pypi user to __token__
* Add checks and bdist_wheel
* Split PR workflow from push workflow
* Add automatic tagging
* Remove old publish scripts
* Add support for publishing to pypi
- from version 0.5.0
* Guarantee sorted results from IntentDeterminationEngine.determine_intent (#137)
* Fixes issue 97 (#138)
- from version 0.4.3
* Updated docstrings, and some small fixes (#132)
* Bump version to 0.4.2
* Fix use after remove
* Test that a removed regexp can be re-added
* Fix storing regex as string when cleaned
- from version 0.4.1
* Scoring tests and fixes (#131)
* Issues/114 (#128)
* Add .envrc to git-ignore
* Consolidate requirements
* Remove unused requirement argparse
* Add license and readme to MANIFEST.in
* Use run_tests.sh in github actions
* Add run_tests.sh to easily do linting and tests
* Remove run_tests.py and add test instructions
* Add test requirements into test-requirements.txt
* Enable flake8 checks for some basic errors
* Drop use of Travis CI
* Drop support for Python 3.5
* Run unit tests in Github Actions
- from version 0.4.0
* Add support for dropping regex entities
* Drop nonlocal variables in scan
* Add support for dropping registered entities
* Add "scan" method to Trie
* Add basic tests for removing from Trie
* Add drop_intent tests
* Fix regex warnings
* Add functionality to drop intent parsers
* Add python 3.9 as a supported version
* Add python 3.9 to test suite
- from version 0.3.7
* Add readme
* Update to pyee 8.1.0
* chore(intent.py): fix typo in docstring
* chore(trie.py): fix typo in docstring
* chore(engine.py): correct include_tags's docstring
* Issue #109: unused imports/variable declarations
* Issue #109: unused imports/variable declarations
- from version 0.3.6
* Upgrade to the latest version of pyee
* Change the URL for more docs
- from version 0.3.5
* Issue #86
* Remove python 2.7-3.4 and add 3.6-8 from travis run
* Update engine.py (fix typos in docstring)
- Update BuildRequires and Requires from requirements.txt
- Update filename argument to %setup invocation
- Update sed filename argument from setup.py to requirements.txt
- Update testsuite invocation to `%python_exec setup.py test`
-------------------------------------------------------------------
Thu Jan 16 15:20:49 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-adapt-parser
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-adapt-parser
Version: 0.3.4
Version: 0.5.1
Release: 0
Summary: A text-to-intent parsing framework
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/MycroftAI/adapt
Source: https://github.com/MycroftAI/adapt/archive/v%{version}.tar.gz
BuildRequires: %{python_module pyee >= 1.0.1}
BuildRequires: %{python_module pyee >= 8.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module unittest-xml-reporting}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pyee >= 1.0.1
Requires: python-pyee >= 8.1.0
Requires: python-six >= 1.10.0
BuildArch: noarch
%python_subpackages
@@ -42,8 +42,8 @@ determination framework. It is intended to parse natural language text into
a structured intent that can then be invoked programatically.
%prep
%setup -q -n adapt-%{version}
sed -i -s "s/==/>=/" setup.py
%setup -q -n adapt-release-v%{version}
sed -i -s "s/==/>=/" requirements.txt
%build
%python_build
@@ -53,7 +53,7 @@ sed -i -s "s/==/>=/" setup.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec run_tests.py --fail-on-error
%python_exec setup.py test
%files %{python_files}
%license LICENSE.md

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20c88955911b7c8db2742bb753eca7e2a4fd0c350e183e9b93fa0295083c3ad9
size 31498

3
v0.5.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29758157e83eb7f08549816aec11a37671a53cb0fa837be98255b68e02a3c0cd
size 36722