Skip to content

Commit 8298661

Browse files
committed
Changes to firebird-butler-protobuf Python package
1 parent 5208c3d commit 8298661

7 files changed

Lines changed: 74 additions & 39 deletions

File tree

python/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
## [Unreleased] - yyyy-mm-dd
8+
9+
### Changed
10+
11+
- Update dependency to protobuf >=4.24.3
12+
- Build system changed from setuptools to hatch
13+
- Package version is now defined in firebird.butler.__about__.py (__version__)
14+
15+
## [0.5.0] - 2022-11-14
16+
17+
## [0.4.0] - 2022-10-18
18+
19+
## [0.3.1] - 2021-03-04
20+
21+
## [0.2.2] - 2020-02-27
22+
23+
## [0.2.0] - 2019-10-13
24+
25+
Initial release. Contains next modules with protobuf messages and nums:
26+
27+
- firebird.butler.fbsd_pb2 for [Firebird Butler Service Definition](https://firebird-butler.readthedocs.io/en/latest/rfc/3/FBSD.html)
28+
- firebird.butler.fbsp_pb2 for [Firebird Butler Service Protocol](https://firebird-butler.readthedocs.io/en/latest/rfc/4/FBSP.html)
29+
- firebird.butler.fbdp_pb2 for [Firebird Butler Data Pipe Protocol](https://firebird-butler.readthedocs.io/en/latest/rfc/9/FBDP.html)
30+

python/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2020 Firebird Project (www.firebirdsql.org)
3+
Copyright (c) 2018-present Pavel Cisar
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

python/README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Firebird Butler Protocol Buffers
33
================================
44

55
This package contains Python modules for work with protocol buffers defined by various
6-
Firebird Butler [specifications][1].
6+
Firebird Butler specifications_.
77

8-
[1] https://firebird-butler.readthedocs.io/en/latest/specifications.html
8+
Currently ontains next modules:
9+
10+
- firebird.butler.fbsd_pb2 for `Firebird Butler Service Definition <https://firebird-butler.readthedocs.io/en/latest/rfc/3/FBSD.html`_
11+
- firebird.butler.fbsp_pb2 for `Firebird Butler Service Protocol <https://firebird-butler.readthedocs.io/en/latest/rfc/4/FBSP.html`_
12+
- firebird.butler.fbdp_pb2 for `Firebird Butler Data Pipe Protocol <https://firebird-butler.readthedocs.io/en/latest/rfc/9/FBDP.html`_
13+
14+
.. _specifications: https://firebird-butler.readthedocs.io/en/latest/specifications.html

python/pyproject.toml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
11
[build-system]
2-
requires = ["setuptools >= 65.0.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
6-
name = "firebird-butler-protobuf"
7-
version = "0.5.0"
8-
description = "Firebird Butler protocol buffers"
6+
name = "butler"
7+
dynamic = ["version"]
8+
description = 'Firebird Butler protocol buffers'
99
readme = "README.rst"
10-
requires-python = ">=3.8, <4"
10+
requires-python = ">=3.8"
1111
license = { file = "LICENSE" }
12-
authors = [{ name = "Pavel Císař", email = "pcisar@users.sourceforge.net"}]
1312
keywords = ["Firebird", "Butler", "protobuf"]
13+
authors = [
14+
{ name = "Pavel Cisar", email = "pcisar@ibphoenix.cz" },
15+
]
1416
classifiers = [
15-
"Development Status :: 5 - Production/Stable",
16-
"Intended Audience :: Developers",
17-
"License :: OSI Approved :: MIT License",
18-
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
21-
"Programming Language :: Python :: 3.10",
22-
"Programming Language :: Python :: 3.11",
23-
"Operating System :: POSIX :: Linux",
24-
"Operating System :: Microsoft :: Windows",
25-
"Operating System :: MacOS",
26-
"Topic :: Software Development",
27-
]
17+
"Development Status :: 5 - Production/Stable",
18+
"Intended Audience :: Developers",
19+
"License :: OSI Approved :: MIT License",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Operating System :: POSIX :: Linux",
26+
"Operating System :: Microsoft :: Windows",
27+
"Operating System :: MacOS",
28+
"Topic :: Software Development",
29+
]
2830
dependencies = [
29-
"protobuf>=4.21.0, <5",
30-
]
31+
"protobuf>=4.24.3, <5",
32+
]
3133

3234
[project.urls]
3335
Home = "https://firebirdsql.org/en/firebird-butler-dev/"
3436
Documentation = "https://firebird-butler.rtfd.io"
35-
"Bug Reports" = "https://github.com/FirebirdSQL/Butler/issues"
36-
Funding = "https://www.firebirdsql.org/en/donate/"
37+
Issues = "https://github.com/FirebirdSQL/Butler/issues"
38+
Funding = "https://github.com/sponsors/pcisar"
3739
Source = "https://github.com/FirebirdSQL/Butler/python"
3840

3941
[project.entry-points."firebird.butler.protobuf"]
4042
"firebird.butler.fbdp" = "firebird.butler.fbdp_pb2:DESCRIPTOR"
4143
"firebird.butler.fbsd" = "firebird.butler.fbsd_pb2:DESCRIPTOR"
4244
"firebird.butler.fbsp" = "firebird.butler.fbsp_pb2:DESCRIPTOR"
4345

44-
[tool.setuptools]
45-
zip-safe = true
46+
[tool.hatch.version]
47+
path = "src/firebird/butler/__about__.py"

python/setup.py

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-FileCopyrightText: 2018-present Pavel Cisar <pcisar@ibphoenix.cz>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
__version__ = "1.0.0"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2018-present Pavel Cisar <pcisar@ibphoenix.cz>
2+
#
3+
# SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)