* setup: Fix classifier
* Drop support for Python < 3.8, use PTI test interface
* setup: Update classifiers
* Migrate to importlib.metadata
* Remove use of deprecated APIs
* Fix compatibility with recent Sphinx versions
* Fix flake8 issues
* tests: Migrate to pytest
* Fix code to work with Sphinx>5.0
- update to 0.5b2:
* Add a special type ‘HostRequest’ that allow a function to
* Pecan adapter: Debug mode (which returns the exception
tracebacks to the client) can be enabled by the pecan
- Update to version 0.5b1:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=44
- update to 0.9.2:
* Remove white space between print ()
* Fix: Sphinx extension on Python3
* Fix the setup.cfg metadata
* Print exceptions raised from from_param methods
* Fix pep8 issues and switch to py35 in tox.ini
* [doc] Complete doc requirements
* Add the 0.8.0 changes list
* wsattr.__set__() catchs TypeError
* Fix jenkins failure
* Port test_cornice to Python 3
* Change the repositories from stackforge to openstack
* Update .gitreview for new namespace
- convert to singlespec
OBS-URL: https://build.opensuse.org/request/show/518560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=24
- update to 0.7.0:
* Ensure UserType objects are converted to basetype
* Convert built-in types when passed as strings
* Multiple protocol accept or content-type matching
* Raise an InvalidInput if you get a ValueError from JSON data
* Remove unsupported python versions from setup.cfg
* Clean up setup.py and add requirements.txt
* Add full MIT license
* Fix i18n when formatting exception
* Cleanup up logging
* Make it possible to use the Response to return a non-default return type
* several fixes for SOAP protocol
- Update Requires and BuildRequires according to requirements.txt
OBS-URL: https://build.opensuse.org/request/show/309627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=20
+ Add 'readonly' parameter to wsattr
+ Fix typos in documents and comments
+ Support dynamic types
+ Support building wheels (PEP-427)
+ Fix a typo in the types documentation
+ Add IntegerType and some classes for validation
+ Use assertRaises() for negative tests
+ Remove the duplicated error message from Enum
+ Drop description from 403 flask test case
+ Fix SyntaxWarning under Python 3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=13
+ Add improved support for HTTP response codes in cornice apps.
+ Handle mandatory attributes
+ Fix error code returned when None is used in an Enum
+ Handle list and dict for body type in REST protocol
+ Fix Sphinx for Python 3
+ Add custom error code to ClientSideError
+ Return a ClientSideError if unable to convert data
+ Validate body when using Pecan
- BuildRequire setuptools instead of distribute after upstream merge
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=11
- (Build)Require python-ordereddict on SP3
- update to 0.5b5:
* More packaging fixes.
* Allow non-default status code return with the pecan adapter
* Fix returning objects with object attributes set to None on rest-json
* Allow error details to be set on the Response object (experimental !).
* Fix: Content-Type header is not set anymore when the return type is None
on the pecan adapter.
* Use pbr instead of d2to1 (Julien Danjou).
* six >= 1.4.0 support (Julien Danjou).
OBS-URL: https://build.opensuse.org/request/show/199644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=8
- update to 0.5b2:
* Changed the way datas of complex types are stored. In previous
versions, an attribute was added to the type for each attribute,
its name being the attribute name prefixed with ‘_’.
Starting with this version, a single attribute _wsme_dataholder
is added to the instance.
* Add a special type ‘HostRequest’ that allow a function to
ask for the host framework request object in its arguments.
* Pecan adapter: Debug mode (which returns the exception
tracebacks to the client) can be enabled by the pecan
application configuration.
* Fix: the cornice adapter was not usable.
* Fix: Submodules of wsmeext were missing in the packages.
* Fix: The demo app was still depending on the WSME-Soap package (which has been merged into WSME in 0.5b1).
* Fix: A function with only on ‘body’ parameter would fail when being called.
* Fix: Missing arguments were poorly reported by the frameworks adapters.
OBS-URL: https://build.opensuse.org/request/show/173723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=4
+ Introduce a new kind of adapters that rely on the framework routing.
Adapters are provided for Pecan, TurboGears and cornice.
+ Reorganised the rest protocol implementation to ease the implementation
of adapters that rely only on the host framework routing system.
+ The default rest @expose decorator does not wrap the decorated function
anymore. If needed to expose a same function several times, a parameter
multiple_expose=True has been introduced.
+ Remove the wsme.release module
+ Fix == operator on ArrayType
+ Adapted the wsme.sphinxext module to work with the function exposed
by the wsme.pecan adapter.
+ Allow promotion of int to float on float attributes (Doug Hellman)
+ Add a samples_slot option to the .. autotype directive to choose where
the data samples whould be inserted
+ Add sample() to ArrayType and DictType
+ New syntax for object arrays as GET parameters, without brackets.
Ex: ?o.f1=a&o.f1=b&o.f2=c&o.f2=d is an array of two objects:
[{‘f1’: ‘a’, ‘f2’: ‘c’]}, {‘f1’: ‘b’, ‘f2’: ‘d’]}.
+ @signature (and its @wsexpose frontends) has a new parameter: ignore_extra_args.
+ Fix boolean as input type support in the soap implementation
+ Fix empty/nil strings distinction in soap
+ Improved unittests code coverage.
+ Ported the soap implementation to python 3.
+ Moved non-core features (adapters, sphinx extension) to the wsmeext module.
+ Change the GET parameter name for passing the request body as a parameter
is now from ‘body’ to ‘__body__’
+ The soap, extdirect and sqlalchemy packages have been merged into the
main package.
+ Changed the documentation theme to “Cloud”.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=2