-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from Safe/cib-fixes
Fix Python 3.8 support; various misc fixes and improvements
- Loading branch information
Showing
23 changed files
with
124 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ instance/ | |
|
||
# Sphinx documentation | ||
docs/_build/ | ||
_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
build | ||
pytest | ||
pytest-vcr | ||
hypothesis | ||
ruff | ||
build==1.2.1 | ||
pytest>=8.2.2 | ||
pytest-cov>=5.0.0 | ||
pytest-vcr==1.0.2 | ||
hypothesis==6.105.1 | ||
ruff==0.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,35 @@ | ||
[metadata] | ||
name = fmetools | ||
version = attr: fmetools.__version__ | ||
author = Safe Software Inc. | ||
description = Tools for extending Safe Software's FME using Python. | ||
long_description = file: README.md, CHANGES.md | ||
long_description_content_type = text/markdown | ||
keywords = FME fmeobjects | ||
url = https://github.com/safesoftware/fmetools | ||
project_urls = | ||
Documentation = https://docs.safe.com/fme/html/fmetools/ | ||
license = BSD | ||
license_file = LICENSE | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
License :: OSI Approved :: BSD License | ||
Intended Audience :: Developers | ||
[options] | ||
package_dir = | ||
=src | ||
packages = find: | ||
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.* | ||
include_package_data = True | ||
[options.packages.find] | ||
where=src | ||
[options.extras_require] | ||
dev = | ||
ruff>=0.1.5 | ||
pytest | ||
hypothesis | ||
sphinx>=6.0.0 | ||
sphinx-rtd-theme>=1.2.2 | ||
[bdist_wheel] | ||
universal=1 | ||
[metadata] | ||
name = fmetools | ||
version = attr: fmetools.__version__ | ||
author = Safe Software Inc. | ||
description = Tools for extending Safe Software's FME using Python. | ||
long_description = file: README.md, CHANGES.md | ||
long_description_content_type = text/markdown | ||
keywords = FME fmeobjects | ||
url = https://github.com/safesoftware/fmetools | ||
project_urls = | ||
Documentation = https://docs.safe.com/fme/html/fmetools/ | ||
license = BSD | ||
license_file = LICENSE | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
Programming Language :: Python :: 3.12 | ||
License :: OSI Approved :: BSD License | ||
Intended Audience :: Developers | ||
[options] | ||
package_dir = | ||
=src | ||
packages = find: | ||
python_requires = >=3.8.0 | ||
include_package_data = True | ||
[options.packages.find] | ||
where=src | ||
[bdist_wheel] | ||
universal=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# coding: utf-8 | ||
|
||
__version__ = "0.9.3" | ||
__version__ = "0.9.4" | ||
|
||
import gettext | ||
import os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[tox] | ||
envlist = py{38,39,310,311,312} | ||
min_version = 4.16.0 | ||
package = editable | ||
|
||
[testenv] | ||
passenv = | ||
FME_HOME | ||
deps = | ||
pytest>=8.2.2 | ||
pytest-cov>=5.0.0 | ||
pytest-vcr>=1.0.2 | ||
hypothesis>=6.105.1 | ||
fme-packager>=1.6.0 | ||
commands = | ||
fme-packager config-env --fme-home '{env:FME_HOME}' | ||
pytest --junitxml test-reports/junit-{envname}.xml --junit-prefix={envname} --cov --cov-append --cov-report xml {posargs} | ||
|
||
[testenv:format] | ||
deps = | ||
ruff>=0.3.2 | ||
skip_install = true | ||
commands = | ||
ruff format --check | ||
|
||
[testenv:check] | ||
deps = | ||
ruff>=0.3.2 | ||
skip_install = true | ||
commands = | ||
ruff check | ||
|
||
[testenv:docs] | ||
deps = | ||
sphinx>=6.0.0 | ||
sphinx-rtd-theme>=1.2.2 | ||
commands = | ||
sphinx-build docs _build |