Commit Graph

51 Commits

Author SHA1 Message Date
David Bieber
785547481b Merge branch 'master' into 2025-06-01-versions 2025-06-01 11:05:27 -04:00
David Bieber
9feffdb4e3 Bump dependency versions 2025-06-01 11:00:14 -04:00
dependabot[bot]
dba7e1d0da Update hypothesis requirement in /.github/scripts (#608)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.132.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-version: 6.132.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 10:55:56 -04:00
dependabot[bot]
51974c67bf Update pylint requirement from <3.3.5 to <3.3.7 in /.github/scripts (#591)
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/pylint-version-0.18.1...v3.3.6)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 3.3.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-21 12:23:37 -07:00
David Bieber
fb01c7c619 Call inspectutils.GetClassAttrsDict on component, not None (#606)
* inspectutils.GetClassAttrsDict on component, not None
* Remove ubuntu-20.04 in favor of ubuntu-22.04 for Python 3.7
2025-05-21 12:23:08 -07:00
dependabot[bot]
8527235d18 Update setuptools requirement in /.github/scripts (#593)
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/0.6...v78.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 78.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 14:41:02 -04:00
dependabot[bot]
c5ab602240 Update hypothesis requirement in /.github/scripts (#594)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.130.6)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-version: 6.130.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 14:40:45 -04:00
dependabot[bot]
45152e1825 Update pylint requirement from <3.3.2 to <3.3.5 in /.github/scripts (#581)
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/pylint-version-0.18.1...v3.3.4)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 19:34:56 -04:00
dependabot[bot]
6cf45c6630 Update hypothesis requirement in /.github/scripts (#574)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.122.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-11 11:53:58 -05:00
dependabot[bot]
deb25efee8 Update setuptools requirement in /.github/scripts (#573)
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/0.6...v75.6.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-11 11:52:02 -05:00
dependabot[bot]
c3b4474ea4 Update levenshtein requirement in /.github/scripts (#568)
Updates the requirements on [levenshtein](https://github.com/rapidfuzz/Levenshtein) to permit the latest version.
- [Release notes](https://github.com/rapidfuzz/Levenshtein/releases)
- [Changelog](https://github.com/rapidfuzz/Levenshtein/blob/main/HISTORY.md)
- [Commits](https://github.com/rapidfuzz/Levenshtein/compare/v0.13.0...v0.26.1)

---
updated-dependencies:
- dependency-name: levenshtein
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 18:49:46 -04:00
dependabot[bot]
98d7fbce9c Update setuptools requirement in /.github/scripts (#567)
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/0.6...v75.3.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 14:14:29 -04:00
dependabot[bot]
dfa1071b7a Update termcolor requirement from <2.5.0 to <2.6.0 in /.github/scripts (#569)
Updates the requirements on [termcolor](https://github.com/termcolor/termcolor) to permit the latest version.
- [Release notes](https://github.com/termcolor/termcolor/releases)
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md)
- [Commits](https://github.com/termcolor/termcolor/compare/0.1...2.5.0)

---
updated-dependencies:
- dependency-name: termcolor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 14:09:07 -04:00
dependabot[bot]
0aff6b9452 Update hypothesis requirement in /.github/scripts (#566)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.116.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 13:56:00 -04:00
dependabot[bot]
8feb04a593 Update pylint requirement from <3.2.8 to <3.3.2 in /.github/scripts (#562)
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/pylint-version-0.18.1...v3.3.1)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:34:19 -04:00
Jirka Borovec
a0cb1ca3c2 Expand build matrix to include mac (#490)
* Expand build matrix to include mac (#490)

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: David Bieber <dbieber@google.com>
2024-09-22 09:00:15 -07:00
David Bieber
d3204373c4 Include Python 3.13 in github actions (#554)
* Include Python 3.13 in github actions list
* Include version in supported versions list
2024-09-20 07:20:04 -07:00
David Bieber
c5f5f90083 Run github action on pull_request (#550)
* Run github action on pull_request
2024-09-19 19:18:32 -07:00
David Bieber
f9293c9da7 Upgrade pylint version (#549)
* Upgrade pylint
* Fixing lint errors like removing a useless super call
* Merging bad-names lists and other modernization in pylintrc
2024-09-19 19:06:38 -07:00
dependabot[bot]
9c9e8c63f7 Update levenshtein requirement in /.github/scripts (#548)
Updates the requirements on [levenshtein](https://github.com/rapidfuzz/Levenshtein) to permit the latest version.
- [Release notes](https://github.com/rapidfuzz/Levenshtein/releases)
- [Changelog](https://github.com/rapidfuzz/Levenshtein/blob/main/HISTORY.md)
- [Commits](https://github.com/rapidfuzz/Levenshtein/compare/v0.13.0...v0.26.0)

---
updated-dependencies:
- dependency-name: levenshtein
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 18:59:27 -07:00
David Bieber
32b5142151 Update label used by dependabot (#547) 2024-09-19 18:41:22 -07:00
dependabot[bot]
374d8c6078 Update pytest requirement from <=8.1.1 to <=8.3.3 in /.github/scripts (#546)
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 21:36:29 -04:00
David Bieber
b83fa05b72 Remove mock in favor of unittest.mock (#545)
* Remove mock in favor of unittest.mock
2024-09-19 21:30:54 -04:00
dependabot[bot]
9825623bd5 Update hypothesis requirement in /.github/scripts (#544)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.112.1)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 21:26:51 -04:00
David Bieber
f012df240f Simplify requirements.txt by assuming Python 3 (#543)
* Remove universal=1 line
* Update setup.py
* Update requirements.txt
2024-09-19 21:20:37 -04:00
dependabot[bot]
2d95033749 Update setuptools requirement in /.github/scripts (#540)
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/0.6...v75.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 21:09:02 -04:00
David Bieber
8b063b952f Remove future imports now that we've dropped support for Python 2 (#539)
* Remove future imports now that we've dropped support for Python 2
  * Keep future imports for use in MemberVisible
* Drop support for Python 3.5
* Remove indications of support for Python <3.7 and bump version number.
2024-09-19 20:20:44 -04:00
dependabot[bot]
e9f49b0fa9 Update levenshtein requirement in /.github/scripts (#510)
Updates the requirements on [levenshtein](https://github.com/rapidfuzz/Levenshtein) to permit the latest version.
- [Release notes](https://github.com/rapidfuzz/Levenshtein/releases)
- [Changelog](https://github.com/rapidfuzz/Levenshtein/blob/main/HISTORY.md)
- [Commits](https://github.com/rapidfuzz/Levenshtein/compare/v0.13.0...v0.25.1)

---
updated-dependencies:
- dependency-name: levenshtein
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 16:15:45 -04:00
dependabot[bot]
6902939a31 Update hypothesis requirement in /.github/scripts (#506)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.100.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 16:21:26 -04:00
dependabot[bot]
de2852a417 Update setuptools requirement in /.github/scripts (#500)
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/0.6...v69.2.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 13:11:36 -04:00
Jirka Borovec
f332cb1fe6 Fix typo in dependabot github actions group (#497) 2024-03-14 13:02:23 -04:00
dependabot[bot]
014a637f66 Update pytest-runner requirement in /.github/scripts (#496)
Updates the requirements on [pytest-runner](https://github.com/pytest-dev/pytest-runner) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-runner/releases)
- [Changelog](https://github.com/pytest-dev/pytest-runner/blob/main/CHANGES.rst)
- [Commits](https://github.com/pytest-dev/pytest-runner/compare/1.0a1...v6.0.1)

---
updated-dependencies:
- dependency-name: pytest-runner
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 17:02:46 -04:00
dependabot[bot]
ab310cf884 Update pytest requirement from <=7.2.1 to <=8.1.1 in /.github/scripts (#494)
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 17:02:02 -04:00
dependabot[bot]
595239ec7c Update mock requirement from <5.0.0 to <6.0.0 in /.github/scripts (#495)
Updates the requirements on [mock](https://github.com/testing-cabal/mock) to permit the latest version.
- [Changelog](https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/testing-cabal/mock/compare/release-0.5.0...5.1.0)

---
updated-dependencies:
- dependency-name: mock
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:54:31 -04:00
dependabot[bot]
8beb85e4e3 Update termcolor requirement from <2.2.0 to <2.5.0 in /.github/scripts (#493)
Updates the requirements on [termcolor](https://github.com/termcolor/termcolor) to permit the latest version.
- [Release notes](https://github.com/termcolor/termcolor/releases)
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md)
- [Commits](https://github.com/termcolor/termcolor/compare/0.1...2.4.0)

---
updated-dependencies:
- dependency-name: termcolor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:51:50 -04:00
dependabot[bot]
c417aec195 Update hypothesis requirement in /.github/scripts (#492)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.99.4)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:44:16 -04:00
dependabot[bot]
db3fcaf737 2 dependabot updates (#491)
2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python).

Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pip
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:43:24 -04:00
Jirka Borovec
3c230d8c34 Adding GitHub dependabot (#432)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-03-11 16:34:50 -04:00
David Bieber
343e6b6cec Add Python 3.11 and Python 3.12 to build workflow (#485)
This change brings github actions back into the green.
2024-02-24 13:07:41 -05:00
David Bieber
ffb8121ab8 Update build.yml dropping Python 2.7 (#479)
We'll want to reenable later.
2024-01-02 15:45:49 -05:00
Jirka Borovec
c29b923133 adding python 3.10 [tag & CI] (#428)
* adding python 3.10
2023-02-06 10:41:38 -05:00
Hugo van Kemenade
910b1f8a94 Fix path to requirements.txt (#433) 2023-02-01 12:34:49 -08:00
Jirka Borovec
396ef1c4ef freeze CI requirements (#431)
* freeze CI requirements, including pylint
2023-02-01 11:47:53 -08:00
David Bieber
c4bd14b45a Python Fire Version Bump (#416)
Bumps version to 0.5.0 in preparation for next release
2022-11-28 16:13:34 -05:00
David Bieber
c367ce99aa Bring continuous integration to working state (#415)
Contained in this PR:

* Use latest versions of checkout and python setup GitHub actions
* Fix Ubuntu version since not all Python versions are available on ubuntu-latest
* Lint fixes: use setattr directly instead of via dunder-method, and ignore unnecessary lambda lint warnings.
* Loosen formatting tests
2022-11-28 16:09:56 -05:00
David Bieber
8469e487dc Move python 3 only component to test_components_py3.py (#389)
* #316 adds a test using Python 3 only features; this CL makes that test only run for Python 3 versions.
2022-04-16 16:42:02 -04:00
David Bieber
21ae57c38d Remove testing for Python 3.4 (#388)
* Removes testing from CI for Python 3.4
* Adds lint disabling for new linter checks that have been added.
2022-04-16 15:58:07 -04:00
Joe Chen
58fd850862 - Installed mock, required by the tests.
- Exits the build shell script if any of the commands fails.

PiperOrigin-RevId: 353310695
Change-Id: I7e4df5de32ec4b3c8ca03ab6f5cf7a03f8f61856
2021-01-22 13:43:34 -08:00
David Bieber
c97ac311ee Trigger copybara
Renames yaml to yml.

PiperOrigin-RevId: 353295857
Change-Id: Ifdd0b0dca8819257ae51bd1dc62690a05ae7fdcc
2021-01-22 12:32:50 -08:00
Joe Chen
fbe1bf858f chmod +x .github/scripts/build.sh
PiperOrigin-RevId: 353290438
Change-Id: Ia5cf4c00333f8e7439edebce3fb2e366eef88462
2021-01-22 12:32:43 -08:00