forked from pool/python-adapt-parser
Accepting request 925651 from devel:languages:python
- update to 0.6.1: * Support for python 2.7 is now a firm thing and not just implied. - 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 OBS-URL: https://build.opensuse.org/request/show/925651 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-adapt-parser?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,76 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 16 09:45:36 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.6.1:
|
||||
* Support for python 2.7 is now a firm thing and not just implied.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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.6.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}
|
||||
Source: https://github.com/MycroftAI/adapt/archive/refs/tags/release/v%{version}.tar.gz
|
||||
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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20c88955911b7c8db2742bb753eca7e2a4fd0c350e183e9b93fa0295083c3ad9
|
||||
size 31498
|
||||
3
v0.6.1.tar.gz
Normal file
3
v0.6.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd4e8faea90925418324e54c3d404f2f47a519b22c81e6008799a3a7bdc39273
|
||||
size 37365
|
||||
Reference in New Issue
Block a user