Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Previous page" key on the HTML index page goes next, not previous. #1765

Closed
nedbat opened this issue Apr 21, 2024 · 5 comments
Closed

"Previous page" key on the HTML index page goes next, not previous. #1765

nedbat opened this issue Apr 21, 2024 · 5 comments
Labels
bug Something isn't working fixed html

Comments

@nedbat
Copy link
Owner

nedbat commented Apr 21, 2024

Describe the bug

The HTML report has shortcut keys. Two of them, are [ and ] for prev/next page. On the index page, typing ] will take you to the first source file page. But [ also takes you to the first source file page. On a source file page, they behave correctly.

You can try it on the sample: https://nedbatchelder.com/files/sample_coverage_html/index.html

I can't understand why it's doing the wrong thing.

@nedbat nedbat added bug Something isn't working html labels Apr 21, 2024
@jvalleroy
Copy link

In the sample page, lines 174 and 175, you have:

        <a id="prevFileLink" class="nav" href="d_7b071bdc2a35fa80_whiteutils_py.html"/>
        <a id="nextFileLink" class="nav" href="d_7b071bdc2a35fa80___init___py.html"/>

However, the "a" tag is not a void element, so you need to have a separate closing tag </a>.

@nedbat
Copy link
Owner Author

nedbat commented Apr 21, 2024

Amazing! TIL. Thanks so much.

@nedbat
Copy link
Owner Author

nedbat commented Apr 21, 2024

Fixed in 409938d.

@nedbat
Copy link
Owner Author

nedbat commented Apr 23, 2024

The commit on master is 74c87a8.

@nedbat
Copy link
Owner Author

nedbat commented Apr 23, 2024

This is now released as part of coverage 7.5.0.

renovate bot referenced this issue in allenporter/flux-local Apr 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverage](https://togithub.com/nedbat/coveragepy) | `==7.4.4` ->
`==7.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nedbat/coveragepy (coverage)</summary>

###
[`v7.5.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-750--2024-04-23)

[Compare
Source](https://togithub.com/nedbat/coveragepy/compare/7.4.4...7.5.0)

- Added initial support for function and class reporting in the HTML
report.
There are now three index pages which link to each other: files,
functions,
and classes. Other reports don't yet have this information, but it will
be
    added in the future where it makes sense.  Feedback gladly accepted!

-   Other HTML report improvements:

- There is now a "hide covered" checkbox to filter out 100% files,
finishing
        `issue 1384`\_.

- The index page is always sorted by one of its columns, with clearer
        indications of the sorting.

- The "previous file" shortcut key didn't work on the index page, but
now it
        does, fixing `issue 1765`\_.

- The debug output showing which configuration files were tried now
shows
absolute paths to help diagnose problems where settings aren't taking
effect,
    and is renamed from "attempted_config_files" to the more logical
    "config_files_attempted."

-   Python 3.13.0a6 is supported.

.. \_issue
1384:[https://github.com/nedbat/coveragepy/issues/1384](https://togithub.com/nedbat/coveragepy/issues/1384)4
.. \_issue
1765[https://github.com/nedbat/coveragepy/issues/1765](https://togithub.com/nedbat/coveragepy/issues/1765)65

.. \_changes\_7-4-4:

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/allenporter/flux-local).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jooola referenced this issue in hetznercloud/hcloud-python Apr 24, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverage](https://togithub.com/nedbat/coveragepy) | `>=7.4,<7.5` ->
`>=7.5,<7.6` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nedbat/coveragepy (coverage)</summary>

###
[`v7.5.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-750--2024-04-23)

[Compare
Source](https://togithub.com/nedbat/coveragepy/compare/7.4.4...7.5.0)

- Added initial support for function and class reporting in the HTML
report.
There are now three index pages which link to each other: files,
functions,
and classes. Other reports don't yet have this information, but it will
be
    added in the future where it makes sense.  Feedback gladly accepted!

-   Other HTML report improvements:

- There is now a "hide covered" checkbox to filter out 100% files,
finishing
        `issue 1384`\_.

- The index page is always sorted by one of its columns, with clearer
        indications of the sorting.

- The "previous file" shortcut key didn't work on the index page, but
now it
        does, fixing `issue 1765`\_.

- The debug output showing which configuration files were tried now
shows
absolute paths to help diagnose problems where settings aren't taking
effect,
    and is renamed from "attempted_config_files" to the more logical
    "config_files_attempted."

-   Python 3.13.0a6 is supported.

.. \_issue
1384:[https://github.com/nedbat/coveragepy/issues/1384](https://togithub.com/nedbat/coveragepy/issues/1384)4
.. \_issue
1765[https://github.com/nedbat/coveragepy/issues/1765](https://togithub.com/nedbat/coveragepy/issues/1765)65

.. \_changes\_7-4-4:

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/hetznercloud/hcloud-python).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
coilysiren referenced this issue in HHS/simpler-grants-gov Apr 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [boto3](https://togithub.com/boto/boto3) | `1.34.87` -> `1.34.93` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/boto3/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/boto3/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/boto3/1.34.87/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/boto3/1.34.87/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [botocore](https://togithub.com/boto/botocore) | `1.34.87` ->
`1.34.93` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/botocore/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/botocore/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/botocore/1.34.87/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/botocore/1.34.87/1.34.93?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [coverage](https://togithub.com/nedbat/coveragepy) | `7.4.4` ->
`7.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/coverage/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/coverage/7.4.4/7.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [mypy](https://www.mypy-lang.org/)
([source](https://togithub.com/python/mypy),
[changelog](https://mypy-lang.blogspot.com/)) | `1.9.0` -> `1.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.9.0/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.9.0/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pydantic](https://togithub.com/pydantic/pydantic)
([changelog](https://docs.pydantic.dev/latest/changelog/)) | `2.7.0` ->
`2.7.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.7.0/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.7.0/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [ruff](https://docs.astral.sh/ruff)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `^0.3.5` -> `^0.4.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.3.7/0.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.3.7/0.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>boto/boto3 (boto3)</summary>

###
[`v1.34.93`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13493)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.92...1.34.93)

\=======

- api-change:`codepipeline`: \[`botocore`] Add ability to manually and
automatically roll back a pipeline stage to a previously successful
execution.
- api-change:`cognito-idp`: \[`botocore`] Add LimitExceededException to
SignUp errors
- api-change:`connectcampaigns`: \[`botocore`] This release adds support
for specifying if Answering Machine should wait for prompt sound.
- api-change:`marketplace-entitlement`: \[`botocore`] Releasing minor
endpoint updates.
- api-change:`oam`: \[`botocore`] This release introduces support for
Source Accounts to define which Metrics and Logs to share with the
Monitoring Account
- api-change:`rds`: \[`botocore`] SupportsLimitlessDatabase field added
to describe-db-engine-versions to indicate whether the DB engine version
supports Aurora Limitless Database.
- api-change:`support`: \[`botocore`] Releasing minor endpoint updates.

###
[`v1.34.92`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13492)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.91...1.34.92)

\=======

- api-change:`appsync`: \[`botocore`] UpdateGraphQLAPI documentation
update and datasource introspection secret arn update
- api-change:`fms`: \[`botocore`] AWS Firewall Manager adds support for
network ACL policies to manage Amazon Virtual Private Cloud (VPC)
network access control lists (ACLs) for accounts in your organization.
- api-change:`ivs`: \[`botocore`] Bug Fix: IVS does not support arns
with the `svs` prefix
- api-change:`ivs-realtime`: \[`botocore`] Bug Fix: IVS Real Time does
not support ARNs using the `svs` prefix.
- api-change:`rds`: \[`botocore`] Updates Amazon RDS documentation for
setting local time zones for RDS for Db2 DB instances.
- api-change:`stepfunctions`: \[`botocore`] Add new
ValidateStateMachineDefinition operation, which performs syntax checking
on the definition of a Amazon States Language (ASL) state machine.

###
[`v1.34.91`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13491)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.90...1.34.91)

\=======

- api-change:`datasync`: \[`botocore`] This change allows users to
disable and enable the schedules associated with their tasks.
- api-change:`ec2`: \[`botocore`] Launching capability for customers to
enable or disable automatic assignment of public IPv4 addresses to their
network interface
- api-change:`emr-containers`: \[`botocore`] EMRonEKS Service support
for SecurityConfiguration enforcement for Spark Jobs.
- api-change:`entityresolution`: \[`botocore`] Support Batch Unique IDs
Deletion.
- api-change:`gamelift`: \[`botocore`] Amazon GameLift releases
container fleets support for public preview. Deploy Linux-based
containerized game server software for hosting on Amazon GameLift.
- api-change:`ssm`: \[`botocore`] Add SSM DescribeInstanceProperties API
to public AWS SDK.

###
[`v1.34.90`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13490)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.89...1.34.90)

\=======

- api-change:`bedrock`: \[`botocore`] This release introduces Model
Evaluation and Guardrails for Amazon Bedrock.
- api-change:`bedrock-agent`: \[`botocore`] Introducing the ability to
create multiple data sources per knowledge base, specify S3 buckets as
data sources from external accounts, and exposing levers to define the
deletion behavior of the underlying vector store data.
- api-change:`bedrock-agent-runtime`: \[`botocore`] This release
introduces zero-setup file upload support for the RetrieveAndGenerate
API. This allows you to chat with your data without setting up a
Knowledge Base.
- api-change:`bedrock-runtime`: \[`botocore`] This release introduces
Guardrails for Amazon Bedrock.
- api-change:`ce`: \[`botocore`] Added additional metadata that might be
applicable to your reservation recommendations.
- api-change:`ec2`: \[`botocore`] This release introduces EC2 AMI
Deregistration Protection, a new AMI property that can be enabled by
customers to protect an AMI against an unintended deregistration. This
release also enables the AMI owners to view the AMI 'LastLaunchedTime'
in DescribeImages API.
- api-change:`pi`: \[`botocore`] Clarifies how aggregation works for
GetResourceMetrics in the Performance Insights API.
- api-change:`rds`: \[`botocore`] Fix the example ARN for
ModifyActivityStreamRequest
- api-change:`workspaces-web`: \[`botocore`] Added InstanceType and
MaxConcurrentSessions parameters on CreatePortal and UpdatePortal
Operations as well as the ability to read Customer Managed Key &
Additional Encryption Context parameters on supported resources (Portal,
BrowserSettings, UserSettings, IPAccessSettings)

###
[`v1.34.89`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13489)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.88...1.34.89)

\=======

- api-change:`bedrock-agent`: \[`botocore`] Releasing the support for
simplified configuration and return of control
- api-change:`bedrock-agent-runtime`: \[`botocore`] Releasing the
support for simplified configuration and return of control
- api-change:`payment-cryptography`: \[`botocore`] Adding support to
TR-31/TR-34 exports for optional headers, allowing customers to add
additional metadata (such as key version and KSN) when exporting keys
from the service.
- api-change:`redshift-serverless`: \[`botocore`] Updates description of
schedule field for scheduled actions.
- api-change:`route53profiles`: \[`botocore`] Route 53 Profiles allows
you to apply a central DNS configuration across many VPCs regardless of
account.
- api-change:`sagemaker`: \[`botocore`] This release adds support for
Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker
Studio.
- api-change:`servicediscovery`: \[`botocore`] This release adds
examples to several Cloud Map actions.
- api-change:`transfer`: \[`botocore`] Adding new API to support remote
directory listing using SFTP connector

###
[`v1.34.88`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13488)

[Compare
Source](https://togithub.com/boto/boto3/compare/1.34.87...1.34.88)

\=======

- api-change:`glue`: \[`botocore`] Adding RowFilter in the response for
GetUnfilteredTableMetadata API
- api-change:`internetmonitor`: \[`botocore`] This update introduces the
GetInternetEvent and ListInternetEvents APIs, which provide access to
internet events displayed on the Amazon CloudWatch Internet Weather Map.
- api-change:`personalize`: \[`botocore`] This releases auto training
capability while creating a solution and automatically syncing latest
solution versions when creating/updating a campaign

</details>

<details>
<summary>boto/botocore (botocore)</summary>

###
[`v1.34.93`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13493)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.92...1.34.93)

\=======

- api-change:`codepipeline`: Add ability to manually and automatically
roll back a pipeline stage to a previously successful execution.
- api-change:`cognito-idp`: Add LimitExceededException to SignUp errors
- api-change:`connectcampaigns`: This release adds support for
specifying if Answering Machine should wait for prompt sound.
- api-change:`marketplace-entitlement`: Releasing minor endpoint
updates.
- api-change:`oam`: This release introduces support for Source Accounts
to define which Metrics and Logs to share with the Monitoring Account
- api-change:`rds`: SupportsLimitlessDatabase field added to
describe-db-engine-versions to indicate whether the DB engine version
supports Aurora Limitless Database.
-   api-change:`support`: Releasing minor endpoint updates.

###
[`v1.34.92`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13492)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.91...1.34.92)

\=======

- api-change:`appsync`: UpdateGraphQLAPI documentation update and
datasource introspection secret arn update
- api-change:`fms`: AWS Firewall Manager adds support for network ACL
policies to manage Amazon Virtual Private Cloud (VPC) network access
control lists (ACLs) for accounts in your organization.
- api-change:`ivs`: Bug Fix: IVS does not support arns with the `svs`
prefix
- api-change:`ivs-realtime`: Bug Fix: IVS Real Time does not support
ARNs using the `svs` prefix.
- api-change:`rds`: Updates Amazon RDS documentation for setting local
time zones for RDS for Db2 DB instances.
- api-change:`stepfunctions`: Add new ValidateStateMachineDefinition
operation, which performs syntax checking on the definition of a Amazon
States Language (ASL) state machine.

###
[`v1.34.91`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13491)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.90...1.34.91)

\=======

- api-change:`datasync`: This change allows users to disable and enable
the schedules associated with their tasks.
- api-change:`ec2`: Launching capability for customers to enable or
disable automatic assignment of public IPv4 addresses to their network
interface
- api-change:`emr-containers`: EMRonEKS Service support for
SecurityConfiguration enforcement for Spark Jobs.
-   api-change:`entityresolution`: Support Batch Unique IDs Deletion.
- api-change:`gamelift`: Amazon GameLift releases container fleets
support for public preview. Deploy Linux-based containerized game server
software for hosting on Amazon GameLift.
- api-change:`ssm`: Add SSM DescribeInstanceProperties API to public AWS
SDK.

###
[`v1.34.90`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13490)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.89...1.34.90)

\=======

- api-change:`bedrock`: This release introduces Model Evaluation and
Guardrails for Amazon Bedrock.
- api-change:`bedrock-agent`: Introducing the ability to create multiple
data sources per knowledge base, specify S3 buckets as data sources from
external accounts, and exposing levers to define the deletion behavior
of the underlying vector store data.
- api-change:`bedrock-agent-runtime`: This release introduces zero-setup
file upload support for the RetrieveAndGenerate API. This allows you to
chat with your data without setting up a Knowledge Base.
- api-change:`bedrock-runtime`: This release introduces Guardrails for
Amazon Bedrock.
- api-change:`ce`: Added additional metadata that might be applicable to
your reservation recommendations.
- api-change:`ec2`: This release introduces EC2 AMI Deregistration
Protection, a new AMI property that can be enabled by customers to
protect an AMI against an unintended deregistration. This release also
enables the AMI owners to view the AMI 'LastLaunchedTime' in
DescribeImages API.
- api-change:`pi`: Clarifies how aggregation works for
GetResourceMetrics in the Performance Insights API.
- api-change:`rds`: Fix the example ARN for ModifyActivityStreamRequest
- api-change:`workspaces-web`: Added InstanceType and
MaxConcurrentSessions parameters on CreatePortal and UpdatePortal
Operations as well as the ability to read Customer Managed Key &
Additional Encryption Context parameters on supported resources (Portal,
BrowserSettings, UserSettings, IPAccessSettings)

###
[`v1.34.89`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13489)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.88...1.34.89)

\=======

- api-change:`bedrock-agent`: Releasing the support for simplified
configuration and return of control
- api-change:`bedrock-agent-runtime`: Releasing the support for
simplified configuration and return of control
- api-change:`payment-cryptography`: Adding support to TR-31/TR-34
exports for optional headers, allowing customers to add additional
metadata (such as key version and KSN) when exporting keys from the
service.
- api-change:`redshift-serverless`: Updates description of schedule
field for scheduled actions.
- api-change:`route53profiles`: Route 53 Profiles allows you to apply a
central DNS configuration across many VPCs regardless of account.
- api-change:`sagemaker`: This release adds support for Real-Time
Collaboration and Shared Space for JupyterLab App on SageMaker Studio.
- api-change:`servicediscovery`: This release adds examples to several
Cloud Map actions.
- api-change:`transfer`: Adding new API to support remote directory
listing using SFTP connector

###
[`v1.34.88`](https://togithub.com/boto/botocore/blob/HEAD/CHANGELOG.rst#13488)

[Compare
Source](https://togithub.com/boto/botocore/compare/1.34.87...1.34.88)

\=======

- api-change:`glue`: Adding RowFilter in the response for
GetUnfilteredTableMetadata API
- api-change:`internetmonitor`: This update introduces the
GetInternetEvent and ListInternetEvents APIs, which provide access to
internet events displayed on the Amazon CloudWatch Internet Weather Map.
- api-change:`personalize`: This releases auto training capability while
creating a solution and automatically syncing latest solution versions
when creating/updating a campaign

</details>

<details>
<summary>nedbat/coveragepy (coverage)</summary>

###
[`v7.5.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-750--2024-04-23)

[Compare
Source](https://togithub.com/nedbat/coveragepy/compare/7.4.4...7.5.0)

- Added initial support for function and class reporting in the HTML
report.
There are now three index pages which link to each other: files,
functions,
and classes. Other reports don't yet have this information, but it will
be
    added in the future where it makes sense.  Feedback gladly accepted!

-   Other HTML report improvements:

- There is now a "hide covered" checkbox to filter out 100% files,
finishing
        `issue 1384`\_.

- The index page is always sorted by one of its columns, with clearer
        indications of the sorting.

- The "previous file" shortcut key didn't work on the index page, but
now it
        does, fixing `issue 1765`\_.

- The debug output showing which configuration files were tried now
shows
absolute paths to help diagnose problems where settings aren't taking
effect,
    and is renamed from "attempted_config_files" to the more logical
    "config_files_attempted."

-   Python 3.13.0a6 is supported.

.. \_issue
1384:[https://github.com/nedbat/coveragepy/issues/1384](https://togithub.com/nedbat/coveragepy/issues/1384)4
.. \_issue
1765[https://github.com/nedbat/coveragepy/issues/1765](https://togithub.com/nedbat/coveragepy/issues/1765)65

.. \_changes\_7-4-4:

</details>

<details>
<summary>python/mypy (mypy)</summary>

###
[`v1.10.0`](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0)

[Compare
Source](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0)

</details>

<details>
<summary>pydantic/pydantic (pydantic)</summary>

###
[`v2.7.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v271-2024-04-23)

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.7.0...v2.7.1)

[GitHub
release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.1)

##### What's Changed

##### Packaging

- Bump `pydantic-core` to `v2.18.2` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9307](https://togithub.com/pydantic/pydantic/pull/9307)

##### New Features

- Ftp and Websocket connection strings support by
[@&#8203;CherrySuryp](https://togithub.com/CherrySuryp) in
[#&#8203;9205](https://togithub.com/pydantic/pydantic/pull/9205)

##### Changes

- Use field description for RootModel schema description when there is
`…` by [@&#8203;LouisGobert](https://togithub.com/LouisGobert) in
[#&#8203;9214](https://togithub.com/pydantic/pydantic/pull/9214)

##### Fixes

- Fix `validation_alias` behavior with `model_construct` for
`AliasChoices` and `AliasPath` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9223](https://togithub.com/pydantic/pydantic/pull/9223)
- Revert `typing.Literal` and import it outside the TYPE_CHECKING block
by [@&#8203;frost-nzcr4](https://togithub.com/frost-nzcr4) in
[#&#8203;9232](https://togithub.com/pydantic/pydantic/pull/9232)
- Fix `Secret` serialization schema, applicable for unions by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9240](https://togithub.com/pydantic/pydantic/pull/9240)
- Fix `strict` application to `function-after` with `use_enum_values` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9279](https://togithub.com/pydantic/pydantic/pull/9279)
- Address case where `model_construct` on a class which defines
`model_post_init` fails with `AttributeError` by
[@&#8203;babygrimes](https://togithub.com/babygrimes) in
[#&#8203;9168](https://togithub.com/pydantic/pydantic/pull/9168)
- Fix `model_json_schema` with config types by
[@&#8203;NeevCohen](https://togithub.com/NeevCohen) in
[#&#8203;9287](https://togithub.com/pydantic/pydantic/pull/9287)
- Support multiple zeros as an `int` by
[@&#8203;samuelcolvin](https://togithub.com/samuelcolvin) in
[pydantic/pydantic-core#1269](https://togithub.com/pydantic/pydantic-core/pull/1269)
- Fix validation of `int`s with leading unary plus by
[@&#8203;cknv](https://togithub.com/cknv) in
[pydantic/pydantic-core#1272](https://togithub.com/pydantic/pydantic-core/pull/1272)
- Fix interaction between `extra != 'ignore'` and `from_attributes=True`
by [@&#8203;davidhewitt](https://togithub.com/davidhewitt) in
[pydantic/pydantic-core#1276](https://togithub.com/pydantic/pydantic-core/pull/1276)
- Handle error from `Enum`'s `missing` function as `ValidationError` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[pydantic/pydantic-core#1274](https://togithub.com/pydantic/pydantic-core/pull/1754)
- Fix memory leak with `Iterable` validation by
[@&#8203;davidhewitt](https://togithub.com/davidhewitt) in
[pydantic/pydantic-core#1271](https://togithub.com/pydantic/pydantic-core/pull/1751)

##### New Contributors

- [@&#8203;zzstoatzz](https://togithub.com/zzstoatzz) made their first
contribution in
[#&#8203;9219](https://togithub.com/pydantic/pydantic/pull/9219)
- [@&#8203;frost-nzcr4](https://togithub.com/frost-nzcr4) made their
first contribution in
[#&#8203;9232](https://togithub.com/pydantic/pydantic/pull/9232)
- [@&#8203;CherrySuryp](https://togithub.com/CherrySuryp) made their
first contribution in
[#&#8203;9205](https://togithub.com/pydantic/pydantic/pull/9205)
- [@&#8203;vagenas](https://togithub.com/vagenas) made their first
contribution in
[#&#8203;9268](https://togithub.com/pydantic/pydantic/pull/9268)
- [@&#8203;ollz272](https://togithub.com/ollz272) made their first
contribution in
[#&#8203;9262](https://togithub.com/pydantic/pydantic/pull/9262)
- [@&#8203;babygrimes](https://togithub.com/babygrimes) made their first
contribution in
[#&#8203;9168](https://togithub.com/pydantic/pydantic/pull/9168)
- [@&#8203;swelborn](https://togithub.com/swelborn) made their first
contribution in
[#&#8203;9296](https://togithub.com/pydantic/pydantic/pull/9296)
- [@&#8203;kf-novi](https://togithub.com/kf-novi) made their first
contribution in
[#&#8203;9236](https://togithub.com/pydantic/pydantic/pull/9236)
- [@&#8203;lgeiger](https://togithub.com/lgeiger) made their first
contribution in
[#&#8203;9288](https://togithub.com/pydantic/pydantic/pull/9288)

</details>

<details>
<summary>astral-sh/ruff (ruff)</summary>

###
[`v0.4.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#042)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.4.1...v0.4.2)

##### Rule changes

- \[`flake8-pyi`] Allow for overloaded `__exit__` and `__aexit__`
definitions (`PYI036`)
([#&#8203;11057](https://togithub.com/astral-sh/ruff/pull/11057))
- \[`pyupgrade`] Catch usages of `"%s" % var` and provide an unsafe fix
(`UP031`)
([#&#8203;11019](https://togithub.com/astral-sh/ruff/pull/11019))
- \[`refurb`] Implement new rule that suggests min/max over `sorted()`
(`FURB192`)
([#&#8203;10868](https://togithub.com/astral-sh/ruff/pull/10868))

##### Server

- Fix an issue with missing diagnostics for Neovim and Helix
([#&#8203;11092](https://togithub.com/astral-sh/ruff/pull/11092))
- Implement hover documentation for `noqa` codes
([#&#8203;11096](https://togithub.com/astral-sh/ruff/pull/11096))
- Introduce common Ruff configuration options with new server settings
([#&#8203;11062](https://togithub.com/astral-sh/ruff/pull/11062))

##### Bug fixes

- Use `macos-12` for building release wheels to enable macOS 11
compatibility
([#&#8203;11146](https://togithub.com/astral-sh/ruff/pull/11146))
- \[`flake8-blind-expect`] Allow raise from in `BLE001`
([#&#8203;11131](https://togithub.com/astral-sh/ruff/pull/11131))
- \[`flake8-pyi`] Allow simple assignments to `None` in enum class
scopes (`PYI026`)
([#&#8203;11128](https://togithub.com/astral-sh/ruff/pull/11128))
- \[`flake8-simplify`] Avoid raising `SIM911` for non-`zip` attribute
calls ([#&#8203;11126](https://togithub.com/astral-sh/ruff/pull/11126))
- \[`refurb`] Avoid `operator.itemgetter` suggestion for single-item
tuple ([#&#8203;11095](https://togithub.com/astral-sh/ruff/pull/11095))
- \[`ruff`] Respect per-file-ignores for `RUF100` with no other
diagnostics
([#&#8203;11058](https://togithub.com/astral-sh/ruff/pull/11058))
- \[`ruff`] Fix async comprehension false positive (`RUF029`)
([#&#8203;11070](https://togithub.com/astral-sh/ruff/pull/11070))

##### Documentation

- \[`flake8-bugbear`] Document explicitly disabling strict zip (`B905`)
([#&#8203;11040](https://togithub.com/astral-sh/ruff/pull/11040))
- \[`flake8-type-checking`] Mention `lint.typing-modules` in `TCH001`,
`TCH002`, and `TCH003`
([#&#8203;11144](https://togithub.com/astral-sh/ruff/pull/11144))
- \[`isort`] Improve documentation around custom `isort` sections
([#&#8203;11050](https://togithub.com/astral-sh/ruff/pull/11050))
- \[`pylint`] Fix documentation oversight for `invalid-X-returns`
([#&#8203;11094](https://togithub.com/astral-sh/ruff/pull/11094))

##### Performance

- Use `matchit` to resolve per-file settings
([#&#8203;11111](https://togithub.com/astral-sh/ruff/pull/11111))

###
[`v0.4.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#041)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.4.0...v0.4.1)

##### Preview features

- \[`pylint`] Implement `invalid-hash-returned` (`PLE0309`)
([#&#8203;10961](https://togithub.com/astral-sh/ruff/pull/10961))
- \[`pylint`] Implement `invalid-index-returned` (`PLE0305`)
([#&#8203;10962](https://togithub.com/astral-sh/ruff/pull/10962))

##### Bug fixes

- \[`pylint`] Allow `NoReturn`-like functions for `__str__`, `__len__`,
etc. (`PLE0307`)
([#&#8203;11017](https://togithub.com/astral-sh/ruff/pull/11017))
- Parser: Use empty range when there's "gap" in token source
([#&#8203;11032](https://togithub.com/astral-sh/ruff/pull/11032))
- \[`ruff`] Ignore stub functions in `unused-async` (`RUF029`)
([#&#8203;11026](https://togithub.com/astral-sh/ruff/pull/11026))
- Parser: Expect indented case block instead of match stmt
([#&#8203;11033](https://togithub.com/astral-sh/ruff/pull/11033))

###
[`v0.4.0`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#040)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.3.7...v0.4.0)

##### A new, hand-written parser

Ruff's new parser is **>2x faster**, which translates to a **20-40%
speedup** for all linting and formatting invocations.
There's a lot to say about this exciting change, so check out the [blog
post](https://astral.sh/blog/ruff-v0.4.0) for more details!

See [#&#8203;10036](https://togithub.com/astral-sh/ruff/pull/10036) for
implementation details.

##### A new language server in Rust

With this release, we also want to highlight our new language server.
`ruff server` is a Rust-powered language
server that comes built-in with Ruff. It can be used with any editor
that supports the [Language Server
Protocol](https://microsoft.github.io/language-server-protocol/) (LSP).
It uses a multi-threaded, lock-free architecture inspired by
`rust-analyzer` and it will open the door for a lot
of exciting features. It’s also faster than our previous [Python-based
language server](https://togithub.com/astral-sh/ruff-lsp)
\-- but you probably guessed that already.

`ruff server` is only in alpha, but it has a lot of features that you
can try out today:

- Lints Python files automatically and shows quick-fixes when available
-   Formats Python files, with support for range formatting
- Comes with commands for quickly performing actions:
`ruff.applyAutofix`, `ruff.applyFormat`, and `ruff.applyOrganizeImports`
-   Supports `source.fixAll` and `source.organizeImports` source actions
-   Automatically reloads your project configuration when you change it

To setup `ruff server` with your editor, refer to the
[README.md](https://togithub.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md).

##### Preview features

- \[`pycodestyle`] Do not trigger `E3` rules on `def`s following a
function/method with a dummy body
([#&#8203;10704](https://togithub.com/astral-sh/ruff/pull/10704))
- \[`pylint`] Implement `invalid-bytes-returned` (`E0308`)
([#&#8203;10959](https://togithub.com/astral-sh/ruff/pull/10959))
- \[`pylint`] Implement `invalid-length-returned` (`E0303`)
([#&#8203;10963](https://togithub.com/astral-sh/ruff/pull/10963))
- \[`pylint`] Implement `self-cls-assignment` (`W0642`)
([#&#8203;9267](https://togithub.com/astral-sh/ruff/pull/9267))
- \[`pylint`] Omit stubs from `invalid-bool` and
`invalid-str-return-type`
([#&#8203;11008](https://togithub.com/astral-sh/ruff/pull/11008))
- \[`ruff`] New rule `unused-async` (`RUF029`) to detect unneeded
`async` keywords on functions
([#&#8203;9966](https://togithub.com/astral-sh/ruff/pull/9966))

##### Rule changes

- \[`flake8-bandit`] Allow `urllib.request.urlopen` calls with static
`Request` argument (`S310`)
([#&#8203;10964](https://togithub.com/astral-sh/ruff/pull/10964))
- \[`flake8-bugbear`] Treat `raise NotImplemented`-only bodies as stub
functions (`B006`)
([#&#8203;10990](https://togithub.com/astral-sh/ruff/pull/10990))
- \[`flake8-slots`] Respect same-file `Enum` subclasses (`SLOT000`)
([#&#8203;11006](https://togithub.com/astral-sh/ruff/pull/11006))
- \[`pylint`] Support inverted comparisons (`PLR1730`)
([#&#8203;10920](https://togithub.com/astral-sh/ruff/pull/10920))

##### Linter

- Improve handling of builtin symbols in linter rules
([#&#8203;10919](https://togithub.com/astral-sh/ruff/pull/10919))
- Improve display of rules in `--show-settings`
([#&#8203;11003](https://togithub.com/astral-sh/ruff/pull/11003))
- Improve inference capabilities of the `BuiltinTypeChecker`
([#&#8203;10976](https://togithub.com/astral-sh/ruff/pull/10976))
- Resolve classes and functions relative to script name
([#&#8203;10965](https://togithub.com/astral-sh/ruff/pull/10965))
- Improve performance of `RuleTable::any_enabled`
([#&#8203;10971](https://togithub.com/astral-sh/ruff/pull/10971))

##### Server

*This section is devoted to updates for our new language server, written
in Rust.*

- Enable ruff-specific source actions
([#&#8203;10916](https://togithub.com/astral-sh/ruff/pull/10916))
- Refreshes diagnostics for open files when file configuration is
changed
([#&#8203;10988](https://togithub.com/astral-sh/ruff/pull/10988))
- Important errors are now shown as popups
([#&#8203;10951](https://togithub.com/astral-sh/ruff/pull/10951))
- Introduce settings for directly configuring the linter and formatter
([#&#8203;10984](https://togithub.com/astral-sh/ruff/pull/10984))
- Resolve configuration for each document individually
([#&#8203;10950](https://togithub.com/astral-sh/ruff/pull/10950))
- Write a setup guide for Neovim
([#&#8203;10987](https://togithub.com/astral-sh/ruff/pull/10987))

##### Configuration

- Add `RUFF_OUTPUT_FILE` environment variable support
([#&#8203;10992](https://togithub.com/astral-sh/ruff/pull/10992))

##### Bug fixes

- Avoid `non-augmented-assignment` for reversed, non-commutative
operators (`PLR6104`)
([#&#8203;10909](https://togithub.com/astral-sh/ruff/pull/10909))
- Limit commutative non-augmented-assignments to primitive data types
(`PLR6104`)
([#&#8203;10912](https://togithub.com/astral-sh/ruff/pull/10912))
- Respect `per-file-ignores` for `RUF100` on blanket `# noqa`
([#&#8203;10908](https://togithub.com/astral-sh/ruff/pull/10908))
- Consider `if` expression for parenthesized with items parsing
([#&#8203;11010](https://togithub.com/astral-sh/ruff/pull/11010))
- Consider binary expr for parenthesized with items parsing
([#&#8203;11012](https://togithub.com/astral-sh/ruff/pull/11012))
- Reset `FOR_TARGET` context for all kinds of parentheses
([#&#8203;11009](https://togithub.com/astral-sh/ruff/pull/11009))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on the 2nd and 4th day instance on
sunday after 9pm" in timezone America/New_York, 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/HHS/simpler-grants-gov).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed html
Projects
None yet
Development

No branches or pull requests

2 participants