Commit Graph

238 Commits

Author SHA1 Message Date
Amethyst Reese f9349de48e Build/publish both sdist and wheel 2024-09-01 20:36:46 -07:00
Amethyst Reese eeaef4806a Version bump v0.12.0 2024-09-01 20:27:31 -07:00
Amethyst Reese e853bb1c43
Set up trusted publishing from GHA (#193)
* Set up trusted publishing from GHA

- Add build to dev deps
- Add sdist job to build sdist
- Add publish job to publish tagged releases

* Move UV env to workflow level
2024-09-01 20:26:50 -07:00
Julian Gilbey 651ef067a5
Fix docstrings and markdown files so sphinx successfully compiles (#183)
Co-authored-by: Julian Gilbey <jdg@debian.org>
2024-09-01 17:22:43 -07:00
Amethyst Reese 37b44c28a3
Use uv for virtualenv and pip when available (#192)
* Update docs to list 3.8 as minimum version

* Prefer using uv for venv+pip when available

* Use cached uv action from hynek

* Create and source venv first

* Always use bash in GHA

* Move deck chairs of venv creation

* Source before every step

* Flag to let uv install to system

* UV system python flag

* Test on 3.13
2024-09-01 16:49:01 -07:00
Stanley Kudrow ad505f36f3
Add `itertools.batched` v3.13 function (#177)
* Implement itertools.batched

* Match upstream args/example, add docs, better error tests

---------

Co-authored-by: Stanley Kudrow <stankudrow@reply.no>
Co-authored-by: Amethyst Reese <amethyst@n7.gg>
2024-09-01 00:18:39 -07:00
Stanley Kudrow 538f1698bc
Update .gitignore (#176)
* Update gitignore from latest templates

* Remove old pylint config

---------

Co-authored-by: Stanley Kudrow <stankudrow@reply.no>
Co-authored-by: Amethyst Reese <amethyst@n7.gg>
2024-08-31 23:31:53 -07:00
dependabot[bot] a137a8145a
Bump ufmt from 2.7.0 to 2.7.1 (#191)
Bumps [ufmt](https://github.com/omnilib/ufmt) from 2.7.0 to 2.7.1.
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/ufmt/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: ufmt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:11:18 -07:00
dependabot[bot] a0c02d1865
Bump black from 24.4.2 to 24.8.0 (#190)
Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:11:05 -07:00
dependabot[bot] d6bd9b5867
Bump actions/setup-python from 2 to 5 (#189)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:10:08 -07:00
dependabot[bot] dd0a2975a2
Bump actions/checkout from 1 to 4 (#188)
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 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/v1...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:09:55 -07:00
Amethyst Reese 1dd2929f24 Update dependabot config 2024-08-31 21:07:16 -07:00
dependabot[bot] 42366e97aa
Bump sphinx from 7.2.6 to 8.0.2 (#181)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.6 to 8.0.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/v8.0.2/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.6...v8.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:05:54 -07:00
dependabot[bot] 74ab16f884
Bump coverage from 7.5.4 to 7.6.1 (#186)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.4 to 7.6.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.5.4...7.6.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:00:29 -07:00
dependabot[bot] 11abf21765
Bump sphinx-mdinclude from 0.5.3 to 0.6.2 (#187)
Bumps [sphinx-mdinclude](https://github.com/omnilib/sphinx-mdinclude) from 0.5.3 to 0.6.2.
- [Changelog](https://github.com/omnilib/sphinx-mdinclude/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/sphinx-mdinclude/compare/v0.5.3...v0.6.2)

---
updated-dependencies:
- dependency-name: sphinx-mdinclude
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 21:00:04 -07:00
dependabot[bot] 3d74dcce92
Bump flake8 from 7.0.0 to 7.1.1 (#185)
Bumps [flake8](https://github.com/pycqa/flake8) from 7.0.0 to 7.1.1.
- [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.1)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 20:55:06 -07:00
dependabot[bot] 5e5a02085f
Bump mypy from 1.10.1 to 1.11.2 (#184)
Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 20:54:57 -07:00
Amethyst Reese f817d72822 RTD base url 2024-07-22 12:43:34 -07:00
dependabot[bot] 340cdb54e4
Bump coverage from 7.4.1 to 7.5.4 (#174)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.1 to 7.5.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.1...7.5.4)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 16:37:02 -07:00
dependabot[bot] 2a3c58a484
Bump attribution from 1.6.2 to 1.8.0 (#172)
Bumps [attribution](https://github.com/omnilib/attribution) from 1.6.2 to 1.8.0.
- [Changelog](https://github.com/omnilib/attribution/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/attribution/compare/v1.6.2...v1.8.0)

---
updated-dependencies:
- dependency-name: attribution
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 16:36:44 -07:00
dependabot[bot] 2540874eff
Bump mypy from 1.8.0 to 1.10.1 (#173)
Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.10.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.8.0...v1.10.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 16:32:35 -07:00
dependabot[bot] 218385b3e6
Bump ufmt from 2.3.0 to 2.7.0 (#175)
Bumps [ufmt](https://github.com/omnilib/ufmt) from 2.3.0 to 2.7.0.
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/ufmt/compare/v2.3.0...v2.7.0)

---
updated-dependencies:
- dependency-name: ufmt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 16:32:20 -07:00
dependabot[bot] 7b7cf7d787
Bump black from 24.1.1 to 24.4.2 (#168)
Bumps [black](https://github.com/psf/black) from 24.1.1 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.1.1...24.4.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 16:32:10 -07:00
dependabot[bot] 7f2155f7e7
Bump usort from 1.0.7 to 1.0.8.post1 (#161)
Bumps [usort](https://github.com/facebook/usort) from 1.0.7 to 1.0.8.post1.
- [Changelog](https://github.com/facebook/usort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/usort/compare/v1.0.7...v1.0.8.post1)

---
updated-dependencies:
- dependency-name: usort
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 14:01:58 -07:00
Vlastimil Zíma 83d4343917
Add tuple to builtins (#152)
* Add tuple to builtins

* Rebase onto main

---------

Co-authored-by: Amethyst Reese <amethyst@n7.gg>
2024-02-05 19:34:10 -08:00
dependabot[bot] 469ed8dd21
Bump black from 24.1.0 to 24.1.1 (#156)
Bumps [black](https://github.com/psf/black) from 24.1.0 to 24.1.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.1.0...24.1.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 18:58:45 -08:00
dependabot[bot] 18e5d7f9a6
Bump coverage from 7.4.0 to 7.4.1 (#155)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 18:56:01 -08:00
Amethyst Reese 39c5fe810c
Modernize metadata and deps, support 3.8-3.12 (#154)
* Modernize metadata and deps, support 3.8-3.12

* rtd config

* rtd extras
2024-02-05 18:53:19 -08:00
Amethyst Reese 1af4bf4aa7 mailmap 2023-12-27 13:39:04 -08:00
Amethyst Reese 53e15e38c4 Version bump v0.11.0 2022-09-17 18:54:51 -07:00
Amethyst Reese e49fa0b3ca Remove loop parameters from asyncio functions 2022-09-17 18:39:26 -07:00
Amethyst Reese b1484bc8ef Ignore dependabot in logs 2022-09-17 14:24:46 -07:00
Amethyst Reese 5906de2f29 Make docs buildable without virtualenv, fix #113
ghstack-source-id: e23510dd1a
Pull Request resolved: https://github.com/omnilib/aioitertools/pull/135
2022-09-16 22:06:57 -07:00
Amethyst Reese 67307add4f
Merge pull request #133 from amyreese/311
Add support for Python 3.11
2022-09-16 21:34:21 -07:00
Amethyst Reese 724f526604 Use newer coverage on 3.10+ 2022-09-16 20:39:29 -07:00
dependabot[bot] a8ca6a33b0
Bump sphinx-mdinclude from 0.5.1 to 0.5.2 (#131)
Bumps [sphinx-mdinclude](https://github.com/amyreese/sphinx-mdinclude) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/amyreese/sphinx-mdinclude/releases)
- [Changelog](https://github.com/amyreese/sphinx-mdinclude/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amyreese/sphinx-mdinclude/compare/v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: sphinx-mdinclude
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 20:27:22 -07:00
Amethyst Reese e17c4fbe70 Run CI on 3.11 2022-09-16 20:26:52 -07:00
Amethyst Reese 52322b0ad1 Fixes to support Python 3.11
- proactively upconvert awaitables to tasks before calling asyncio.wait
- skip the test exercising @asyncio.coroutine that is gone in 3.11
2022-09-16 20:04:37 -07:00
dependabot[bot] 1acd2270df
Bump usort from 1.0.2 to 1.0.5 (#132)
Bumps [usort](https://github.com/facebook/usort) from 1.0.2 to 1.0.5.
- [Release notes](https://github.com/facebook/usort/releases)
- [Changelog](https://github.com/facebook/usort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/usort/compare/v1.0.2...v1.0.5)

---
updated-dependencies:
- dependency-name: usort
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 20:02:39 -07:00
dependabot[bot] c78d11b574
Bump flake8 from 4.0.1 to 5.0.4 (#126)
Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.4.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 19:30:04 -07:00
dependabot[bot] b3ae09fb96
Bump black from 22.6.0 to 22.8.0 (#129)
Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 19:29:58 -07:00
Amethyst Reese 735605c687 Update url 2022-08-23 22:02:24 -07:00
Amethyst Reese 7ef0521281 Update names and copyright 2022-08-23 21:54:36 -07:00
dependabot[bot] 23aeb18c2e
Bump black from 22.3.0 to 22.6.0 (#121)
Bumps [black](https://github.com/psf/black) from 22.3.0 to 22.6.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.3.0...22.6.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 21:51:05 -07:00
dependabot[bot] ae3369ca15
Bump flake8 from 4.0.1 to 5.0.2 (#122)
Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.2.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 21:50:54 -07:00
dependabot[bot] 498234db13
Bump mypy from 0.950 to 0.971 (#123)
Bumps [mypy](https://github.com/python/mypy) from 0.950 to 0.971.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.950...v0.971)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 21:50:40 -07:00
John Reese 95e166d645
Merge pull request #111 from danielkza/before-and-after
Add before_and_after to moreitertools
2022-05-23 09:33:18 -07:00
Daniel Miranda 9c21717cb2 Fix py3.6 compatibility 2022-05-23 09:57:09 +01:00
Daniel Miranda 294e022c99 Add before_and_after to moreitertools 2022-05-22 14:38:37 +01:00
dependabot[bot] 35a6cc6e00
Bump usort from 1.0.1 to 1.0.2 (#110)
Bumps [usort](https://github.com/facebookexperimental/usort) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/facebookexperimental/usort/releases)
- [Changelog](https://github.com/facebookexperimental/usort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebookexperimental/usort/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: usort
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:35 -07:00