Commit Graph

45 Commits

Author SHA1 Message Date
Joshua Bronson b0cd2a4f07
Update GitHub Action Versions (#265)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-24 10:14:52 -05:00
Joshua Bronson f40640b849 Use "release-commit-sha" in GitHub Actions Version Updater, etc. 2022-12-24 10:09:53 -05:00
Joshua Bronson 347cc4ec2b Force colors in GitHub Actions output. 2022-12-24 09:52:35 -05:00
Joshua Bronson 26a7ec830b Improve deps, tests, coverage, upgrade dev dependencies.
* Use pytest-xdist to parallelize tests.
* No need to enable coverage in CI for Python 3.7.
* Pin to latest version of tox in CI.
2022-12-24 09:44:24 -05:00
Joshua Bronson cc284a7071 Upgrade dev dependencies.
Also:

* Remove pyright: ignore comments in favor of reducing associated
  diagnostic settings from "error" to "warning" in pyrightconfig.json.
  I.e. prefer seeing these (non-)issues as warnings in pyright output
  over smearing the code with more type checker gunk.

* Don't bother registering dict_keys as a BidictKeysView.

* Pin tox version in .github/workflows/test.yml, to prevent
  unpredictably picking up breaking changes that break CI (e.g.
  allowlist_externals from the recent 4.0 release).
2022-12-11 12:10:14 -05:00
Joshua Bronson 72dd426138 flake8, pylint -> ruff, check-json5
* Replace flake8 and pylint with ruff
* Add check-json5 hook
2022-12-04 21:20:15 -05:00
Joshua Bronson 79baf860b7 Use pyproject.toml instead of setup.py, etc.
* Ditch setup.py in favor of setuptools' PEP 621 support. Ref:
  https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

* Declare development dependencies in pyproject.toml rather than
  requirements/*.in

* Ditch pip-compile-multi which does not support sourcing deps from pyproject.toml

* Compile dependencies into dev-deps/*.txt rather than requirements/*.txt

* Don't include development-related files in the sdist or wheel.

* Drop less important bidict.metadata attributes
  (__maintainer__, __email__, __status__, __keywords__, __project_urls__)
  and make __author__ a dictionary with "name" and "email" keys
  to match the standard format in pyproject.toml.
2022-12-04 21:20:15 -05:00
Joshua Bronson 55204e7b5f Upgrade dev dependencies. 2022-12-04 21:19:19 -05:00
Joshua Bronson efe0bbccf6 Name GHA jobs "main". 2022-11-02 23:35:41 +00:00
Joshua Bronson 2c7ed7e24e Run pre-commit with --verbose.
Makes warning output emitted by e.g. pyright visible.
2022-11-02 23:33:16 +00:00
Joshua Bronson 404f957e0c Update GitHub Actions, add Action Updater action.
See if GitHub Actions Updater works any better than Dependabot.
2022-10-29 20:22:47 -04:00
Joshua Bronson ed2736d55e Minor CI refactor.
Consolidate enable_coverage logic, primarily.

Also, use pyright-python repo for pyright pre-commit hook.
2022-10-29 11:48:18 -04:00
Joshua Bronson 3dc702cf7e rm workaround for py3.11-beta2 pytest issue now that beta3 is out 2022-06-03 15:29:19 -04:00
Joshua Bronson 58f996eb4d Upgrade main GitHub actions + simplify 2022-06-01 22:05:58 -04:00
Joshua Bronson 84824af891 Test with Python 3.11 (currently in beta) 2022-06-01 17:44:36 -04:00
Joshua Bronson 60b2476498 Minor improvements to GH workflows. 2022-03-23 16:56:16 -04:00
Joshua Bronson 62bc061bf6 Tweak dependabot config. 2022-03-10 09:58:50 -05:00
Joshua Bronson 5fdc458b0f Improve editorconfig + config formatting 2022-03-10 09:52:05 -05:00
Joshua Bronson 83865f2bed Minor refactor. 2022-03-09 22:09:36 -05:00
Joshua Bronson 03d6cbc118 Compute inverse lazily, automatically add or remove __reversed__ implementations for BidictBase subclasses based on whether their backing mappings are reversible, improve mechanism for automatic dynamic generation of inverse bidict classes and use this for namedbidict, improve pickling. 2022-02-06 12:28:12 -05:00
Joshua Bronson b5d2d393c3 Upgrade dev dependencies. 2022-02-02 15:54:27 -05:00
Joshua Bronson 5dc6d98381 Redesign OrderedBidict for better performance and code reuse. 2022-01-31 16:45:46 -05:00
Joshua Bronson 12a9acabb7 Improvements to bidict view methods and docs. 2022-01-06 19:54:46 -05:00
Joshua Bronson 6f7233ae5c Update FUNDING.yml 2021-12-27 12:04:53 -05:00
Joshua Bronson 879be8bad8 Refactor GitHub Actions 2021-12-24 14:06:48 -05:00
Joshua Bronson 1dfff770ca Upgrade dev dependencies, drop support for py36 2021-12-22 17:22:03 -05:00
Joshua Bronson fac42f4ce3 Add github-actions to dependabot config 2021-11-04 17:49:51 -04:00
Joshua Bronson 1a3e3fd458 Upgrade pre-commit and gha deps 2021-11-04 17:38:42 -04:00
Joshua Bronson 98797eb40d Minor optimization to FrozenOrderedBidict __iter__ and __reversed__
Also, enable coverage by default for Python 3.7 and 3.10, rather than
only 3.9. This way the codecov status check ensures coverage for 3.8+
sensitive code paths.
2021-10-23 16:27:16 -04:00
Joshua Bronson 1c831b248d Use build rather than invoking setup.py directly
...in the build-and-release-to-PyPI workflows.
2021-10-21 18:08:26 -04:00
Joshua Bronson cbe5cb6bbd Update dependencies 2021-10-13 18:32:05 -04:00
Joshua Bronson 3f97ea1308 Update dependencies, use stable Python 3.10 in CI
now that it's been released
2021-10-05 13:24:50 -04:00
Joshua Bronson 9fcc793bfa Prepare for 0.21.3 release 2021-09-05 11:25:30 -04:00
Joshua Bronson 8bdd76f597 Disable Sphinx for Python 3.10 while Sphinx is incompatible + upgrade dependencies. 2021-09-02 09:54:14 -04:00
Joshua Bronson a0aeb8b367 Update to Python 3.10.0-beta.4 in CI 2021-07-15 10:33:49 -04:00
Joshua Bronson d84808226a Test with Python 3.10 2021-05-21 09:17:04 -04:00
Joshua Bronson a63ea65047 Switch dependabot schedule to monthly. 2021-04-18 11:20:42 -04:00
Joshua Bronson bd4e652ae4 master -> main 2021-03-29 14:05:22 -04:00
Joshua Bronson c1a7612f64 Re-enable pylint, improve deps, tox, + GHA config. 2021-03-24 18:32:09 -04:00
Joshua Bronson 2f0a387dc1 Upgrade dependencies. 2021-03-12 09:41:36 -05:00
Joshua Bronson 17b14ea0d8 Release to PyPI via GitHub Actions.
Also disable universal wheels as bidict is no longer Py2-compatible.
2021-01-13 11:12:15 -05:00
Joshua Bronson 11567533fe Move CI to GitHub Actions, fix version typo in metadata.py 2020-12-20 10:50:41 -05:00
Joshua Bronson 55494459dc
Initial dependabot config. 2020-12-20 07:29:00 -05:00
jab 0ade432982 Docs improvements (incl. refreshed tag line). 2020-01-01 14:11:48 -05:00
Joshua Bronson eba62b29b9
Create FUNDING.yml 2019-07-03 20:46:40 -04:00