CLI to show end-of-life dates for tools and technologies.

Overview

norwegianblue

PyPI version Supported Python versions PyPI downloads Test codecov GitHub Code style: Black

Python 3.9+ interface to endoflife.date to show end-of-life dates for tools and technologies.

Installation

From PyPI

python -m pip install --upgrade norwegianblue

From source

git clone https://github.com/hugovk/norwegianblue
cd norwegianblue
pip install .

Example command-line use

Run norwegianblue or eol, they do the same thing.

Top-level help:

usage: norwegianblue [-h] [-t TOOL] [-f {html,json,markdown,rst,tsv}] [-c {yes,no}] [-v] [-V]

CLI to show end-of-life dates for tools and technologies.

positional arguments:
  tool                  Tool to check (default: python)

optional arguments:
  -h, --help            show this help message and exit
  -f {html,json,markdown,rst,tsv}, --format {html,json,markdown,rst,tsv}
                        The format of output (default: markdown)
  -c {yes,no}, --color {yes,no}
                        color terminal output (default: yes)
  -v, --verbose         Print debug messages to stderr (default: False)
  -V, --version         show program's version number and exit

Show end-of-life dates:

$ norwegianblue
| cycle | latest |  release   |    eol     |                                 link                                 |
| ----- | ------ | ---------- | ---------- | -------------------------------------------------------------------- |
| 3.9   | 3.9.5  | 2020-10-05 | 2025-10-05 | https://www.python.org/downloads/release/python-395/                 |
| 3.8   | 3.8.10 | 2019-10-14 | 2024-10-14 | https://www.python.org/downloads/release/python-3810/                |
| 3.7   | 3.7.10 | 2018-06-27 | 2023-06-27 | https://www.python.org/downloads/release/python-3710/                |
| 3.6   | 3.6.13 | 2016-12-23 | 2021-12-23 | https://www.python.org/downloads/release/python-3613/                |
| 3.5   | 3.5.10 | 2015-09-30 | 2020-09-13 | https://www.python.org/downloads/release/python-3510/                |
| 3.4   | 3.4.10 | 2014-03-16 | 2019-03-18 | https://www.python.org/downloads/release/python-3410/                |
| 3.3   | 3.3.7  | 2012-09-29 | 2017-09-29 | https://www.python.org/downloads/release/python-337/                 |
| 2.7   | 2.7.18 | 2010-07-03 | 2020-01-01 | https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.18rc1.rst |

The table is Markdown, ready for pasting in GitHub issues and PRs:

cycle latest release eol link
3.9 3.9.5 2020-10-05 2025-10-05 https://www.python.org/downloads/release/python-395/
3.8 3.8.10 2019-10-14 2024-10-14 https://www.python.org/downloads/release/python-3810/
3.7 3.7.10 2018-06-27 2023-06-27 https://www.python.org/downloads/release/python-3710/
3.6 3.6.13 2016-12-23 2021-12-23 https://www.python.org/downloads/release/python-3613/
3.5 3.5.10 2015-09-30 2020-09-13 https://www.python.org/downloads/release/python-3510/
3.4 3.4.10 2014-03-16 2019-03-18 https://www.python.org/downloads/release/python-3410/
3.3 3.3.7 2012-09-29 2017-09-29 https://www.python.org/downloads/release/python-337/
2.7 2.7.18 2010-07-03 2020-01-01 https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.18rc1.rst

With options:

$ eol ubuntu --format rst
.. table::

    ===========  =========  ============  ============  ============  =====================================================
       cycle      latest      release       support         eol                               link
    ===========  =========  ============  ============  ============  =====================================================
     21.04 LTS    21.04      2021-04-22    2022-01-01    2022-01-01    https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/
     20.10 LTS    20.10      2020-10-22    2021-07-07    2021-07-07    https://wiki.ubuntu.com/GroovyGorilla/ReleaseNotes/
     20.04 LTS    20.04.2    2020-04-23    2022-10-01    2025-04-02
     19.10        19.10      2019-10-17    2020-07-06    2020-07-06
     18.04 LTS    18.04.5    2018-04-26    2020-09-30    2023-04-02
     16.04 LTS    16.04.7    2016-04-21    2018-10-01    2021-04-02
     14.04 LTS    14.04.6    2014-04-17    2016-09-30    2019-04-02
    ===========  =========  ============  ============  ============  =====================================================

Example programmatic use

Return values are from the JSON responses documented in the API: https://endoflife.date/docs/api/

import norwegianblue

# Call the API
print(norwegianblue.norwegianblue())
print(norwegianblue.norwegianblue(tool="ubuntu"))
print(norwegianblue.norwegianblue(format="json"))
Comments
  • Add CSV format output

    Add CSV format output

    Fixes #110.

    Add CSV format output.

    For example:

    $ eol python --format csv
    "cycle","release","latest","latest release","eol"
    "3.11","2022-10-24","3.11.0","2022-10-24","2027-10-24"
    "3.10","2021-10-04","3.10.8","2022-10-11","2026-10-04"
    "3.9","2020-10-05","3.9.15","2022-10-11","2025-10-05"
    "3.8","2019-10-14","3.8.15","2022-10-11","2024-10-14"
    "3.7","2018-06-26","3.7.15","2022-10-10","2023-06-27"
    "3.6","2016-12-22","3.6.15","2021-09-03","2021-12-23"
    "3.5","2015-09-12","3.5.10","2020-09-05","2020-09-13"
    "3.4","2014-03-15","3.4.10","2019-03-18","2019-03-18"
    "3.3","2012-09-29","3.3.7","2017-09-19","2017-09-29"
    "2.7","2010-07-03","2.7.18","2020-04-19","2020-01-01"
    "2.6","2008-10-01","2.6.9","2013-10-29","2013-10-29"
    
    changelog: Added 
    opened by hugovk 5
  • :pray: Feature Request > Please add csv to your output options :bar_chart:

    :pray: Feature Request > Please add csv to your output options :bar_chart:

    :grey_question: Context

    Currently,

    ❯ eol --version
    eol 0.9.0 (Python 3.10.6)
    

    The available output options are

    -f {html,json,markdown,rst,tsv}, --format {html,json,markdown,rst,tsv}
    

    But most ETL (and other tools) support csv as input format... and often make the load of csv the default mode.

    :pray: Feature request

    Please add csv output option, respecting rfc4180

    For example, the following command :

    norwegianblue spring-framework -f csv
    

    Would return :

    "cycle","release","latest","latest release","support","eol"
    "5.3","2020-10-27","5.3.23","2022-09-15","True","False"
    "5.2","2019-09-30","5.2.22","2022-05-11","True","2021-12-31"
    "5.1","2018-09-21","5.1.20","2020-12-09","False","2020-12-09"
    "5.0","2017-09-28","5.0.20","2020-12-09","False","2020-12-09"
    "4.3","2016-06-10","4.3.30","2020-12-09","False","2020-12-31"
    "3.2","2012-12-13","3.2.18","2016-12-21","False","2016-12-31"
    

    Thank you in advance and thanks a lot for your tool :clap:

    opened by adriens 5
  • Bump codecov/codecov-action from 2.1.0 to 3.1.0

    Bump codecov/codecov-action from 2.1.0 to 3.1.0

    Bumps codecov/codecov-action from 2.1.0 to 3.1.0.

    Release notes

    Sourced from codecov/codecov-action's releases.

    v3.1.0

    3.1.0

    Features

    • #699 Incorporate xcode arguments for the Codecov uploader

    Dependencies

    • #694 build(deps-dev): bump @​vercel/ncc from 0.33.3 to 0.33.4
    • #696 build(deps-dev): bump @​types/node from 17.0.23 to 17.0.25
    • #698 build(deps-dev): bump jest-junit from 13.0.0 to 13.2.0

    v3.0.0

    Breaking Changes

    • #689 Bump to node16 and small fixes

    Features

    • #688 Incorporate gcov arguments for the Codecov uploader

    Dependencies

    • #548 build(deps-dev): bump jest-junit from 12.2.0 to 13.0.0
    • #603 [Snyk] Upgrade @​actions/core from 1.5.0 to 1.6.0
    • #628 build(deps): bump node-fetch from 2.6.1 to 3.1.1
    • #634 build(deps): bump node-fetch from 3.1.1 to 3.2.0
    • #636 build(deps): bump openpgp from 5.0.1 to 5.1.0
    • #652 build(deps-dev): bump @​vercel/ncc from 0.30.0 to 0.33.3
    • #653 build(deps-dev): bump @​types/node from 16.11.21 to 17.0.18
    • #659 build(deps-dev): bump @​types/jest from 27.4.0 to 27.4.1
    • #667 build(deps): bump actions/checkout from 2 to 3
    • #673 build(deps): bump node-fetch from 3.2.0 to 3.2.3
    • #683 build(deps): bump minimist from 1.2.5 to 1.2.6
    • #685 build(deps): bump @​actions/github from 5.0.0 to 5.0.1
    • #681 build(deps-dev): bump @​types/node from 17.0.18 to 17.0.23
    • #682 build(deps-dev): bump typescript from 4.5.5 to 4.6.3
    • #676 build(deps): bump @​actions/exec from 1.1.0 to 1.1.1
    • #675 build(deps): bump openpgp from 5.1.0 to 5.2.1
    Changelog

    Sourced from codecov/codecov-action's changelog.

    3.1.0

    Features

    • #699 Incorporate xcode arguments for the Codecov uploader

    Dependencies

    • #694 build(deps-dev): bump @​vercel/ncc from 0.33.3 to 0.33.4
    • #696 build(deps-dev): bump @​types/node from 17.0.23 to 17.0.25
    • #698 build(deps-dev): bump jest-junit from 13.0.0 to 13.2.0

    3.0.0

    Breaking Changes

    • #689 Bump to node16 and small fixes

    Features

    • #688 Incorporate gcov arguments for the Codecov uploader

    Dependencies

    • #548 build(deps-dev): bump jest-junit from 12.2.0 to 13.0.0
    • #603 [Snyk] Upgrade @​actions/core from 1.5.0 to 1.6.0
    • #628 build(deps): bump node-fetch from 2.6.1 to 3.1.1
    • #634 build(deps): bump node-fetch from 3.1.1 to 3.2.0
    • #636 build(deps): bump openpgp from 5.0.1 to 5.1.0
    • #652 build(deps-dev): bump @​vercel/ncc from 0.30.0 to 0.33.3
    • #653 build(deps-dev): bump @​types/node from 16.11.21 to 17.0.18
    • #659 build(deps-dev): bump @​types/jest from 27.4.0 to 27.4.1
    • #667 build(deps): bump actions/checkout from 2 to 3
    • #673 build(deps): bump node-fetch from 3.2.0 to 3.2.3
    • #683 build(deps): bump minimist from 1.2.5 to 1.2.6
    • #685 build(deps): bump @​actions/github from 5.0.0 to 5.0.1
    • #681 build(deps-dev): bump @​types/node from 17.0.18 to 17.0.23
    • #682 build(deps-dev): bump typescript from 4.5.5 to 4.6.3
    • #676 build(deps): bump @​actions/exec from 1.1.0 to 1.1.1
    • #675 build(deps): bump openpgp from 5.1.0 to 5.2.1
    Commits
    • 81cd2dc Merge pull request #699 from codecov/feat-xcode
    • a03184e feat: add xcode support
    • 6a6a9ae Merge pull request #694 from codecov/dependabot/npm_and_yarn/vercel/ncc-0.33.4
    • 92a872a Merge pull request #696 from codecov/dependabot/npm_and_yarn/types/node-17.0.25
    • 43a9c18 Merge pull request #698 from codecov/dependabot/npm_and_yarn/jest-junit-13.2.0
    • 13ce822 Merge pull request #690 from codecov/ci-v3
    • 4d6dbaa build(deps-dev): bump jest-junit from 13.0.0 to 13.2.0
    • 98f0f19 build(deps-dev): bump @​types/node from 17.0.23 to 17.0.25
    • d3021d9 build(deps-dev): bump @​vercel/ncc from 0.33.3 to 0.33.4
    • 2c83f35 Update makefile to v3
    • 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 merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @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)
    changelog: skip dependencies 
    opened by dependabot[bot] 5
  • Bump pre-commit/action from 2.0.3 to 3.0.0

    Bump pre-commit/action from 2.0.3 to 3.0.0

    Bumps pre-commit/action from 2.0.3 to 3.0.0.

    Release notes

    Sourced from pre-commit/action's releases.

    pre-commit/[email protected]

    Breaking

    see README for alternatives

    Commits
    • 646c83f v3.0.0
    • 7a7fccb Merge pull request #164 from pre-commit/remove-pushing
    • f5c2d25 remove pushing behaviour
    • c674242 Merge pull request #162 from pre-commit/pre-commit-ci-update-config
    • 8a43c84 [pre-commit.ci] pre-commit autoupdate
    • 0932232 Merge pull request #161 from pre-commit/pre-commit-ci-update-config
    • 3945558 [pre-commit.ci] pre-commit autoupdate
    • d1945e3 Merge pull request #158 from pre-commit/pre-commit-ci-update-config
    • 705d6c1 [pre-commit.ci] pre-commit autoupdate
    • c81293c Merge pull request #156 from pre-commit/pre-commit-ci-update-config
    • 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 merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @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)
    changelog: skip dependencies 
    opened by dependabot[bot] 3
  • Bump actions/setup-python from 3 to 4

    Bump actions/setup-python from 3 to 4

    Bumps actions/setup-python from 3 to 4.

    Release notes

    Sourced from actions/setup-python's releases.

    v4.0.0

    What's Changed

    • Support for python-version-file input: #336

    Example of usage:

    - uses: actions/[email protected]
      with:
        python-version-file: '.python-version' # Read python version from a file
    - run: python my_script.py
    

    There is no default python version for this setup-python major version, the action requires to specify either python-version input or python-version-file input. If the python-version input is not specified the action will try to read required version from file from python-version-file input.

    • Use pypyX.Y for PyPy python-version input: #349

    Example of usage:

    - uses: actions/[email protected]
      with:
        python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
    - run: python my_script.py
    
    • RUNNER_TOOL_CACHE environment variable is equal AGENT_TOOLSDIRECTORY: #338

    • Bugfix: create missing pypyX.Y symlinks: #347

    • PKG_CONFIG_PATH environment variable: #400

    • Added python-path output: #405 python-path output contains Python executable path.

    • Updated zeit/ncc to vercel/ncc package: #393

    • Bugfix: fixed output for prerelease version of poetry: #409

    • Made pythonLocation environment variable consistent for Python and PyPy: #418

    • Bugfix for 3.x-dev syntax: #417

    • Other improvements: #318 #396 #384 #387 #388

    Update actions/cache version to 2.0.2

    In scope of this release we updated actions/cache package as the new version contains fixes related to GHES 3.5 (actions/setup-python#382)

    Add "cache-hit" output and fix "python-version" output for PyPy

    This release introduces new output cache-hit (actions/setup-python#373) and fix python-version output for PyPy (actions/setup-python#365)

    The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.

    ... (truncated)

    Commits
    • d09bd5e fix: 3.x-dev can install a 3.y version (#417)
    • f72db17 Made env.var pythonLocation consistent for Python and PyPy (#418)
    • 53e1529 add support for python-version-file (#336)
    • 3f82819 Fix output for prerelease version of poetry (#409)
    • 397252c Update zeit/ncc to vercel/ncc (#393)
    • de977ad Merge pull request #412 from vsafonkin/v-vsafonkin/fix-poetry-cache-test
    • 22c6af9 Change PyPy version to rebuild cache
    • 081a3cf Merge pull request #405 from mayeut/interpreter-path
    • ff70656 feature: add a python-path output
    • fff15a2 Use pypyX.Y for PyPy python-version input (#349)
    • 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 merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @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)
    changelog: skip dependencies 
    opened by dependabot[bot] 3
  • Update README image with pretty output

    Update README image with pretty output

    Follow on from https://github.com/hugovk/norwegianblue/pull/116.

    Use a bigger image than last time.

    Put through optipng -o7 -zm1-9:

    609x317 pixels, 4x8 bits/pixel, RGB+alpha
    Reducing image to 3x8 bits/pixel, RGB
    Input IDAT size = 53331 bytes
    Input file size = 56760 bytes
    
    Trying:
      zc = 9  zm = 9  zs = 0  f = 0		IDAT size = 34440
      zc = 7  zm = 1  zs = 0  f = 22
    
    Selecting parameters:
      zc = 9  zm = 9  zs = 0  f = 0		IDAT size = 34440
    
    Output IDAT size = 34440 bytes (18891 bytes decrease)
    Output file size = 37833 bytes (18927 bytes = 33.35% decrease)
    
    changelog: skip 
    opened by hugovk 2
  • Update dependency prettytable to v3.4.1

    Update dependency prettytable to v3.4.1

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | prettytable | ==3.3.0 -> ==3.4.1 | age | adoption | passing | confidence |


    Release Notes

    jazzband/prettytable

    v3.4.1

    Compare Source

    Fixed

    v3.4.0

    Compare Source

    Added

    Fixed


    Configuration

    📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    changelog: skip dependencies 
    opened by renovate[bot] 2
  • Update dependency freezegun to v1.2.2

    Update dependency freezegun to v1.2.2

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | freezegun (changelog) | ==1.2.1 -> ==1.2.2 | age | adoption | passing | confidence |


    Release Notes

    spulec/freezegun

    v1.2.2

    • Removes Python 3.6 support, which reached its EOL on 2021-12-23 (https://devguide.python.org/versions/?highlight=End-of-life#unsupported-versions).

    • Improved static typing definitions

    • Don't freeze pytest timings. This avoids class-level decorator usage messing with pytest timings.

    • Pass through all setUp and tearDown arguments


    Configuration

    📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    changelog: skip dependencies 
    opened by renovate[bot] 2
  • Replace Dependabot with Renovate

    Replace Dependabot with Renovate

    It's less spammy than Dependabot and can do grouped updates:

    • https://github.com/dependabot/dependabot-core/issues/2804
    • https://github.com/dependabot/dependabot-core/issues/1190
    changelog: skip 
    opened by hugovk 2
  • Bump python-slugify from 6.1.1 to 6.1.2

    Bump python-slugify from 6.1.1 to 6.1.2

    Bumps python-slugify from 6.1.1 to 6.1.2.

    Changelog

    Sourced from python-slugify's changelog.

    6.1.2

    • Reintroduce the cli options
    Commits

    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 merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @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)
    changelog: skip dependencies 
    opened by dependabot[bot] 2
  • Bump pytest from 7.0.1 to 7.1.1

    Bump pytest from 7.0.1 to 7.1.1

    Bumps pytest from 7.0.1 to 7.1.1.

    Release notes

    Sourced from pytest's releases.

    7.1.1

    pytest 7.1.1 (2022-03-17)

    Bug Fixes

    • #9767: Fixed a regression in pytest 7.1.0 where some conftest.py files outside of the source tree (e.g. in the [site-packages]{.title-ref} directory) were not picked up.

    7.1.0

    pytest 7.1.0 (2022-03-13)

    Breaking Changes

    • #8838: As per our policy, the following features have been deprecated in the 6.X series and are now removed:

      • pytest._fillfuncargs function.
      • pytest_warning_captured hook - use pytest_warning_recorded instead.
      • -k -foobar syntax - use -k 'not foobar' instead.
      • -k foobar: syntax.
      • pytest.collect module - import from pytest directly.

      For more information consult Deprecations and Removals in the docs.

    • #9437: Dropped support for Python 3.6, which reached end-of-life at 2021-12-23.

    Improvements

    • #5192: Fixed test output for some data types where -v would show less information.

      Also, when showing diffs for sequences, -q would produce full diffs instead of the expected diff.

    • #9362: pytest now avoids specialized assert formatting when it is detected that the default __eq__ is overridden in attrs or dataclasses.

    • #9536: When -vv is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width.

    • #9644: More information about the location of resources that led Python to raise ResourceWarning{.interpreted-text role="class"} can now be obtained by enabling tracemalloc{.interpreted-text role="mod"}.

      See resource-warnings{.interpreted-text role="ref"} for more information.

    • #9678: More types are now accepted in the ids argument to @pytest.mark.parametrize. Previously only [str]{.title-ref}, [float]{.title-ref}, [int]{.title-ref} and [bool]{.title-ref} were accepted; now [bytes]{.title-ref}, [complex]{.title-ref}, [re.Pattern]{.title-ref}, [Enum]{.title-ref} and anything with a [__name__]{.title-ref} are also accepted.

    • #9692: pytest.approx{.interpreted-text role="func"} now raises a TypeError{.interpreted-text role="class"} when given an unordered sequence (such as set{.interpreted-text role="class"}).

      Note that this implies that custom classes which only implement __iter__ and __len__ are no longer supported as they don't guarantee order.

    ... (truncated)

    Commits
    • 0ffe9e0 Prepare release version 7.1.1
    • 6f2c1ec Merge pull request #9784 from pytest-dev/backport-9768-to-7.1.x
    • a65c47a Merge pull request #9783 from pytest-dev/backport-9780-to-7.1.x
    • 30d995e [pre-commit.ci] auto fixes from pre-commit.com hooks
    • 10a14d1 [7.1.x] testing: fix tests when run under -v or -vv
    • f4cfc59 [pre-commit.ci] auto fixes from pre-commit.com hooks
    • f1df807 [7.1.x] config: restore pre-pytest 7.1.0 confcutdir exclusion behavior
    • 7d4d1ec Merge pull request #9758 from pytest-dev/release-7.1.0
    • 1dbffcc [pre-commit.ci] auto fixes from pre-commit.com hooks
    • d53a5fb Prepare release version 7.1.0
    • 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 merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @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)
    changelog: skip dependencies 
    opened by dependabot[bot] 2
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Awaiting Schedule

    These updates are awaiting their schedule. Click on a checkbox to get an update now.

    • [ ] Update requirements.txt (httpx, termcolor)

    Detected dependencies

    github-actions
    .github/workflows/deploy.yml
    • actions/checkout v3
    • actions/setup-python v4
    .github/workflows/labels.yml
    • actions/checkout v3
    • micnncim/action-label-syncer v1
    .github/workflows/lint.yml
    • actions/checkout v3
    • actions/setup-python v4
    • pre-commit/action v3.0.0
    .github/workflows/release-drafter.yml
    • release-drafter/release-drafter v5
    .github/workflows/require-pr-label.yml
    • mheap/github-action-required-labels v3
    .github/workflows/test.yml
    • actions/checkout v3
    • actions/setup-python v4
    • codecov/codecov-action v3
    pip_requirements
    requirements.txt
    • freezegun ==1.2.2
    • httpx ==0.23.1
    • platformdirs ==2.6.2
    • prettytable ==3.5.0
    • pytablewriter ==0.64.2
    • pytest ==7.2.0
    • pytest-cov ==4.0.0
    • python-slugify ==7.0.0
    • respx ==0.20.1
    • termcolor ==2.1.1

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    dependencies 
    opened by renovate[bot] 0
Releases(0.11.0)
  • 0.11.0(Dec 14, 2022)

  • 0.10.0(Nov 6, 2022)

  • 0.9.0(Sep 24, 2022)

    Added

    • Include Python version in --version (#95) @hugovk

    Changed

    • Rename headers: releaseDate->release, latestReleaseDate->latest release (#83) @hugovk
    • Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs (#94) @hugovk

    Fixed

    • Omit the releaseLabel column (#96) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.8.1(Jun 7, 2022)

  • 0.8.0(May 1, 2022)

    Added

    • Support Python 3.11 (#77) @hugovk
    • Show EOLs for multiple products (#67) @hugovk

    Changed

    • Refactor cache stuff into module (#68) @hugovk

    Fixed

    • Freeze time to fix test (#76) @hugovk
    • Fix status code logging and use lazy % formatting in logging functions (#70) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.7.0(Mar 2, 2022)

    Added

    • Add source URL to --verbose (#47) @hugovk

    Fixed

    • Freeze time to fix colour test (#50) @hugovk
    • Use cog to update README usage (#44) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.6.0(Nov 6, 2021)

    Added

    • Add examples to --help (#42) @hugovk

    Changed

    • Speedup: only import httpx if needed (#36) @hugovk

    Fixed

    • httpx: Enable following redirects (#43) @hugovk
    • Fix labelling LTS releases (#41) @hugovk
    • Only align necessary columns and not whole table (#40) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.5.0(Oct 26, 2021)

    Added

    • Add support for Python 3.7-3.8 and PyPy (#32) @hugovk
    • Add __main__.py so runnable via 'python3 -m norwegianblue' (#35) @hugovk
    • Add --clear-cache to delete all cache files before run (#34) @hugovk

    Fixed

    • Specify build backend to allow editable installs (#33) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.4.0(Oct 7, 2021)

    Changed

    • Speedup: Write version to file to avoid overhead of pkg_resources.get_distribution (#30) @hugovk
    • Speedup: Use faster PrettyTable for Markdown (#29) @hugovk

    Fixed

    • Bump minimum pytablewriter to fix trailing quotes (#25) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.3.0(Sep 15, 2021)

    Added

    • Show nicer error message instead of 404 traceback (#22) @hugovk

    Changed

    • Allow and test httpx 1.0.0 beta (#24) @hugovk
    • Replace appdirs with platformdirs (#23) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.2.0(Aug 26, 2021)

    Added

    • Add support for Python 3.10 (#19) @hugovk

    Changed

    • Bump httpx from 0.18.2 to 0.19.0 (#18) @dependabot
    • Switch use of 'tool' to 'product' (#17) @hugovk

    Fixed

    • Set 'all' as default, update README examples (#12) @hugovk
    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Jul 24, 2021)

  • 0.0.2(Jun 16, 2021)

  • 0.0.1(Jun 15, 2021)

A minimal todo list for your terminal.

todo A minimal todo list for your terminal. Installation Run the following command. pip install git+https://github.com/piero-vic/todo.git Usage todo

Piero Lescano 7 Aug 08, 2022
inklayers is a command line program that exports layers from an SVG file.

inklayers is a command line program that exports layers from an SVG file. It can be used to create slide shows by editing a single SVG file.

11 Mar 29, 2022
A command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, VueJS projects.

Cookiecutter A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python

18.6k Dec 30, 2022
Booky - A command line utility for bookmarking files on your terminal!

Booky A command line utility for bookmarking files for quick access With it you can: Bookmark and delete your (aliases of) files at demand Launch them

Pran 1 Sep 11, 2022
A simple automation script that logs into your kra account and files your taxes with one command

EASY_TAX A simple automation script that logs into your kra account and files your taxes with one command Currently works for Chrome users. Will creat

leon koech 13 Sep 23, 2021
Postgres CLI with autocompletion and syntax highlighting

A REPL for Postgres This is a postgres client that does auto-completion and syntax highlighting. Home Page: http://pgcli.com MySQL Equivalent: http://

dbcli 10.8k Jan 02, 2023
Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Phil Wang 4.4k Jan 09, 2023
電通大のCLIツールです

uecli 電通大のCLIツールです。コマンドラインからシラバス検索、成績参照、図書館の貸出リストなどを見ることができます インストール pip install uecli 使い方 シラバスを検索 uecli syllabus search -s 'コンピュータサイエンス' シラバスを取得し、Mar

UEC World Dominators 2 Oct 31, 2021
CLI Utility to encode and recursively recreate directories with ffmpeg.

FFenmass CLI Utility to encode and recursively recreate directories with ffmpeg. Report Bug · Request Feature Table of Contents Getting Started Prereq

George Av. 8 May 06, 2022
A minimal ascii-representation of your local weather.

Ascii-Weather A simple, ascii-based weather visualizer for the terminal. The ascii-art updates to match the current weather and conditions. Uses ipinf

Aaron R. 12 Jan 29, 2022
Command line client for Audience Insights

Dynamics 365 Audience Insights CLI The AuI CLI is a command line tool for Dynamics 365 Audience Insights. It is based on the customerinsights Python l

Microsoft 8 Jan 09, 2023
A CLI for advanced management of your notes with simple commands

PyNoteManager This is a CLI for advanced management of your notes with simple co

3 Dec 30, 2021
🔖 Lemnos: A simple, light-weight command-line to-do list manager.

🔖 Lemnos: CLI To-do List Manager This is a simple program that allows one to manage a to-do list via the command-line. Example $ python3 todo.py add

Rohan Sikand 1 Dec 07, 2022
pypinfo is a simple CLI to access PyPI download statistics via Google's BigQuery.

pypinfo: View PyPI download statistics with ease. pypinfo is a simple CLI to access PyPI download statistics via Google's BigQuery. Installation pypin

Ofek Lev 351 Dec 26, 2022
Command line parser for common log format (Nginx default).

Command line parser for common log format (Nginx default).

Lucian Marin 138 Dec 19, 2022
A CLI tool for creating disposable environments.

dispenv - Disposable Python Environments ⚠️ WIP Need to make an environment to work on a GitHub issue? Want to try out a new package and not leave the

Peter Baumgartner 3 Mar 14, 2022
spid-sp-test is a SAML2 SPID/CIE Service Provider validation tool that can be executed from the command line.

spid-sp-test spid-sp-test is a SAML2 SPID/CIE Service Provider validation tool that can be executed from the command line. This tool was born by separ

Developers Italia 30 Nov 08, 2022
Generate folder trees directly from the terminal.

Dir Tree Artist 🎨 🌲 Intro Easily view folder structure, with parameters to sieve out what you want. Choose to exclude files from being viewed (.git,

Glenda T 0 May 17, 2022
A simple file transfer tools, similar to rz / sz but compatible with tmux (control mode), which works with iTerm2 and has a nice progress bar

trzsz A simple file transfer tools, similar to rz/sz but compatible with tmux (control mode), which works with iTerm2 and has a nice progress bar. Why

561 Jan 05, 2023
Simple CLI for managing Postgres databases in Flask.

Overview Simple CLI that provides the following commands: flask psql create flask psql init flask psql drop flask psql setup: create → init flask psql

Daniel Reeves 21 Oct 03, 2022