René's URL Explorer Experiment


Title: chore(deps): Bump attrs from 20.3.0 to 21.1.0 by dependabot[bot] · Pull Request #12 · P1sec/openapi-python-client · GitHub

Open Graph Title: chore(deps): Bump attrs from 20.3.0 to 21.1.0 by dependabot[bot] · Pull Request #12 · P1sec/openapi-python-client

X Title: chore(deps): Bump attrs from 20.3.0 to 21.1.0 by dependabot[bot] · Pull Request #12 · P1sec/openapi-python-client

Description: Bumps attrs from 20.3.0 to 21.1.0. Release notes Sourced from attrs's releases. 21.1.0 I am extremely excited to announce the release of attrs 21.1.0. attrs is the direct ancestor of – and the inspiration for – dataclasses in the standard library and remains the more powerful option for creating regular classes without getting bogged down with writing identical boilerplate again and again: https://www.attrs.org/ Heartfelt thanks go to my generous GitHub sponsors, companies subscribing to attrs on Tidelift, and people who bought me a coffee on Ko-fi! Support like that makes me work on FOSS on a Saturday afternoon – especially when a release drags itself like this one! <3 While this release took a bit longer than I wished for, it comes with many exciting changes. The highlights alone are longer than a usual changelog: The next-generation APIs (@attr.define, @attr.mutable, @attr.frozen, @attr.field) are deemed stable now. The old ones aren't going anywhere, but I encourage you to check the new ones out – they're much nicer! pyright and pylance support: Eric Traut of Microsoft was kind enough to involve me in their work on the dataclass_transforms spec. As a result, Microsoft's type checker pyright will work with this attrs release, and so will their Python language server pylance which should be exciting to VS Code users. Currently it only supports a subset of attrs's features, but it's the most important ones and more will most likely follow. Some of the limitations are documented in our documentation on type annotations. Customization of field comparison. This is something especially NumPy users have been asking for for a long time: you can now fully customize how a field is compared. We also ship a helper to avoid boilerplate code. So if you'd like to have an object with a NumPy array that compares correctly, this is the way: import attr import numpy @​attr.define class C: an_array = attr.field(eq=attr.cmp_using(eq=numpy.array_equal)) Check out the new documentation on comparison for details. To make it more ergonomic, I've decided to un-deprecate the cmp argument again, so you can customize eq and order in one go. Sorry about the trouble! The cmp attribute remains deprecated. New powerful __init__ helpers: If attrs deduces you don't want it to write a __init__ for you, it will create an __attrs_init__ instead that you can call from your custom __init__. If attrs finds a __attrs_pre_init__, it will call it without any arguments before doing any initializations. This is really only useful if you want to run super().__init__(), but that's a use-case people have asked for for years! See Hooking Yourself Into Initialization for details. In preparation for the (rescinded) plan to make from __future__ import annotations the default in Python 3.10, attr.resolve_types() can now also be used to resolve types inside of field_transformers. A Look Ahead For the next release we've got even bigger plans! By stabilizing the next-generation APIs we can finally go the last step, I've been talking for years (yeah, sorry): import attrs. attrs's playful APIs (@attr.s, @attr.ib) lost a bit of their charm as the scope of the package grew – especially after the introduction of type annotations. While the old APIs aren't going anywhere, in the next feature release there will be additionally an attrs package that you can use as an alternative to attr. No more attr.Factory! The new package gives us the opportunity to rethink the defaults of some functions. So if you have any pet peeves, please air them on #487. Full Changelog ... (truncated) Changelog Sourced from attrs's changelog. 21.1.0 (2021-05-06) Deprecations ^^^^^^^^^^^^ The long-awaited, much-talked-about, little-delivered import attrs is finally upon us! Since the NG APIs have now been proclaimed stable, the next release of attrs will allow you to actually import attrs. We're taking this opportunity to replace some defaults in our APIs that made sense in 2015, but don't in 2021. So please, if you have any pet peeves about defaults in attrs's APIs, now is the time to air your grievances in #487! We're not gonna get such a chance for a second time, without breaking our backward-compatibility guarantees, or long deprecation cycles. Therefore, speak now or forever hold you peace! [#487](https://github.com/python-attrs/attrs/issues/487) _ The cmp argument to attr.s() and attr.ib() has been undeprecated It will continue to be supported as syntactic sugar to set eq and order in one go. I'm terribly sorry for the hassle around this argument! The reason we're bringing it back is it's usefulness regarding customization of equality/ordering. The cmp attribute and argument on attr.Attribute remains deprecated and will be removed later this year. [#773](https://github.com/python-attrs/attrs/issues/773) _ Changes ^^^^^^^ It's now possible to customize the behavior of eq and order by passing in a callable. [#435](https://github.com/python-attrs/attrs/issues/435) , [#627](https://github.com/python-attrs/attrs/issues/627) The instant favorite next-generation APIs _ are not provisional anymore! They are also officially supported by Mypy as of their 0.800 release _. We hope the next release will already contain an (additional) importable package called attrs. [#668](https://github.com/python-attrs/attrs/issues/668) , [#786](https://github.com/python-attrs/attrs/issues/786) If an attribute defines a converter, the type of its parameter is used as type annotation for its corresponding __init__ parameter. If an attr.converters.pipe is used, the first one's is used. [#710](https://github.com/python-attrs/attrs/issues/710) _ Fixed the creation of an extra slot for an attr.ib when the parent class already has a slot with the same name. [#718](https://github.com/python-attrs/attrs/issues/718) _ __attrs__init__() will now be injected if init=False, or if auto_detect=True and a user-defined __init__() exists. This enables users to do "pre-init" work in their __init__() (such as super().__init__()). __init__() can then delegate constructor argument processing to self.__attrs_init__(*args, **kwargs). [#731](https://github.com/python-attrs/attrs/issues/731) _ ... (truncated) Commits b22195e Prepare 21.1.0 c5ae43f Pin towncrier 503164f Fix changelog template for towncrier 21.3.0 fbed032 Revert last change, the string is consistent w/ total_ordering 2f395f1 Make docstring consistent with the rest f41db43 Unpin pyright & minor docs polish 16f7a0d Make #796 newsfragment more timeless eb2df7f Add announcement about import attrs c6f6bb3 Revert "Pin 3.10 to last alpha (#802)" 7e372c5 Implement pyright support via dataclass_transforms (#796) Additional commits viewable in compare view 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)

Open Graph Description: Bumps attrs from 20.3.0 to 21.1.0. Release notes Sourced from attrs's releases. 21.1.0 I am extremely excited to announce the release of attrs 21.1.0. attrs is the direct ancestor of – and th...

X Description: Bumps attrs from 20.3.0 to 21.1.0. Release notes Sourced from attrs&#39;s releases. 21.1.0 I am extremely excited to announce the release of attrs 21.1.0. attrs is the direct ancestor of – an...

Opengraph URL: https://github.com/P1sec/openapi-python-client/pull/12

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3b7257fd-b473-eda7-94b5-4074293c465a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA29A:247D5D:4538A5A:5EFB241:6980D5A9
html-safe-nonce874af947b4c9a4bdcee68ab79c6ae63532a95b3f166630b22b85a919fc03f83c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjlBOjI0N0Q1RDo0NTM4QTVBOjVFRkIyNDE6Njk4MEQ1QTkiLCJ2aXNpdG9yX2lkIjoiNjM3ODM5ODIxMjk5NDE2MDA0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac092a909556e4ca41b89d79fa5d826579318aec5517983dec0dd995aae9b74f70
hovercard-subject-tagpull_request:632400041
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/P1sec/openapi-python-client/pull/12/files
twitter:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/29110?s=400&v=4
og:image:altBumps attrs from 20.3.0 to 21.1.0. Release notes Sourced from attrs's releases. 21.1.0 I am extremely excited to announce the release of attrs 21.1.0. attrs is the direct ancestor of – and th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None17bc0924c8593587ed4a8ae12c6076d0895c5516aaa44daccbb68ede54878b1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/P1sec/openapi-python-client git https://github.com/P1sec/openapi-python-client.git
octolytics-dimension-user_id856786
octolytics-dimension-user_loginP1sec
octolytics-dimension-repository_id343377673
octolytics-dimension-repository_nwoP1sec/openapi-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id240776275
octolytics-dimension-repository_parent_nwoopenapi-generators/openapi-python-client
octolytics-dimension-repository_network_root_id240776275
octolytics-dimension-repository_network_root_nwoopenapi-generators/openapi-python-client
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release602fb6e6fec65cf4baabc1305db1830bc609c154
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FP1sec%2Fopenapi-python-client%2Fpull%2F12%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FP1sec%2Fopenapi-python-client%2Fpull%2F12%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=P1sec%2Fopenapi-python-client
Reloadhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
Reloadhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
Reloadhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
P1sec https://patch-diff.githubusercontent.com/P1sec
openapi-python-clienthttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client
openapi-generators/openapi-python-clienthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FP1sec%2Fopenapi-python-client
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FP1sec%2Fopenapi-python-client
Star 1 https://patch-diff.githubusercontent.com/login?return_to=%2FP1sec%2Fopenapi-python-client
Code https://patch-diff.githubusercontent.com/P1sec/openapi-python-client
Pull requests 11 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pulls
Actions https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/actions
Projects 0 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/projects
Security 0 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pulse
Code https://patch-diff.githubusercontent.com/P1sec/openapi-python-client
Pull requests https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pulls
Actions https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/actions
Projects https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/projects
Security https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FP1sec%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FP1sec%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
dependabothttps://patch-diff.githubusercontent.com/apps/dependabot
mainhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/tree/main
dependabot/pip/attrs-21.1.0https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/tree/dependabot/pip/attrs-21.1.0
Conversation 1 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12
Commits 1 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/commits
Checks 0 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/checks
Files changed https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
Please reload this pagehttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
chore(deps): Bump attrs from 20.3.0 to 21.1.0 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
5e9cc7c chore(deps): Bump attrs from 20.3.0 to 21.1.0 dependabot[bot] May 7, 2021 https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/commits/5e9cc7c65103c07b67b8923cbbd1f8514c37786a
Clear filters https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
Please reload this pagehttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
Please reload this pagehttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
poetry.lock https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89
pyproject.toml https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
poetry.lockhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89
View file https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/blob/5e9cc7c65103c07b67b8923cbbd1f8514c37786a/poetry.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files
pyproject.tomlhttps://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/blob/5e9cc7c65103c07b67b8923cbbd1f8514c37786a/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://patch-diff.githubusercontent.com/P1sec/openapi-python-client/pull/12/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.