Skip to content

Commit c72652c

Browse files
authored
Merge pull request #94 from emanlove/update-versions-jul2025
Update to support current Python and Faker package
2 parents fadcec7 + 5f65435 commit c72652c

File tree

7 files changed

+33
-39
lines changed

7 files changed

+33
-39
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
repos:
12
- repo: git://github.com/pre-commit/pre-commit-hooks
2-
sha: fea9b2ece73cfac7e0246e6d84bcd1dfce5bce1b
3+
rev: fea9b2ece73cfac7e0246e6d84bcd1dfce5bce1b
34
hooks:
45
- id: trailing-whitespace
56
- id: end-of-file-fixer
@@ -21,14 +22,14 @@
2122
- --max-line-length=100
2223
- --max-complexity=10
2324
- repo: git://github.com/asottile/reorder_python_imports
24-
sha: ab361ca1e4dfaeea0c4eab464c799e02cb306ab3
25+
rev: ab361ca1e4dfaeea0c4eab464c799e02cb306ab3
2526
hooks:
2627
- id: reorder-python-imports
2728
- repo: git://github.com/guykisel/pre-commit-robotframework-tidy
28-
sha: 07d9ed1dea81d8c0abc783a8f3469ca01801004b
29+
rev: 07d9ed1dea81d8c0abc783a8f3469ca01801004b
2930
hooks:
3031
- id: robotframework-tidy-wrapper
3132
- repo: git://github.com/guykisel/prospector-mirror
32-
sha: 00fbd80101566b1b9c873c71f2ab7b95b8bd0a7d
33+
rev: 00fbd80101566b1b9c873c71f2ab7b95b8bd0a7d
3334
hooks:
3435
- id: prospector

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Installation
3030

3131
``pip install robotframework-faker``
3232

33+
Faker package dependency
34+
------------------------
35+
36+
Starting with FakerLibrary v6.0.0, the corresponding version of Faker Python package
37+
is no longed pinned in its requirements. It will be up to the users of this library to
38+
select and, if decided upon, to pin the version in their own setup and CI environments.
39+
Note this means the keyword documentation may not match that on the users system.
40+
3341
Usage
3442
-----
3543

@@ -60,7 +68,7 @@ See `FakerLibrary's tests <https://github.com/marketsquare/robotframework-faker/
6068
Contribute
6169
----------
6270

63-
If you like this module, please contribute! I welcome patches,
71+
If you like this module, please contribute! We welcome patches,
6472
documentation, issues, ideas, and so on.
6573

6674

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
faker==8.11.0
1+
faker
22
robotframework
33
wrapt
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import pkg_resources
1+
from importlib.metadata import version
22
from .keywords import FakerKeywords
33

44

5-
__version__ = pkg_resources.get_distribution("robotframework-faker").version
5+
__version__ = version("robotframework-faker")
66

77

88
class FakerLibrary(FakerKeywords):
@@ -11,3 +11,9 @@ class FakerLibrary(FakerKeywords):
1111
"""
1212

1313
ROBOT_LIBRARY_SCOPE = "GLOBAL"
14+
__doc__ = f"""
15+
Robot Framework keyword library wrapper for Faker.
16+
17+
This set of keywords was generated using Faker version {version("Faker")}.
18+
"""
19+

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 5.0.0
2+
current_version = 6.0.0
33
commit = True
44
tag = True
55

setup.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.5
21-
Programming Language :: Python :: 3.6
22-
Programming Language :: Python :: 3.7
23-
Programming Language :: Python :: 3.8
20+
Programming Language :: Python :: 3.9
21+
Programming Language :: Python :: 3.10
22+
Programming Language :: Python :: 3.11
23+
Programming Language :: Python :: 3.12
24+
Programming Language :: Python :: 3.13
2425
Topic :: Software Development :: Testing
2526
Topic :: Software Development :: Quality Assurance
2627
""".strip().splitlines()
@@ -29,11 +30,11 @@
2930
name="robotframework-faker",
3031
package_dir={"": "robotframework-faker"},
3132
packages=["FakerLibrary"], # this must be the same as the name above
32-
version="5.0.0",
33+
version="6.0.0",
3334
description=short_description,
34-
author="Guy Kisel",
35-
author_email="guy.kisel@gmail.com",
36-
url="https://github.com/guykisel/robotframework-faker",
35+
author="Robot Framework Community, Ed Manlove",
36+
author_email="emanlove@verizon.net",
37+
url="https://github.com/marketsquare/robotframework-faker",
3738
download_url="https://pypi.python.org/pypi/robotframework-faker",
3839
keywords=(
3940
"robotframework testing "

0 commit comments

Comments
 (0)