Skip to content

Commit 77b7883

Browse files
committed
PEP 517
1 parent e4581ff commit 77b7883

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

oid/platforms.oid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ children:
2121
description: Firebird Butler Development & Deployment Platform in Python 3, also provides reference implementations for Firebird Burtler standards
2222
contact: Pavel Císař
2323
email: pcisar@users.sourceforge.net
24-
site: https://firebirdsql.org/en/saturnin-sdk/
24+
site: https://firebirdsql.org/en/saturnin/
2525
node-spec: https://raw.githubusercontent.com/FirebirdSQL/saturnin/master/oid/saturnin.oid
2626
- number: 1
2727
name: java-sdk

python/setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all-files=True
55

66
[metadata]
77
name = firebird-butler-protobuf
8-
version = 0.3.0
8+
version = 0.3.1
99
description = Firebird Butler protocol buffers
1010
long_description = file: README.rst
1111
long_description_content_type = text/x-rst; charset=UTF-8
@@ -35,7 +35,7 @@ classifiers =
3535
zip_safe = True
3636
python_requires = >=3.8, <4
3737
install_requires =
38-
protobuf>=3.13.0
38+
protobuf>=3.14.0
3939
packages = find_namespace:
4040

4141
[options.packages.find]

python/setup.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
#!/usr/bin/env python
12
#coding:utf-8
2-
"""A setuptools based setup module for firebird-butler-protobuf package.
3-
See:
4-
https://packaging.python.org/en/latest/distributing.html
5-
https://github.com/pypa/sampleproject
6-
"""
73

8-
# Always prefer setuptools over distutils
9-
from setuptools import setup
4+
# This file is only a shim to allow editable installs. It's not necessary to build
5+
# and install the package via pip (see pyproject.toml and setup.cfg).
106

11-
setup()
7+
import setuptools
8+
9+
if __name__ == "__main__":
10+
setuptools.setup()

rfc/4/FBSP.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ The CANCEL message represents a request for a `Service` to stop processing the p
329329
2. The content of type-data_ field in this message is not significant.
330330
3. The message MUST have a data-frame_ with specification of the request whose processing is to be terminated. The data-frame_ MAY contain additional information.
331331
4. The `Service` MUST respond with the ERROR_ message with appropriate `Error Code`_.
332-
5. If `Service` successfully terminated specified active `Client` request, the ERROR_ message MUST have `Request Canceled` `Error Code`_.
332+
5. If `Service` successfully terminated specified active `Client` request, the ERROR_ message MUST have `Request Cancelled` `Error Code`_.
333333
6. The ERROR_ message MAY have a data-frame_ with additional information.
334334

335335
.. seealso::
@@ -401,14 +401,14 @@ ACK-REQUEST
401401

402402
The ACK-REQUEST flag is intended for verification and synchronization purposes.
403403

404-
1. Any received control-frame_ of message-type_ NOOP_, REQUEST_, REPLY_, DATA_, STATE_ or CANCEL_ that have ACK-REQUEST flag set SHALL be sent back to the sender as confirmation of accepted message, unless the receiver is a `Service` and an error condition occurs. In such a case the ERROR_ message SHALL be sent by `Service` instead confirmation message.
404+
1. Any received control-frame_ of message-type_ NOOP_, REQUEST_, REPLY_, DATA_ or STATE_ that have ACK-REQUEST flag set SHALL be sent back to the sender as confirmation of accepted message, unless the receiver is a `Service` and an error condition occurs. In such a case the ERROR_ message SHALL be sent by `Service` instead confirmation message.
405405
2. Returned confirmatory message SHALL consists only from the received control-frame_ with ACK-REQUEST flag cleared, and with ACK-REPLY_ flag set (ie the control-frame_ MUST be otherwise unchanged).
406406
3. The ACK-REQUEST flag SHALL be ignored for all message-type_ values not listed in rule 1.
407407

408408
Rules for ACK-REQUEST received by `Service`:
409409

410410
1. NOOP_ message SHALL be acknowledged without any delay.
411-
2. REQUEST_ and CANCEL_ messages SHALL be acknowledged at the time the `Service` has positively decided to accept the client's request and before commencing the fulfillment of the client's request.
411+
2. REQUEST_ message SHALL be acknowledged at the time the `Service` has positively decided to accept the client's request and before commencing the fulfillment of the client's request.
412412
3. DATA_ message SHALL be acknowledged without any delay, unless a previous agreement between the `Client` and the `Service` exists to handle it differently (for example to send it when DATA message is actually processed and Service is able to accept another DATA message).
413413

414414
Rules for ACK-REQUEST received by `Client`:
@@ -624,7 +624,7 @@ CANCEL data
624624
}
625625
626626
:token:
627-
MANDATORY message-token_ of the message to be canceled.
627+
MANDATORY message-token_ of the message to be cancelled.
628628

629629
:supplement:
630630
Any additional information required or supported by Service API specification for cancellation of particular message.
@@ -749,9 +749,9 @@ Errors indicating that particular request cannot be satisfied
749749

750750
The service is unable to store data needed to successfully complete the request.
751751

752-
:17 - Request Canceled:
752+
:17 - Request Cancelled:
753753

754-
The client's request was canceled by CANCEL_ request.
754+
The client's request was cancelled by CANCEL_ request.
755755

756756

757757
Fatal errors indicating that connection would/should be terminated

0 commit comments

Comments
 (0)