Skip to content

Bump fauxfactory from 3.1.1 to 4.2.0#227

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/fauxfactory-4.2.0
Closed

Bump fauxfactory from 3.1.1 to 4.2.0#227
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/fauxfactory-4.2.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Mar 16, 2026

Bumps fauxfactory from 3.1.1 to 4.2.0.

Release notes

Sourced from fauxfactory's releases.

v4.2.0

[4.2.0] - 2025-12-17

Added

  • New List Generator: Added gen_list() function for generating lists directly

    • gen_list(): Generate lists from item schema definitions
      • Supports callable generators for each list item
      • Supports dict/list schemas for complex list items
      • Supports literal values for constant lists
      • Customizable list size via size parameter (default: 3)
      • Full validation support with validator, default, and tries parameters
      • Max depth protection for nested structures (default: 10)

    Examples:

    from fauxfactory import gen_list, gen_alpha, gen_email, gen_integer
    Generate list of strings
    tags = gen_list(gen_alpha, size=5)
    Returns: ['xKjPqR', 'mNoPqR', 'aBcDeF', 'ghIjKl', 'mnOpQr']
    Generate list of dictionaries
    users = gen_list({
    'name': gen_alpha,
    'email': gen_email,
    'active': True,
    }, size=3)
    Returns: [
    {'name': 'xKjPqR', 'email': 'abc@example.com', 'active': True},
    {'name': 'mNoPqR', 'email': 'def@example.com', 'active': True},
    {'name': 'aBcDeF', 'email': 'ghi@example.com', 'active': True},
    ]
    Generate matrix (list of lists)
    matrix = gen_list([lambda: gen_integer(min_value=0, max_value=9)], size=3)
    Returns: [[1, 5, 8], [3, 7, 2], [9, 4, 6]]

Full Changelog: omaciel/fauxfactory@v4.1.0...v4.2.0

v4.1.0

New Structure Generators Added gen_dict() and gen_json() functions for generating complex nested data structures

  • gen_dict(): Generate dictionaries from schema definitions
    • Supports callable generators (e.g., gen_alpha, gen_email)
    • Supports lambda functions for parameterized generators
    • Supports nested dictionaries and lists
    • Supports literal values (strings, numbers, booleans, None)

... (truncated)

Changelog

Sourced from fauxfactory's changelog.

[4.2.0] - 2025-12-17

Added

  • New List Generator: Added gen_list() function for generating lists directly

    • gen_list(): Generate lists from item schema definitions
      • Supports callable generators for each list item
      • Supports dict/list schemas for complex list items
      • Supports literal values for constant lists
      • Customizable list size via size parameter (default: 3)
      • Full validation support with validator, default, and tries parameters
      • Max depth protection for nested structures (default: 10)

    Examples:

    from fauxfactory import gen_list, gen_alpha, gen_email, gen_integer
    Generate list of strings
    tags = gen_list(gen_alpha, size=5)
    Returns: ['xKjPqR', 'mNoPqR', 'aBcDeF', 'ghIjKl', 'mnOpQr']
    Generate list of dictionaries
    users = gen_list({
    'name': gen_alpha,
    'email': gen_email,
    'active': True,
    }, size=3)
    Returns: [
    {'name': 'xKjPqR', 'email': 'abc@example.com', 'active': True},
    {'name': 'mNoPqR', 'email': 'def@example.com', 'active': True},
    {'name': 'aBcDeF', 'email': 'ghi@example.com', 'active': True},
    ]
    Generate matrix (list of lists)
    matrix = gen_list([lambda: gen_integer(min_value=0, max_value=9)], size=3)
    Returns: [[1, 5, 8], [3, 7, 2], [9, 4, 6]]

[4.1.0] - 2025-12-17

Added

  • New Structure Generators: Added gen_dict() and gen_json() functions for generating complex nested data structures
    • gen_dict(): Generate dictionaries from schema definitions
      • Supports callable generators (e.g., gen_alpha, gen_email)
      • Supports lambda functions for parameterized generators
      • Supports nested dictionaries and lists
      • Supports literal values (strings, numbers, booleans, None)
      • Customizable list sizes via list_sizes parameter

... (truncated)

Commits
  • 3aa3ca1 Bump version to 4.2.0
  • 23c0589 Add gen_list() generator for direct list generation
  • b94b775 Bump version to 4.1.0 and update CHANGELOG
  • 8bad021 Fix Sphinx warnings in structures module
  • 5954ff7 Add JSON/Dict structure generator feature
  • 0f8de3d Add Mergify configuration for automated PR management
  • 9125019 Remove redundant .keys() calls in test assertions
  • 803cb8b Refactor if-else to ternary operator in gen_system_facts
  • 6ea75d6 Refactor to use pathlib instead of os.path
  • cede170 Migrate from HISTORY.rst to CHANGELOG.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fauxfactory](https://github.com/omaciel/fauxfactory) from 3.1.1 to 4.2.0.
- [Release notes](https://github.com/omaciel/fauxfactory/releases)
- [Changelog](https://github.com/omaciel/fauxfactory/blob/master/CHANGELOG.md)
- [Commits](omaciel/fauxfactory@v3.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: fauxfactory
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Mar 16, 2026

Labels

The following labels could not be found: 6.13.z, 6.14.z, 6.15.z, 6.16.z, CherryPick, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 7, 2026

Superseded by #237.

@dependabot dependabot Bot closed this Apr 7, 2026
@dependabot dependabot Bot deleted the dependabot/pip/fauxfactory-4.2.0 branch April 7, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants