15
0
forked from pool/python-WSME
Commit Graph

30 Commits

Author SHA256 Message Date
aeb79efa4a - fix compatibility with older setuptools again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=50
2025-07-18 23:15:51 +00:00
ce275bb9fb - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=48
2025-03-26 01:30:39 +00:00
887eb94490 - Add missing {Build,}Requires on importlib-metadata.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=46
2024-04-10 01:27:13 +00:00
264760c5ab - update to 0.12.1:
* 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
2023-12-01 16:48:57 +00:00
c93fe86db4 Accepting request 970105 from home:pgajdos:python
- %check: do not run test_args.py, it runs one test and it is the
  only one which requires python-mock
- do not require python-mock for build

OBS-URL: https://build.opensuse.org/request/show/970105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=42
2022-04-14 16:32:28 +00:00
566560337e - update to 0.11.0:
* sphinxext: Resolve compatibility with Sphinx 4.x
  * Remove useless \_\_future\_\_ imports
  * Remove six
  * Drop Python 2.7 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=41
2021-10-17 22:35:31 +00:00
9aabfd04b0 - update to 0.10.1:
* Fix coverage and getargspec deprecation
  * Python 3.9: use encodebytes / decodebytes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=39
2021-04-22 20:06:37 +00:00
Tomáš Chvátal
13472ac0dc Accepting request 810184 from home:mcalabkova:branches:devel:languages:python
- Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/810184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=37
2020-05-29 11:02:03 +00:00
9dba2ebc0e - update to 0.10.0:
* Remove use of '\_\_import\_\_'
  * Fix misc README issues
  * sphinxext: Fix Sphinx 3.0 compatibility
  * tox: Remove pecan-devNN tox targets, centralize deps
  * Rework documentation build
  * Allow fault code customization
  * Undo rename of 'wsme.rest.json', 'wsme.rest.xml' modules
  * trivial: Reformat setup.cfg
  * WebOb: Do not use the deprecated best\_match method
  * Remove simplejson support
  * Remove support for SPORE protcol
  * Remove support for SQLAlchemy protocol
  * Remove support for SOAP protocol
  * Remove support for Ext Direct protocol
  * Remove cornice integration
  * Remove turbogears integration
  * Remove tox templating
  * gitignore: Ignore '.eggs' directory
  * Mark tests as passing again
  * OpenDev Migration Patch
  * Fix overindentation
  * Update the tox.ini template and regenerate tox.ini
  * Move CI jobs in-tree, add Python 3.6 and 3.7
  * Get WSME tests working again
  * Python 3 compatibility: fix xrange/range issues
  * Removed older version of python added 3.5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=35
2020-04-29 10:43:46 +00:00
b9ec474afc - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=33
2019-10-14 11:46:14 +00:00
0ef905c6b0 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=31
2018-12-04 14:14:53 +00:00
f0b25fab92 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=29 2018-09-05 13:35:59 +00:00
d42e3bce5a - update to 0.9.3:
* Improve handling of :module: in wsme documenters
  * Change flask restful module name
  * fix a typo in documentation
  * Fix (some) tests for modern flask and pep8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=28
2018-09-05 13:35:14 +00:00
373f3bb355 Accepting request 518777 from home:jengelh:branches:devel:languages:python
- Trim sensationalist wording.

OBS-URL: https://build.opensuse.org/request/show/518777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=26
2017-08-28 04:14:54 +00:00
fa1264e194 Accepting request 518736 from home:tbechtold:branches:devel:languages:python
- Fix fdupes call

OBS-URL: https://build.opensuse.org/request/show/518736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=25
2017-08-25 12:19:41 +00:00
ff8b71ecb5 Accepting request 518560 from home:tbechtold:branches:devel:languages:python
- 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
2017-08-24 15:43:30 +00:00
015ea606d3 Accepting request 329814 from Cloud:OpenStack:Master
- update to 0.8.0:
  * Return 400, if the query string is not a dict
  * rest: return 415 when content-type is invalid
  * json: raise ValueError invalid list or dict
  * Fixes exception path with the datatype is a Object
  * Update README formatting for release tools
  * Set up dependencies for cross-tests

OBS-URL: https://build.opensuse.org/request/show/329814
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=22
2015-09-10 10:24:22 +00:00
Denisart Benjamin
95dc17416b Accepting request 309627 from home:tbechtold:branches:devel:languages:python
- 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
2015-06-02 17:45:52 +00:00
da11c1f194 Accepting request 280308 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/280308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=18
2015-01-08 17:31:26 +00:00
c828adac93 Accepting request 249187 from Cloud:OpenStack:Master
New upstream release

OBS-URL: https://build.opensuse.org/request/show/249187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=16
2014-09-15 06:54:17 +00:00
Sascha Peilicke
3005296760 - New dependency on python-ipaddr
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=14
2014-02-06 16:18:05 +00:00
Sascha Peilicke
4ada3acc83 - Update to version 0.6:
+ 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
2014-02-06 16:17:53 +00:00
Sascha Peilicke
5aeda066c4 - Update to version 0.5b6:
+ 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
2013-10-22 14:14:31 +00:00
Sascha Peilicke
5ca7d8a6cc - Drop six-14-support.diff: Merged upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=9
2013-09-25 14:31:26 +00:00
Sascha Peilicke
12d18be93d Accepting request 199644 from Cloud:OpenStack:Master
- (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
2013-09-18 14:55:20 +00:00
Sascha Peilicke
933256d406 Accepting request 197135 from home:dirkmueller:branches:devel:languages:python
- add six-14-support.diff:
  * Add support for Six 1.4+

OBS-URL: https://build.opensuse.org/request/show/197135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=6
2013-09-03 07:27:33 +00:00
Sascha Peilicke
3e5666f883 Accepting request 173723 from home:dirkmueller:branches:devel:languages:python
- 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
2013-04-29 13:26:53 +00:00
Stephan Kulow
7556220016 Accepting request 173004 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/173004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WSME?expand=0&rev=1
2013-04-24 08:55:14 +00:00
Sascha Peilicke
aff689fc85 - Update to version 0.5b1:
+ 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
2013-02-22 12:42:08 +00:00
Sascha Peilicke
86c0ef3a67 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=1
2013-01-16 13:35:13 +00:00