Solutions to CSAW 2022

Now that the challenge is over can organizers / other teams upload solutions? Also do the organizers plan on releasing solutions?

@cgouert @TrustworthyComputing Please provide the solutions


Batch/cmd file icon proposal

Hi and thanks for great set of icons!
However, currently batch/cmd files are somewhat hard to distinguish rapidly from other grayish icons. Therefore, I'd suggest that the icon for this type of files could be e.g. same as PowerShell but with black background color instead of blue and maybe having same text inside the icon as standard windows 7 cmd icon: "C:\ _" or "CMD"?
Best regards,
IL

When I started working on this theme, I had some kind of bug when overriding icons for light themes, which is why these icons are grey : it works for both light and dark themes. However, I just tested again and it looks like the bug has been solved since then, so I'll happily make the CMD icon black/white for light/dark themes.

These look definitely more clear than the current ones! However, what I had
in mind was kind of replacing the icon with something that could be similar
to Powershell icon but in white and black.. or just something that really
looks like the cmd window itself, that would be awesome! I have just
snipped few examples below of what I had in mind, if there anything
considerable in design. Thanks tho for the super fast answer and solution
already! 👍
[image: Tekstiin lisättävä kuva 2]
2017-03-13 17:39 GMT+02:00 LaurentTreguier<EMAIL_ADDRESS>
[image: image]
https://cloud.githubusercontent.com/assets/7602755/23861803/769a994a-080b-11e7-86ea-5a6e87464ab5.png
[image: image]
https://cloud.githubusercontent.com/assets/7602755/23861819/835ae34c-080b-11e7-9d5e-90dc6db48c85.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286146036,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRP-qZgkYuHfaCNMnyOJIFamRMj4ITks5rlWM_gaJpZM4MbPlU
.

I think the image wasn't uploaded correctly, all I see is [image: Tekstiin lisättävä kuva 2]

Thanks for noting about this! It might be because I pasted the image from
clipboard. I hope you could see the examples now, as I've attached them
"the normal way". These icons are not created by me, I've just picked them
up from Windows OS / internet to show what I'm thinking.
2017-03-14 9:23 GMT+02:00 LaurentTreguier<EMAIL_ADDRESS>
I think the image wasn't uploaded correctly, all I see is [image:
Tekstiin lisättävä kuva 2]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286341830,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRP6TJfd-38B35yCZoN_hkYSJfjLD4ks5rlkBngaJpZM4MbPlU
.

Have you edited your comment ? I still don't see any images 😕

That's weird! I have edited and this time I attached the images in the
message the traditional way. Let me store these in my GDrive, see the links
below:
https://drive.google.com/file/d/0B_-fZGouhvMcTlZPaV96MHhTdGJscjBXdWVUY3FJUlNyUXhB/view?usp=sharing
https://drive.google.com/file/d/0B_-fZGouhvMccjhOejJ1SlVScVBRaWFfQVAwZTRobGRqYlFZ/view?usp=sharing
https://drive.google.com/file/d/0B_-fZGouhvMcYWVnMjNkSDk0TnB5UlZLYnNCNTVGVFFyZllN/view?usp=sharing
2017-03-14 20:37 GMT+02:00 LaurentTreguier<EMAIL_ADDRESS>
Have you edited your comment ? I still don't see any images 😕
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286519270,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRPzxvyWPc2g6LeAH40sEv8MUSFFtDks5rlt5hgaJpZM4MbPlU
.

Okay, now I can see them alright, I'll see what I can make up

Great! Looking forward to hearing about it! 😉
2017-03-14 21:00 GMT+02:00 LaurentTreguier<EMAIL_ADDRESS>
Okay, now I can see them alright, I'll see what I can make up
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286526308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRPwfv7chBdbpQQ7Jd7uAhCQBAjYe0ks5rluPWgaJpZM4MbPlU
.

Amazing work, thank you! Those are now looking much distinguishable
compared to previous ones! Are you going to implement those?
On Mar 14, 2017 21:44, "LaurentTreguier"<EMAIL_ADDRESS>wrote:

[image: image]
https://cloud.githubusercontent.com/assets/7602755/23919410/0cccb13c-08f7-11e7-99a3-f489e130b32c.png
[image: image]
https://cloud.githubusercontent.com/assets/7602755/23919417/116c7614-08f7-11e7-83fc-103fe4fc58ee.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286537887,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRP0qfNl_b6KGLl-nJdOBftLnoB8p4ks5rlu43gaJpZM4MbPlU
.

If that satisfies you, then yes ; I think I'll also make the shellscript icons like this, with the >_ instead of C:\ and the pixels for the window control buttons on the left side instead of the right side

I still have a question :

Is it better with or without transparency ? (it might be hard to compare the two against Github's white background though)

I somehow like the one on the bottom (a.sh). For me it's sharpest looking
and therefore fast and easy to recognize.
2017-03-15 10:32 GMT+02:00 LaurentTreguier<EMAIL_ADDRESS>
I still have a question :
[image: image]
https://cloud.githubusercontent.com/assets/7602755/23939567/989749a6-0961-11e7-9a0a-7486f6f267eb.png
Is it better with or without transparency ? (it might be hard to compare
the two against Github's white background though)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LaurentTreguier/vscode-simple-icons/issues/10#issuecomment-286673602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZKRP75f7h0JarDZCb44UZ9WaMZiOtxqks5rl6IFgaJpZM4MbPlU
.

I have to say I feel the same. I prefer having a plain icon rather than an overly transparent one.

Closed by ad2b07b2b248aad6fca7e0b3a8feb7544986268f and 4a58e14ebbd05968dc18d271b48028aee4122d78


Update man pages and output for kpod images

The size had a precision of 4, but wanted a precision of 3
to match the output of docker images
Updated the man page with more examples
Vendored in new version of docker/go-units to allow
for customized precisions
Signed-off-by: umohnani8<EMAIL_ADDRESS>

@rhatdan @mheon PTAL

@umohnani8 Cleanup whitespace errors.

Changes LGTM, tests are unhappy.  Thanks for the man page touch ups!

LGTM

@rh-atomic-bot r+


Generated links not working.

Describe the bug
The generated links by typedoc have the interfaces/types/etc... in the casing they are present in the source code and also have the extension (.md), meanwhile in starlight the paths are all normalized (lower cased) and do not have the .md extension present, this makes it so the links just do not work and redirect to 404.
I have also noticed that if typeDoc.publicPath is not the same as the output the links will redirect to the base domain which also results in 404.
To Reproduce
1- have the following:
// A.ts
import type { B } from "./B";

export interface A {
  a: string;
  b: B
}

// B.ts
export type B = number | bigint

2- Use createStarlightTypeDocPlugin() and pass A.ts as your entry point to function returned.
Expected behavior
I would expect the links to just work but they dont and i havent found any work around.
How often does this bug happen?
Every time
System Info

OS - Linux <IP_ADDRESS>-microsoft-standard-WSL2 x86_64 x86_64
Browser - Google Chrome 123.0.6312.106 (Official Build) (64-bit) (cohort: Stable)
Astro version - 4.5.16
Starlight version - 0.21.4
Starlight Typedoc version - 0.10.0
Typedoc version - 0.25.12
Typedoc Markdown version - 4.0.0-next-54

Additional Context
No response

Thanks for your report :raised_hands:
Would you be able to provide a small repro with the steps you provided above? I tried reproducing using the content you provided and the following configuration which matches your description:
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import { createStarlightTypeDocPlugin } from 'starlight-typedoc'

const [starlightTypeDoc, typeDocSidebarGroup] = createStarlightTypeDocPlugin()

export default defineConfig({
  integrations: [
    starlight({
      plugins: [
        starlightTypeDoc({
          entryPoints: ['../fixtures/test/A.ts'],
          tsconfig: '../fixtures/test/tsconfig.json',
        }),
      ],
      sidebar: [typeDocSidebarGroup],
      title: 'Starlight TypeDoc Example',
    }),
  ],
})

Unfortunately, I wasn't able to reproduce the issue.

My best guess is that it might be due to some tsconfig option.
Unfortunately im not able to provide a simple reproduction at this time, but i will leave the link of my repository thats causing the issue.
https://github.com/Didas-git/lilybird/commit/0536a9eee9b4c63fa2d1275daec1a209da09bfe7
I can try to narrow it down at a later date if thats better 🙏

I made a smaller reproduction of this issue here: https://github.com/Didas-git/typedoc-linking-repro/tree/main/packages/docs
And here some screenshots to illustrate the problem
Sidebar has correct redirect:

Links do not have the correct redirect:

I am facing the same issue on this site.

+1

Thanks for your reproduction, really helped a lot :raised_hands:
I finally tracked down the issue to breaking changes in typedoc-plugin-markdown. This should now be fixed in the version 0.11.0 that I just published and now requires at least the version 4.0.0-next.54 of typedoc-plugin-markdown.

Thank you so much 🎉


Counter in statusline

Anybody have idea how to realize counter in lualine?

Hello @RAprogramm
I assume that you can reuse this function.

Privet @IlyasYOY
Easier said than done. at real time i don't have enough knowledge and skills to rewrite this function to count the numbers of occurrences instead of adding them to the table. (in my head now only - if "TODO" then count++)
esli est' idei kak sdelat eto - podelis'

Easier say than done. At real time I nave not enough knowledge and skills to do that. In my head only - if TODO then count++.
I don't want to make same function as we have in this plugin (because it will be duplicate of code I think) . I want to know how to get a count of already we have a list of todos

I you want to add that to the statusline, then you'll need to create a function that properly throttles those calls. You don't wan to do those searches 100 if times per second.
As suggested, you can use that search function for that, but the implementation is on you.

local function count()
  return require('todo-comments.search').search(
    function(results) print(#results) end
  )
end

print(count())

this will print number of todos.
but this
local function count()
  return require('todo-comments.search').search(
    function(results) return #results end
  )
end

print(count())

will return nothing! why? i need this number and it will done. what is my problem?

That function is asynchronous, so it doesn't work like that


v14.1.20 switch entity fields to protected

SonarQube analysis reported 3 issues

 3 info

Watch the comments in this conversation to review them.
1 extra issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Game.php#L23: Split this 137 characters long line (which is greater than 120 authorized).

coverage reports != failed tests.


TTS models response header is sent as application/json

causing widgets to fail: https://hf.co/julien-c/kan-bayashi_csmsc_tacotron2
Evidenced by:
curl 'https://api-inference.huggingface.co/models/julien-c/kan-bayashi_csmsc_tacotron2' \
  -H 'content-type: application/json' \
  -H 'Accept: */*' \
  --data-raw '{"inputs":"请您说得慢些好吗"}' \
  --compressed -vv

returns a
content-type: application/json

Old cache, issue was solved sometime ago (but modifying the code did not trigger cache flushing).
Purging in progress.
Are there other tts models ? (I checked https://huggingface.co/models?pipeline_tag=text-to-speech but could only find incomplete models or disabled ones)

yes, this one: https://huggingface.co/julien-c/ljspeech_tts_train_tacotron2_raw_phn_tacotron_g2p_en_no_space_train
only those two

Done for this one too.

Thank you! closing this


Import user's organizations from GitHub

[x] Optionally import organizations from GitHub on registration when requested
[x] Ability to logout users
[x] Support revoking API tokens for users

Fixed by https://github.com/banzaicloud/pipeline/pull/332


Store denormalization failing to resolve object connections

// List page query
const flightsQuery = `
  query (
    $fromDate: String!
    $toDate: String!
    $first: Int
  ) {
    flights(
      fromDate: $fromDate
      toDate: $toDate
      first: $first
    ) {
      id
      cursor
      status
    }
  }
`

// Detail page query
const flightQuery = `
  query (
    $id: ID
  ) {
    flight(id: $id) {
      id
      departure {
        id
        airportName
      }
      arrival {
        id
        airportName
      }
    }
  }
`

// Store contents
"entities": {
  "Flight": {
    "dy310-osl-tos-20160608": {
      "id": "dy310-osl-tos-20160608",
      "cursor": "dy310-osl-tos-20160608",
      "flightStatus": null,
      "departure": "DepartureStatus:OSL2016-06-08T07:20:00Z",
      "arrival": "ArrivalStatus:TOS2016-06-08T10:10:00Z"
    },
  },
  "DepartureStatus": {
    "OSL2016-06-08T07:20:00Z": {
      "id": "OSL2016-06-08T07:20:00Z",
      "airportName": "Oslo"
    }
  },
  "ArrivalStatus": {
    "TOS2016-06-08T10:10:00Z": {
      "id": "TOS2016-06-08T10:10:00Z",
      "airportName": "Tromsø"
    }
  }
}

Attempting to read `data.flight.arrival.airportName` returns `null`

this one stumps me. Can you replicate the results using the test schema, or share the client schema? I think i'll just have to walk the debugger and see where it fails.

@mattkrick Here's the schema

@mattkrick In 0.6.0 this goes completely ballistic and queries the server with the same query over and over.

@simenbrekken try 0.6.1, i fixed up a small bug that's probably the culprit.
OHHHH, i think it's because i use : as the delimiter.

without the repo i'm kinda flying blind (pun intended), but I think the delimite is the root cause, so we can do 2 things to make sure it doesn't happen again:

change the delimiter to ::
split the delimited string into only 2 parts on ::

In doing so, the only way someone could bork it is if they had :: in one of their GraphQL type names.

@mattkrick I changed my ID generator to use btoa and the problem disappeared. It was a bit unfortunate that I was using dummy ID generation but I think your solution is sound

fixed in published version 0.6.2.
please re-open if it's still giving you trouble


Node position not accurate when parent node is hidden + expandParent is set to true

Describe the Bug
In the nested nodes example I noticed the following issue:
You hide a parent node and enable  expandParent on a child node which is not hidden.
Now you drag the child node and it starts going all over the place.
Currently child nodes are not automatically hidden when a parent node is - should that be the case? Otherwise expandParent should probably be ignored while the parent is hidden I guess.
Your Example Website or App
https://codesandbox.io/s/sandpack-project-forked-8oqeyk?file=/App.js
Steps to Reproduce the Bug or Issue

Open the example
Drag a node
Watch it go all over the place

Expected behavior
Either child nodes are hidden when their parent is hidden or expand parent should be ignored when the parent isn't visible.
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Thanks for the report @bcakmakoglu ! I think we should hide the child nodes.

Is still a bug in the latest version 10.3.6 @bcakmakoglu ?

@moklick No, the issue is fixed. Seems like it didn't have anything to do with hidden nodes but with the expandParent issue from #2181
I'll close this issue then 😄


Unicode for diacritical character.

Is there an explanation why JSON response return unicode for non-English alphabet instead of actual diacritical character?
For example: JSON return Bob Pal\u010di\u010d instead Bob Palčič.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a077afea-0218-d8e3-6112-95ea4bb04501
Version Independent ID: 00ba7831-fe82-4f86-2864-311a7b8375b9
Content: Query Data using the Web API (Common Data Service) - PowerApps
Content Source: powerapps-docs/developer/common-data-service/webapi/query-data-web-api.md
Service: powerapps
GitHub Login: @brandonsimons
Microsoft Alias: jdaly

@chanhlonglu Thanks for creating this issue. Will reach out to the feature dev team to know why this is and let you know.

@chanhlonglu I'm not able to repro this behavior in my instance. Would it be possible for you to share the exact query you are using and the response you see ?

Also, Please try to reproduce using the instructions here: Set up a Postman environment
It sounds like an encoding issue. How are you seeing this?
Postman should show the actual text values sent and returned.

You can close this issue.  As the application I worked on doesn't have encoding feature that's why I have this issue.
If interested to seen this encoding issue in Postman, choose the raw response instead of json.  The raw response will show unencoded character.


Full state backend

FullState Windows Kernel Proxy
Flow
To program windows proxy we majorly deal in two network components:

HostComputeEndpoints They represent a virtual port in vSwitch.
HostComputeLoadBalancers Abstraction which creates VFP rules for Stateful NAT

The idea of fullstate backend is to use a diffstore to maintain state (network objects) and track changes. So we create two diffstores:

endpointStore for tracking hcn.Endpoints
loadBalancerStore for tracking hcn.LoadBalancers

When we process the fullstate callback, we simply add all the required network objects to achieve the desired network data path in diff stores, after consuming the callback we work on deltas tracked by diffstore and create, update and delete objects accordingly.
Files
1. hcn/hcn.go
Interface for calling host compute network calls and its concrete implementation
2. hcn/fake.go
Implementation of the interface for testing
3. hcn/endpoint.go
Endpoint is a user-oriented definition of an HostComputeEndpoint in its entirety.
4. hcn/loadbalancer.go
LoadBalancer is a user-oriented definition of an HostComputeLoadBalancer in its entirety.
5. hcn/network.go
Network is a user-oriented definition of an HostComputeNetwork in its entirety.
6. register.go
Backend registration with KPNG brain
7. store.go

endpointStore maintains state for only remote endpoints
loadBalancerStore maintains state for all load balancers

8. svc_clusterip.go
Logic for programming ClusterIP service for Windows kernel, instead of directly programming the network objects we add all the required objects in diffstore
9. core.go

PreRun()  Setting / initializing things
Callback() KPNG brain calls this callback with a list of ServiceEndpoints (the desired state) which needs to be programmed in the kernel
programHostComputeObjects() This function has side effects, after consuming the callback, this function works on deltas returned by diffstore and programs the kernel accordingly.

/cc @jayunit100

/hold

/hold cancel

ok to merge this guy @aroradaman ?

@jayunit100 yup !
Also, if you are free we can connect tommorow AM to figure out new development environment .. the current AWS EKS environment won't be there for long 😢

/lgtm
/approve

Please make the OWNERS file updates in a separate PR :)

Overall the change LGTM and thank you for adding the extra documentation!
Please make the OWNERS changes as a separate PR and also revert some of the chances to the deployments so they do not target an individual dockerhub account as mentioned above
After these changes we can merge and get a new image built
/lgtm cancel

@marosset I have pushed all the required changes


Support for localisation of country names

Any plans to support localisation of country names?

See https://github.com/Bluefieldscom/intl-tel-input/issues/191


Creating a Google Developer Console project should not be a prerequisite for using this software.

We need to investigate and enumerate possible ways to remove this prerequisite, which is a real deal-breaker for using this script.

From https://cloud.google.com/bigquery/docs/authentication/end-user-installed:

"Save the credentials file to client_secrets.json. This file must be distributed with your app."

Let's double check the safety and go on with distributing the authentication json.

See https://googleapis.github.io/google-api-python-client/docs/oauth-installed.html

This flow is similar to the one shown in the Using OAuth 2.0 for Web Server Applications, but with three differences:

When creating a client ID, you specify that your application is an Installed application. This results in a different value for the redirect_uri parameter.
The client ID and client secret obtained from the API Console are embedded in the source code of your application. In this context, the client secret is obviously not treated as a secret.
The authorization code can be returned to your application in the title bar of the browser or in the query string of an HTTP request to the local host.


[registry][pds-api] Test PDS4 Product Relationships

🟢 Issues Ready For I&T

[ ] https://github.com/NASA-PDS/pds-api/issues/77

📜 Test Plan / Procedure

⚙ Automated Tests

closed per completion of I&T. see testing artifacts here: https://pds-engineering.jpl.nasa.gov/content/build_12.0_it_deliverables


[rcore] Tint Alpha not applied to texture when using BLEND_ALPHA_PREMULTIPLY

Please, before submitting a new issue verify and check:

☑ I tested it on latest raylib version from master branch
☑ I checked there is no similar issue already reported
☑ I checked the documentation on the wiki
☑ My code has no errors or misuse of raylib

Issue description
When using an alpha of any value in a DrawTexture call's tint while the blend mode for premultiplied alpha is enabled, the alpha will not be applied to the image, even if it's 0.
Issue Screenshot
Left is with Premultiplied Alpha on with a tint of (255, 255, 255, 105) (Issue)
Middle is with Premultiplied Alpha off with a tint of (255, 255, 255, 105)
Right is with Premultiplied Alpha on with a tint of WHITE with a shader multiplying the color.rgba by 105

Code Example
BeginBlendMode(BLEND_ALPHA_PREMULTIPLY);
    DrawTexture(texture, posX, posY, (Color){ 255, 255, 255, 105 });
EndBlendMode();

@veins1 What you do and "don't" want to do with premultiplied alphas doesn't change anything. You should still be able to use the tint properly.

@veins1 That's the complete opposite of what premultiplied alpha is.

What's your problem man? Lol. It's not unreasonable to expect the tint alpha to change the image's alpha, and it's not impossible to do. It shouldn't effect most if not all projects, and it's a normal thing you'd find in any game engine or rendering framework with premultiplied alpha and color tints. It's logically expected behaviour vs your flawed logic's behaviour. Ray said he'd make the choice himself in a few months so there's no use arguing over this.

I should add on that I'm fine with it like, not multiplying the color.rgb by tint.a, that's just what I know game engines I've used have done it when you look into the code. But it should most definitely be multiplying color.a by tint.a. Which is the main issue here. If a color has 0 alpha, you 100% should not be seeing that image.

@AITYunivers sincerely, I don't know how it can be addressed, what is your proposed solution? I agree with @veins1 in the mentioned points.

@raysan5 Not really too sure how OpenGL works. But doesn't Raylib have a default fragment shader? Can't you incorporate it into that? Also it could just be a flag in ConfigFlags or a #define. I don't know how you'd do it in compatibility for OpenGL 1.1 though, since iirc that doesn't have fragment shaders.

@AITYunivers If I modify the default shader it would affect all the drawn elements in all cases, I'm afraid I can't do that.

@raysan5 Can't you just check the Blend Mode? That solves the second issue, and by correlation the first issue.

@AITYunivers What do you mean? The blend mode is setup at OpenGL level, afaik, not much options to consider premultiplied textures in there but feel free to investigate that possibility...

@raysan5 The textures are premultiplied on render, right? Do you not store the blend mode from BeginBlendMode?

@AITYunivers Yes but I'm afraid I can't predict if the provided texture by user has alpha premultiplied or not, so I can't apply a solution. What if the provided texture for blending has no premultiplied alpha? If considering the texture as premultiplied it wouldn't work as expected for those cases.
I'm closing this issue because I can't see a way to address it but, please, if you can find a solution feel free to send a Pull-Request for review.

Textures don't just... have premultiplied alpha, that's not how this works.
Premultiplied Alpha is only applied when the blending mode is enabled, and it's applied by OpenGL, not the user. Premultiplied Alpha multiplies the color by the alpha when rendered with the blend mode enabled, it's nothing the user does with their texture.
Raylib has full knowledge of when a texture is going to be drawn with or without premultiplied alpha.

@AITYunivers Sincerely, no idea how to address this issue. Feel free to send a PR to review.


Can Not Install Sparsezoo Using Pip

Describe the bug
Onnx cannot be installed when using pip.
Expected behavior
pip install sparsezoo would work.
Environment
Include all relevant environment information:

OS [e.g. Ubuntu 18.04]: macOS Ventura Version 13.4
Python version [e.g. 3.8]:
SparseZoo version or commit hash [e.g. 0.1.0, f7245c8]:
ML framework version(s) [e.g. torch 1.7.1]:
Other Python package versions [e.g. SparseML, DeepSparse, numpy, ONNX]:
Other relevant environment information [e.g. hardware, CUDA version]:

To Reproduce
Exact steps to reproduce the behavior:
pip install sparsezoo in a new venv
Errors
If applicable, add a full print-out of any errors or exceptions that are raised or include screenshots to help explain your problem.
  Building wheel for onnx (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for onnx (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [618 lines of output]
      fatal: not a git repository (or any of the parent directories): .git
      running bdist_wheel
      running build
      running build_py
      running create_version
      running cmake_build
      Using cmake args: ['/opt/homebrew/bin/cmake'<EMAIL_ADDRESS>'-DPYTHON_EXECUTABLE=/Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/bin/python3.9', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-39-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada']
      -- The C compiler identification is AppleClang <IP_ADDRESS>30022
      -- The CXX compiler identification is AppleClang <IP_ADDRESS>30022
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found PythonInterp: /Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/bin/python3.9 (found version "3.9.17")
      -- Found PythonLibs: /opt/homebrew/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found version "3.9.17")
      CMake Warning at /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FindProtobuf.cmake:524 (message):
        Protobuf compiler version 23.2 doesn't match library version 4.23.2
      Call Stack (most recent call first):
        CMakeLists.txt:175 (find_package)

      -- Found Protobuf: /opt/homebrew/lib/libprotobuf.dylib (found version "4.23.2")
      Generated: /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.proto
      Generated: /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
      Generated: /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.proto
      -- Could NOT find pybind11 (missing: pybind11_DIR)
      -- pybind11 v2.9.1
      -- Found PythonLibs: /opt/homebrew/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib
      -- Performing Test HAS_FLTO
      -- Performing Test HAS_FLTO - Success
      -- Performing Test HAS_FLTO_THIN
      -- Performing Test HAS_FLTO_THIN - Success
      --
      -- ******** Summary ********
      --   CMake version             : 3.26.4
      --   CMake command             : /opt/homebrew/Cellar/cmake/3.26.4/bin/cmake
      --   System                    : Darwin
      --   C++ compiler              : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
      --   C++ compiler version      : <IP_ADDRESS>30022
      --   CXX flags                 :  -Wnon-virtual-dtor
      --   Build type                : Release
      --   Compile definitions       : __STDC_FORMAT_MACROS
      --   CMAKE_PREFIX_PATH         :
      --   CMAKE_INSTALL_PREFIX      : /usr/local
      --   CMAKE_MODULE_PATH         :
      --
      --   ONNX version              : 1.12.0
      --   ONNX NAMESPACE            : onnx
      --   ONNX_USE_LITE_PROTO       : OFF
      --   USE_PROTOBUF_SHARED_LIBS  : OFF
      --   Protobuf_USE_STATIC_LIBS  : ON
      --   ONNX_DISABLE_EXCEPTIONS   : OFF
      --   ONNX_WERROR               : OFF
      --   ONNX_BUILD_TESTS          : OFF
      --   ONNX_BUILD_BENCHMARKS     : OFF
      --   ONNXIFI_DUMMY_BACKEND     : OFF
      --   ONNXIFI_ENABLE_EXT        : OFF
      --
      --   Protobuf compiler         : /opt/homebrew/bin/protoc
      --   Protobuf includes         : /opt/homebrew/include
      --   Protobuf libraries        : /opt/homebrew/lib/libprotobuf.dylib
      --   BUILD_ONNX_PYTHON         : ON
      --     Python version        :
      --     Python executable     : /Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/bin/python3.9
      --     Python includes<EMAIL_ADDRESS>      -- Configuring done (1.1s)
      -- Generating done (0.0s)
      -- Build files have been written to: /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build
      [  4%] Building C object CMakeFiles/onnxifi_dummy.dir/onnx/onnxifi_dummy.c.o
      [  4%] Running gen_proto.py on onnx/onnx.in.proto
      [  4%] Building C object CMakeFiles/onnxifi_loader.dir/onnx/onnxifi_loader.c.o
      Processing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/onnx/onnx.in.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.proto3
      generating /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx_pb.py
      [  5%] Running C++ protocol buffer compiler on /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.proto
      [  7%] Linking C static library libonnxifi_loader.a
      [  8%] Linking C shared library libonnxifi_dummy.dylib
      [  8%] Built target onnxifi_loader
      [  9%] Building C object CMakeFiles/onnxifi_wrapper.dir/onnx/onnxifi_wrapper.c.o
      [  9%] Built target onnxifi_dummy
      [ 11%] Linking C shared module libonnxifi.dylib
      [ 11%] Built target onnxifi_wrapper
      Failed to generate mypy stubs: No module named 'google'
      [ 11%] Built target gen_onnx_proto
      [ 14%] Running gen_proto.py on onnx/onnx-data.in.proto
      [ 14%] Running gen_proto.py on onnx/onnx-operators.in.proto
      Processing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/onnx/onnx-data.in.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.proto3
      generating /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx_data_pb.py
      Processing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/onnx/onnx-operators.in.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
      Writing /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.proto3
      generating /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx_operators_pb.py
      [ 16%] Running C++ protocol buffer compiler on /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
      [ 16%] Running C++ protocol buffer compiler on /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.proto
      Failed to generate mypy stubs: No module named 'google'
      Failed to generate mypy stubs: No module named 'google'
      [ 16%] Built target gen_onnx_data_proto
      [ 16%] Built target gen_onnx_operators_proto
      [ 21%] Building CXX object CMakeFiles/onnx_proto.dir/onnx/onnx-ml.pb.cc.o
      [ 21%] Building CXX object CMakeFiles/onnx_proto.dir/onnx/onnx-operators-ml.pb.cc.o
      [ 21%] Building CXX object CMakeFiles/onnx_proto.dir/onnx/onnx-data.pb.cc.o
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:11:
      /opt/homebrew/include/google/protobuf/port_def.inc:205:1: error: static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:11:
      /opt/homebrew/include/google/protobuf/port_def.inc:205:1: error: static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:11:
      /opt/homebrew/include/google/protobuf/port_def.inc:205:1: error: static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.ccIn file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc::/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc4::
      4In file included from :
      /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.hIn file included from 4/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:
      :In file included from 24/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h::2424:
      :
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/opt/homebrew/include/google/protobuf/io/coded_stream.h:130:
      In file included from /opt/homebrew/include/google/protobuf/stubs/common.h::In file included from 44130:
      :
      In file included from In file included from /opt/homebrew/include/absl/strings/string_view.h/opt/homebrew/include/google/protobuf/stubs/common.h:39:
      In file included from /opt/homebrew/include/absl/base/attributes.h:/opt/homebrew/include/google/protobuf/io/coded_stream.h37:44:
      :In file included from :
      130In file included from :
      /opt/homebrew/include/absl/base/config.hIn file included from :/opt/homebrew/include/absl/strings/string_view.h/opt/homebrew/include/google/protobuf/stubs/common.h::3944:
      :
      In file included from In file included from /opt/homebrew/include/absl/base/attributes.h/opt/homebrew/include/absl/strings/string_view.h::3739:
      86In file included from :
      /opt/homebrew/include/absl/base/config.h:/opt/homebrew/include/absl/base/policy_checks.h:
      :In file included from 79/opt/homebrew/include/absl/base/attributes.h:862:
      :/opt/homebrew/include/absl/base/policy_checks.h :error: 37"C++ versions less than C++14 are not supported.":

      :79:2:In file included from  /opt/homebrew/include/absl/base/config.herror: :"C++ versions less than C++14 are not supported."86
      :
      /opt/homebrew/include/absl/base/policy_checks.h:79#error "C++ versions less than C++14 are not supported."
       ^
      :#error "C++ versions less than C++14 are not supported."2
      : ^
      error: "C++ versions less than C++14 are not supported."
      #error "C++ versions less than C++14 are not supported."
       ^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h::424:
      :
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h/opt/homebrew/include/google/protobuf/io/coded_stream.h::24130:
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h/opt/homebrew/include/google/protobuf/stubs/common.h130::
      :In file included from 24/opt/homebrew/include/google/protobuf/stubs/common.h:
      :46In file included from :
      /opt/homebrew/include/google/protobuf/io/coded_stream.hIn file included from :/opt/homebrew/include/google/protobuf/stubs/port.h13046::
      45In file included from :
      /opt/homebrew/include/google/protobuf/stubs/port.h:
      In file included from /opt/homebrew/include/google/protobuf/stubs/common.h:46:
      :In file included from 45/opt/homebrew/include/google/protobuf/stubs/port.h:
      :/opt/homebrew/include/google/protobuf/port_def.inc45:205:/opt/homebrew/include/google/protobuf/port_def.inc1:: 205error: :static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."1:
      : /opt/homebrew/include/google/protobuf/port_def.incerror:
      static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      :205:1: error: static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:130In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      :
      In file included from /opt/homebrew/include/google/protobuf/stubs/common.hIn file included from :/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h56::
      24/opt/homebrew/include/google/protobuf/port_def.inc:
      :In file included from 205/opt/homebrew/include/google/protobuf/io/coded_stream.h::1130::
       In file included from error: /opt/homebrew/include/google/protobuf/stubs/common.hstatic_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."In file included from
      /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc::456:
      :
      In file included from /opt/homebrew/include/google/protobuf/port_def.inc/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h::24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:205static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      :1301:
      :In file included from  /opt/homebrew/include/google/protobuf/stubs/common.h^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:
      56:
      /opt/homebrew/include/google/protobuf/port_def.inc:205:error: 1static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer.":
       error: static_assert failed due to requirement '201103L >= 201402L' "Protobuf only supports C++14 and newer."
      static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");

      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      In file included from In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:4:
      /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.ccIn file included from :/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h4::
      /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.ccIn file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h24::
      24In file included from :
      /opt/homebrew/include/google/protobuf/io/coded_stream.hIn file included from :/opt/homebrew/include/google/protobuf/io/coded_stream.h132::
      4In file included from :
      /opt/homebrew/include/absl/log/absl_check.h::13238:
      :
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:24:
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.hIn file included from /opt/homebrew/include/absl/log/absl_check.h/opt/homebrew/include/absl/log/internal/check_impl.h::3819:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/internal/check_impl.h/opt/homebrew/include/absl/log/internal/check_op.h:::132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:193837:
      :
      In file included from :
      /opt/homebrew/include/absl/log/internal/check_impl.hIn file included from :/opt/homebrew/include/absl/log/internal/strip.hIn file included from :/opt/homebrew/include/absl/log/internal/check_op.h24::
      37In file included from :
      /opt/homebrew/include/absl/log/internal/log_message.h19::
      41In file included from :
      /opt/homebrew/include/absl/log/internal/check_op.hIn file included from :/opt/homebrew/include/absl/log/log_entry.h37In file included from :
      /opt/homebrew/include/absl/log/internal/strip.hIn file included from :/opt/homebrew/include/absl/log/internal/strip.h24::
      24In file included from :/opt/homebrew/include/absl/log/internal/log_message.h36::
      41:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/internal/log_message.h/opt/homebrew/include/absl/log/log_entry.h::4136:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/log_entry.h/opt/homebrew/include/absl/types/span.hIn file included from :/opt/homebrew/include/absl/types/span.h69::
      :/opt/homebrew/include/absl/types/internal/span.h36::
      In file included from /opt/homebrew/include/absl/types/span.h:69:
      69:
      /opt/homebrew/include/absl/types/internal/span.h/opt/homebrew/include/absl/types/internal/span.h:119::11921::21 : error: error: no template named 'remove_const_t' in namespace 'std'; did you mean simply 'remove_const_t'?
      119no template named 'remove_const_t' in namespace 'std'; did you mean simply 'remove_const_t'?:
      21: error: no template named 'remove_const_t' in namespace 'std'; did you mean simply 'remove_const_t'?
        using Container = std::remove_const_t<T>;  using Container = std::remove_const_t<T>;

                          ^~~~~
        using Container = std::remove_const_t<T>;
                          ^~~~~
                          ^~~~~
      /opt/homebrew/include/absl/meta/type_traits.h:592:1: note: 'remove_const_t' declared here/opt/homebrew/include/absl/meta/type_traits.h
      :/opt/homebrew/include/absl/meta/type_traits.h592::5921::1 :note:  'remove_const_t' declared herenote:
      using remove_const_t = typename std::remove_const<T>::type;
      ^
      'remove_const_t' declared here
      using remove_const_t = typename std::remove_const<T>::type;
      ^
      using remove_const_t = typename std::remove_const<T>::type;
      ^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:24:
      In file included from /opt/homebrew/include/absl/log/internal/log_message.h:41:
      In file included from /opt/homebrew/include/absl/log/log_entry.h:36:
      In file included from /opt/homebrew/include/absl/types/span.h:69:
      /opt/homebrew/include/absl/types/internal/span.h:130:24: error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?
      using EnableIfIsView = std::enable_if_t<IsView<T>::value, int>;
                             ^~~~~
      /opt/homebrew/include/absl/meta/type_traits.h:656:1: note: 'enable_if_t' declared here
      In file included from using enable_if_t = typename std::enable_if<B, T>::type;
      /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc^:
      4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:24:
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/opt/homebrew/include/absl/log/internal/check_op.h::13237:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/absl_check.h/opt/homebrew/include/absl/log/internal/strip.h::3824:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/internal/check_impl.h/opt/homebrew/include/absl/log/internal/log_message.h::1941:
      :
      In file included from In file included from /opt/homebrew/include/absl/log/internal/check_op.h/opt/homebrew/include/absl/log/log_entry.h::3736:
      :
      In file included from In file included from /opt/homebrew/include/absl/types/span.h:69:
      /opt/homebrew/include/absl/types/internal/span.h:130:24: /opt/homebrew/include/absl/log/internal/strip.herror: :no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?24
      :
      In file included from /opt/homebrew/include/absl/log/internal/log_message.h:41:
      In file included from /opt/homebrew/include/absl/log/log_entry.h:36:
      In file included from /opt/homebrew/include/absl/types/span.h:69using EnableIfIsView = std::enable_if_t<IsView<T>::value, int>;:

      /opt/homebrew/include/absl/types/internal/span.h                       ^~~~~:
      130:24: /opt/homebrew/include/absl/meta/type_traits.herror: :no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?656
      :1: note: 'enable_if_t' declared here
      using EnableIfIsView = std::enable_if_t<IsView<T>::value, int>;
                             ^~~~~
      using enable_if_t = typename std::enable_if<B, T>::type;/opt/homebrew/include/absl/meta/type_traits.h
      :^656
      :1: note: 'enable_if_t' declared here
      using enable_if_t = typename std::enable_if<B, T>::type;
      ^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:24:
      In file included from /opt/homebrew/include/absl/log/internal/log_message.h:41:
      In file included from /opt/homebrew/include/absl/log/log_entry.hIn file included from :/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc36::
      4In file included from :
      /opt/homebrew/include/absl/types/span.hIn file included from :/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h69::
      24/opt/homebrew/include/absl/types/internal/span.h:
      :In file included from 133/opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19::
      27In file included from :/opt/homebrew/include/absl/log/internal/check_op.h :error: 37no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?:

      In file included from /opt/homebrew/include/absl/log/internal/strip.h:In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:2424:
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/opt/homebrew/include/absl/log/internal/log_message.h::13241using EnableIfNotIsView = std::enable_if_t<!IsView<T>::value, int>;:

      In file included from                           ^~~~~/opt/homebrew/include/absl/log/log_entry.h
      :36:
      In file included from :
      /opt/homebrew/include/absl/meta/type_traits.h:656:1: /opt/homebrew/include/absl/types/span.hnote: :'enable_if_t' declared here69
      :
      In file included from /opt/homebrew/include/absl/types/internal/span.h/opt/homebrew/include/absl/log/absl_check.h::13338::
      27In file included from :/opt/homebrew/include/absl/log/internal/check_impl.h :using enable_if_t = typename std::enable_if<B, T>::type;error:
      no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?^
      19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:
      37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:24:
      In file included from using EnableIfNotIsView = std::enable_if_t<!IsView<T>::value, int>;/opt/homebrew/include/absl/log/internal/log_message.h
      :                          ^~~~~41
      :
      In file included from /opt/homebrew/include/absl/log/log_entry.h:36:
      In file included from /opt/homebrew/include/absl/meta/type_traits.h/opt/homebrew/include/absl/types/span.h::65669::
      1/opt/homebrew/include/absl/types/internal/span.h:: 133note: :'enable_if_t' declared here27
      : error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?
      using enable_if_t = typename std::enable_if<B, T>::type;
      ^
      using EnableIfNotIsView = std::enable_if_t<!IsView<T>::value, int>;
                                ^~~~~
      /opt/homebrew/include/absl/meta/type_traits.h:656:1: note: 'enable_if_t' declared here
      using enable_if_t = typename std::enable_if<B, T>::type;
      ^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:24:
      In file included from /opt/homebrew/include/absl/log/internal/log_message.h:43:
      /opt/homebrew/include/absl/strings/internal/has_absl_stringify.h:46:8: error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h    T, std::enable_if_t<std::is_void<decltype(AbslStringify(
             ^~~~~
      :24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/opt/homebrew/include/absl/meta/type_traits.h::132656:
      :In file included from 1/opt/homebrew/include/absl/log/absl_check.h:: 38note: :
      'enable_if_t' declared hereIn file included from
      /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:using enable_if_t = typename std::enable_if<B, T>::type;24
      :
      ^In file included from
      /opt/homebrew/include/absl/log/internal/log_message.h:43:
      /opt/homebrew/include/absl/strings/internal/has_absl_stringify.h:46:8: error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?
          T, std::enable_if_t<std::is_void<decltype(AbslStringify(
             ^~~~~
      /opt/homebrew/include/absl/meta/type_traits.h:656:1: note: 'enable_if_t' declared here
      using enable_if_t = typename std::enable_if<B, T>::type;
      ^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:132:
      In file included from /opt/homebrew/include/absl/log/absl_check.h:38:
      In file included from /opt/homebrew/include/absl/log/internal/check_impl.h:19:
      In file included from /opt/homebrew/include/absl/log/internal/check_op.h:37:
      In file included from /opt/homebrew/include/absl/log/internal/strip.h:24:
      In file included from /opt/homebrew/include/absl/log/internal/log_message.h:43:
      /opt/homebrew/include/absl/strings/internal/has_absl_stringify.h:46:8: error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'?
          T, std::enable_if_t<std::is_void<decltype(AbslStringify(
             ^~~~~
      /opt/homebrew/include/absl/meta/type_traits.h:656:1: note: 'enable_if_t' declared here
      using enable_if_t = typename std::enable_if<B, T>::type;
      ^
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:::
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:424:
      :
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h/opt/homebrew/include/google/protobuf/io/coded_stream.h::244:
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h::13424:
      :
      In file included from In file included from /opt/homebrew/include/absl/strings/cord.h134:
      In file included from /opt/homebrew/include/absl/strings/cord.h:/opt/homebrew/include/google/protobuf/io/coded_stream.h::78134:
      78In file included from :
      /opt/homebrew/include/absl/container/inlined_vector.hIn file included from ::
      53In file included from :
      /opt/homebrew/include/absl/strings/cord.hIn file included from :/opt/homebrew/include/absl/container/internal/inlined_vector.h78::
      30In file included from :
      /opt/homebrew/include/absl/container/inlined_vector.hIn file included from /opt/homebrew/include/absl/container/inlined_vector.h/opt/homebrew/include/absl/container/internal/compressed_tuple.h::5340:
      :
      In file included from /opt/homebrew/include/absl/container/internal/inlined_vector.h::5330:
      :
      In file included from In file included from /opt/homebrew/include/absl/container/internal/inlined_vector.h/opt/homebrew/include/absl/container/internal/compressed_tuple.h/opt/homebrew/include/absl/utility/utility.h::164::12:30 :
      error: 40no member named 'in_place_t' in namespace 'std'In file included from /opt/homebrew/include/absl/container/internal/compressed_tuple.h:40:
      :
      /opt/homebrew/include/absl/utility/utility.h/opt/homebrew/include/absl/utility/utility.h::164
      :12: 164error: :no member named 'in_place_t' in namespace 'std'12
      : error: no member named 'in_place_t' in namespace 'std'
      using std::in_place_t;
            ~~~~~^
      using std::in_place_t;using std::in_place_t;

            ~~~~~^      ~~~~~^

      /opt/homebrew/include/absl/utility/utility.h:165:12: error: no member named 'in_place' in namespace 'std'
      using std::in_place;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:165:12: error: no member named 'in_place' in namespace 'std'
      using std::in_place;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:165:12: error: no member named 'in_place' in namespace 'std'
      using std::in_place;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:181:12: error: no member named 'in_place_type' in namespace 'std'
      using std::in_place_type;
            ~~~~~^/opt/homebrew/include/absl/utility/utility.h
      :181:12: error: no member named 'in_place_type' in namespace 'std'
      using std::in_place_type;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:181:12: error: no member named 'in_place_type' in namespace 'std'
      using std::in_place_type;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:182:12: error: no member named 'in_place_type_t' in namespace 'std'
      using std::in_place_type_t;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:182:12: error: no member named 'in_place_type_t' in namespace 'std'
      using std::in_place_type_t;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:182:12: error: no member named 'in_place_type_t' in namespace 'std'
      using std::in_place_type_t;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:198:12: error: no member named 'in_place_index' in namespace 'std'
      using std::in_place_index;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:198:12: error: no member named 'in_place_index' in namespace 'std'
      using std::in_place_index;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:198:12: error: no member named 'in_place_index' in namespace 'std'
      using std::in_place_index;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:199:12: error: no member named 'in_place_index_t' in namespace 'std'
      using std::in_place_index_t;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:199:12: error: no member named 'in_place_index_t' in namespace 'std'
      using std::in_place_index_t;
            ~~~~~^
      /opt/homebrew/include/absl/utility/utility.h:199:12: error: no member named 'in_place_index_t' in namespace 'std'
      using std::in_place_index_t;
            ~~~~~^
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:134:
      In file included from /opt/homebrew/include/absl/strings/cord.h:78:
      In file included from /opt/homebrew/include/absl/container/inlined_vector.h:53In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc:4:
      :
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:24In file included from :
      /opt/homebrew/include/absl/container/internal/inlined_vector.hIn file included from :/opt/homebrew/include/google/protobuf/io/coded_stream.h30::
      134/opt/homebrew/include/absl/container/internal/compressed_tuple.h:
      :In file included from 107/opt/homebrew/include/absl/strings/cord.h::3678::
       In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc:error: 4no type named 'in_place_t' in namespace 'absl':

      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h/opt/homebrew/include/absl/container/inlined_vector.h::2453:
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h/opt/homebrew/include/absl/container/internal/inlined_vector.h::13430:
      :
      In file included from /opt/homebrew/include/absl/container/internal/compressed_tuple.h/opt/homebrew/include/absl/strings/cord.h::10778::
        explicit constexpr Storage(absl::in_place_t, V&& v)In file included from
      /opt/homebrew/include/absl/container/inlined_vector.h                             ~~~~~~^36
      : error: no type named 'in_place_t' in namespace 'absl'
      :53:
      In file included from /opt/homebrew/include/absl/container/internal/inlined_vector.h:30:
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:107:36: error: no type named 'in_place_t' in namespace 'absl'
        explicit constexpr Storage(absl::in_place_t, V&& v)
                                   ~~~~~~^
        explicit constexpr Storage(absl::in_place_t, V&& v)
                                   ~~~~~~^
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h/opt/homebrew/include/absl/container/internal/compressed_tuple.h::120:36: error: no type named 'in_place_t' in namespace 'absl'
      120  explicit constexpr Storage(absl::in_place_t, V&& v)
      :36: error: no type named 'in_place_t' in namespace 'absl'
                                   ~~~~~~^
        explicit constexpr Storage(absl::in_place_t, V&& v)
                                   ~~~~~~^
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:120:36: error: no type named 'in_place_t' in namespace 'absl'
        explicit constexpr Storage(absl::in_place_t, V&& v)
                                   ~~~~~~^
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:143:48: error: no type named 'in_place_t' in namespace 'absl'
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:143:48/opt/homebrew/include/absl/container/internal/compressed_tuple.h  explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args):
      143: error: no type named 'in_place_t' in namespace 'absl'
      :                                         ~~~~~~^
      48: error: no type named 'in_place_t' in namespace 'absl'
        explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
                                               ~~~~~~^
        explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
                                               ~~~~~~^
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:144:24: error: no member named 'in_place' in namespace 'absl'; did you mean 'isspace'?
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:144:24: error: no member named 'in_place' in namespace 'absl'; did you mean 'isspace'?
      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:144:24:       : Storage<Ts, I>(absl::in_place, absl::forward<Vs>(args))... {}error:
      no member named 'in_place' in namespace 'absl'; did you mean 'isspace'?                       ^~~~~~

            : Storage<Ts, I>(absl::in_place, absl::forward<Vs>(args))... {}
                             ^~~~~~
            : Storage<Ts, I>(absl::in_place, absl::forward<Vs>(args))... {}
                             ^~~~~~
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/_ctype.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/_ctype.h::267267::11::  note: note: 'isspace' declared here'isspace' declared here

      isspace(int _c)isspace(int _c)

      ^^

      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/_ctype.h:267:1: note: 'isspace' declared here
      isspace(int _c)
      ^
      In file included from In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.cc/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.cc::44:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-ml.pb.h:24:
      In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h:134:
      In file included from /opt/homebrew/include/absl/strings/cord.h:78:
      In file included from /opt/homebrew/include/absl/container/inlined_vector.h:In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.cc::
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-data.pb.h:4:
      In file included from /private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-install-xcvtyvur/onnx_a8e3034767014412b35d8dfc67546ada/.setuptools-cmake-build/onnx/onnx-operators-ml.pb.h:2424:
      :
      In file included from In file included from /opt/homebrew/include/google/protobuf/io/coded_stream.h53/opt/homebrew/include/google/protobuf/io/coded_stream.h:
      :In file included from 134/opt/homebrew/include/absl/container/internal/inlined_vector.h:
      :In file included from 30/opt/homebrew/include/absl/strings/cord.h:
      :/opt/homebrew/include/absl/container/internal/compressed_tuple.h78::
      155In file included from :/opt/homebrew/include/absl/container/inlined_vector.h134::
      53In file included from :
      /opt/homebrew/include/absl/strings/cord.hIn file included from :/opt/homebrew/include/absl/container/internal/inlined_vector.h78::
      30In file included from :
      /opt/homebrew/include/absl/container/inlined_vector.h/opt/homebrew/include/absl/container/internal/compressed_tuple.h::5348:
      :In file included from  :error: 155no type named 'in_place_t' in namespace 'absl':
      48:/opt/homebrew/include/absl/container/internal/inlined_vector.h :error: 30no type named 'in_place_t' in namespace 'absl':

      /opt/homebrew/include/absl/container/internal/compressed_tuple.h:155:48: error: no type named 'in_place_t' in namespace 'absl'
        explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
                                               ~~~~~~^
        explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
                                               ~~~~~~^
        explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
                                               ~~~~~~^
      fatal error: fatal error: too many errors emitted, stopping now [-ferror-limit=]too many errors emitted, stopping now [-ferror-limit=]

      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      20 errors generated.
      make[2]: *** [CMakeFiles/onnx_proto.dir/onnx/onnx-operators-ml.pb.cc.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      20 errors generated.
      make[2]: *** [CMakeFiles/onnx_proto.dir/onnx/onnx-data.pb.cc.o] Error 1
      20 errors generated.
      make[2]: *** [CMakeFiles/onnx_proto.dir/onnx/onnx-ml.pb.cc.o] Error 1
      make[1]: *** [CMakeFiles/onnx_proto.dir/all] Error 2
      make: *** [all] Error 2
      Traceback (most recent call last):
        File "/Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/yixuanzhou/Desktop/Coding/python/ai/.sparse_env_3_dot_9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 416, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
          self.run_setup()
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 332, in <module>
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command
          super().run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 343, in run
          self.run_command("build")
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command
          super().run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command
          super().run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 223, in run
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command
          super().run_command(command)
        File "/private/var/folders/lw/vyvyjgw97l7_z65y1g_kdn8c0000gn/T/pip-build-env-fzmpmp80/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 217, in run
        File<EMAIL_ADDRESS>line 373, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/opt/homebrew/bin/cmake', '--build', '.', '--', '-j', '10']' returned non-zero exit status 2.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects

Additional context
Add any other context about the problem here. Also include any relevant files.
The fix should be upgrade onnx to version 13.4

Hi @YixuanSeanZhou, we do not currently have out of the box support for onnx 1.13, it looks like you'd need to change your protobuf version to get it working. alternatively you could try using onnx 1.13 but support won't be guaranteed yet.


chore(deps): update dependency djangorestframework to v3.15.2 [security]

This PR contains the following updates:

Package
Update
Change

djangorestframework (source, changelog)
minor
==3.14.0 -> ==3.15.2

For more information on how to resolve these vulnerabilities, please see our security documentation or contact #infosec_engineering.

 You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


'cursorline' local to window or local to buffer?

Describe the bug
Is 'cursorline' local to window or local to buffer?
We can conclude from the python api that 'cursorline' is local to window:
py import vim
py vim.current.window.options["cursorline"]=True  # OK
py vim.current.buffer.options["cursorline"]=True  # KeyError: 'cursorline'

As per the doc,
https://github.com/vim/vim/blob/0e57dd859ecb1e8a3b91509d2f4343e839340eb8/runtime/doc/options.txt#L2460-L2470
'cursorline' is local to window.
BUT the actual behavior is local to buffer.
To Reproduce

set nocursorline in vimrc
vim a.txt
:setlocal cursorline ,  cursorline is displayed.
:e b.txt, no cursorline
:bp, switched to a.txt, cursorline is displayed.
:bn, switched to b.txt, no cursorline

Expected behavior
There should not be such a paradox.
If it is local to window, the behavior should not be local to buffer.
If it is local to buffer, the doc should be updated and py vim.current.buffer.options["cursorline"]=True should be the correct usage, py vim.current.window.options["cursorline"]=True should not.
Environment (please complete the following information):

Vim version  8.1.1888
OS: All

An option local to a window has two values: a global one and a local one.
The global value is not global to any window, but to a particular window. That's why you can set two different global values in two different windows with :setglobal. It's used to initialize the local value when a new buffer is loaded in the window.
The local value is not local to any buffer displayed in the window, but to a particular buffer displayed in the window.
This is documented at :h local-options:

It's possible to set a local window option specifically for a type of buffer.
When you edit another buffer in the same window, you don't want to keep
using these local window options.  Therefore Vim keeps a global value of the
local window options, which is used when editing another buffer.  Each window
has its own copy of these values.  Thus these are local to the window, but
global to all buffers in the window.  With this you can do: >
:e one
:set list
:e two
Now the 'list' option will also be set in "two", since with the ":set list"
command you have also set the global value. >
:set nolist
:e one
:setlocal list
:e two
Now the 'list' option is not set, because ":set nolist" resets the global
value, ":setlocal list" only changes the local value and ":e two" gets the
global value.  Note that if you do this next: >
:e one
You will get back the 'list' value as it was the last time you edited "one".
The options local to a window are remembered for each buffer.  This also
happens when the buffer is not loaded, but they are lost when the buffer is
wiped out |:bwipe|.

Thus working as intended?  Closing then.

This doesn't seem right. @lacygoill is referring to buffer-local options, but there is a difference between buffer-local and window-local options, where window-local options should persist across buffers in that window. At least, that's always been my interpretation of :h internal-variables.

Perhaps I (and @Yggdroot) have always misunderstood this feature. Tying window-local options to buffers doesn't seem so useful to me. It may explain the difficulty I've occasionally had tracking down the source of a window-local option setting though - I have been sure I've disables 'cursorline' in a window, then switched to previous buffer and there it was again. I had hoped this was a bug that might be addressed in this issue. But it's by design?

@lacygoill is referring to buffer-local options

No, the help tag local-options refers to both types of local options: buffer-local and window-local.
And the example given at the bottom uses 'list' which is a window-local option, not a buffer-local option. From :h 'list:
*'list'* *'nolist'*
'list'			boolean	(default off)
local to window

At least, that's always been my interpretation of :h internal-variables.

I don't think that this help tag is relevant. It doesn't mention options, nor does it mention the &, &l:, &g: scopes.

Tying window-local options to buffers doesn't seem so useful to me.

To be more accurate, the local value of a window-local option is tied to a buffer in a window; it's not tied to only a window, nor to only a buffer.

But it's by design?

I think so. From :h local-options:

When you edit another buffer in the same window, you don't want to keep using these local window options.

I'm not saying the current behavior is good nor bad. I'm just saying that it's consistent with the documentation.

@lacygoill So a local to window option is actually local to (window, buffer) pair, right?
I can not find a way to disable a window local option,
For example,

set nocursorline in vimrc
vim a.txt
:setlocal cursorline ,  cursorline is displayed.
:e b.txt, no cursorline

After step 3, how can I setlocal nocursorline for (current window, buffer a.txt) without switching to a.txt?
That is to say, if I write script in python, 'cursorline' should not be a key of vim.current.window.options, it should be a key of vim.current.window_buffer_pair.options(if there is such a object).

A buffer does not have a cursor, only a window has, so I suppose you need to switch to the buffer first to disable the 'cursorline'  setting. You can probably use bufdo.

@chrisbra  bufdo may affect other buffers, moreover if run bufdo in another window but not in which setlocal cursorline is set, it does not take effect.

Well, I believe there is no other possibility than to first load the buffer. And bufdo does the load all buffers in the current window, which I thought you want to achieve.

After step 3, how can I setlocal nocursorline for (current window, buffer a.txt) without switching to a.txt?

I would use setbufvar(). Assuming a.txt is the buffer 1, it would give:
:call setbufvar(1, '&cursorline', 0)
                │   │             │
                │   │             └ new value assigned to option
                │   └ option to modify
                └ index of target buffer

However, it doesn't work when the buffer is hidden:

This is not because setbufvar() can't alter a window option. It can:

This also works for a global or local window option, but it
doesn't work for a global or local window variable.
For a local window option the global value is unchanged.

I think that the effect of setbufvar() is undone when the buffer goes from hidden to displayed.
When that happens, Vim reapplies the value it remembers from the last time the buffer was displayed:

The options local to a window are remembered for each buffer.

I find this unexpected; maybe it could be considered as a bug, I don't know.
IMO, there should be a way for the user to alter the last remembered value of a window-local option, via setbufvar() or something else. At the moment, it seems there is none.
I'm not sure it will help, but I also had an issue with window-local options in the past (values set from a filetype plugin were not always set). I fixed this issue by setting the options from an autocmd listening to BufWinEnter.
Maybe you could also try an autocmd:
au BufWinEnter a.txt ++once setl nocul

The ++once argument causes the autocmd to be fired only once. It was added in 8.1.1113.
Without it, you can get the same effect by making the autocmd remove itself:
augroup setl_nocul
    au!
    au BufWinEnter a.txt setl nocul | au! setl_nocul
augroup END

@lacygoill Thanks for your pacient explanation.


Could not generate link prediction results with SAFRAN

I was able to generate the prediction.txt file but I do not understand it. Morevover, I am unable to find link prediction results despite I specified the test.txt file in the configuration file and set EXPLAIN=1. Instead, I get a heavy explanation.db file which I doubt contains the link prediction results (in the format Hits@1, Hits@10, ...). Could you please help with the generation of link prediction results from the test.txt file?

Hello @Jean-KOUAGOU ,
You are right explanation.db does not contain the link prediction result, it contains the explanations (Which rules caused which prediction; basically a more detailed version of the prediction.txt). Sorry for misleading you here!
I've included a script for evaluating SAFRAN now in the python folder (It was previously on another repository and not documented). Further I've added instructions how to use the script here: https://safran.readthedocs.io/en/latest/manual/evaluation.html and changed the documentation a little bit to avoid further misunderstanding.
For you that will be the "Evaluate a single prediction file" script and it should be run as
python eval.py {path to file containing predictions} {path to testset file}

f.e. with
python eval.py ./prediction.txt ./test.txt

Hope this helps!

Yes it helps. Let me download and try it. Thanks

You may also want to fix the indentation error in eval_experiment.py (the last part in if name=='main': print(dataset))

Finally, the reading mode "ansi" in eval.py and eval_experiment.py does not exist. I changed it to "ascii".

Thanks reporting these bugs, I fixed them now.


Guid becomes string in JObject.ToString + JObject.Parse

If I convert a JObject that contains a Guid field into string and parse it back, the field can no longer be read as a Guid.
This is from Visual Studio 2015 C# Interactive window using Json.Net 9.0.1:
> var ob = JObject.FromObject(new { id = Guid.NewGuid() });
> JObject.Parse(ob.ToString())["id"].Value<Guid>()
Invalid cast from 'System.String' to 'System.Guid'.
  + System.Convert.DefaultToType(System.IConvertible, System.Type, System.IFormatProvider)
  + string.System.IConvertible.ToType(System.Type, System.IFormatProvider)
  + System.Convert.ChangeType(object, System.Type, System.IFormatProvider)
  + Newtonsoft.Json.Linq.Extensions.Convert<T, U>(T)
  + Newtonsoft.Json.Linq.Extensions.Value<T, U>(IEnumerable<T>)
  + Newtonsoft.Json.Linq.Extensions.Value<U>(IEnumerable<Newtonsoft.Json.Linq.JToken>)

Looks like the Guid degrades into string in (de)serialization:
> var ob = JObject.FromObject(new { id = Guid.NewGuid() });
> ob["id"].Type
Guid
> JObject.Parse(ob.ToString())["id"].Type
String

I expect the Guid to remain a Guid after deserialization.
This looks similar to an older, fixed bug in BSON serialization: https://github.com/JamesNK/Newtonsoft.Json/issues/303

That's because there is no way for Json.NET to know that it should be a GUID. It's just a string when parsing.
Cast instead of using Value<Guid>(), e.g. (Guid)obj["id"]

The functionality I request already exists for DateTime. I don't see how Guid is different.
> var ob = JObject.FromObject(new { date = DateTime.UtcNow });
> JObject.Parse(ob.ToString())["date"].Value<DateTime>()
[31.10.2016 11.21.31]

What I'm looking for is to be able to write a generic method that could read any reasonable type T (such as int, double, DateTime, Guid) out of a certain field of a JObject. Given how Json.Net currently works, I can use the Value extension method directly for all the other reasonable types except Guid which needs a wrapper to handle correctly, like this:
T ValueReally<T>(this JToken token) {
    return typeof(T) == typeof(Guid)
        ? (dynamic)Guid.Parse(token.ToString())
        : token.Value<T>();
}

In particular, while (Guid)obj["id"] works, (T)obj["id"] doesn't.

I also ran into this strange phenomenon, especially that in some projects Value<Guid>() works, in some it doesn't and I can't figure out the difference of them.
I followed the Stacktrace down to DefaultToType and couldn't make out a conversion to GUID.
So I guess, it's not a bug in Newtonsoft.Json.


Missing BufferView scrollable()

Bug/Help
Problem description
Hello!
When I add Scrolls via scrollable() method on BufferView from logs example my view behave strangly. With ScrollView I get only single line when previosly I get all the lines of logs. Know every new log rewrite the old line. How can I implement ScrollView for BufferView ?
Code:
pub fn init_tui(rx : mpsc::Receiver<String>){
    let mut siv = cursive::default();

    // siv.add_layer(BufferView::new(200, rx).full_screen());

    let mut tab_panel = TabPanel::new()
        .with_tab("Main", main_tab())
        .with_tab("Logs", log_tab(rx));

    tab_panel.set_active_tab("Main");

    siv.add_layer(tab_panel);

    siv.run();
}

fn log_tab(rx :mpsc::Receiver<String>) -> ResizedView<Dialog> {
    Dialog::around(BufferView::new(200, rx).scrollable())
        .title("Live Logs")
        .min_size(cursive::XY::new(100,50))

}

Image:

Environment

Operating system: Manjaro
Backend used: crossterm
Current locale (run locale in a terminal):

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=pl_PL.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=pl_PL.UTF-8
LC_NAME=pl_PL.UTF-8
LC_ADDRESS=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION=pl_PL.UTF-8
LC_ALL=

Cursive version (from crates.io, from git, ...):0.15.0

Hi, and thanks for the report!
The BufferView from the example may not have been implemented super carefully, especially if it's going to be embedded in a ScrollView. It doesn't really define its required size, or its "important area", which ScrollView relies on.
I probably should update the example to correctly implement that, making the BufferView there a bit more re-usable.


Fix for #718

Problem: Task that check for running Ceph processes fails against some nodes.
Due to that the failed node does not purges completely.
With this fix i have replaced that task with a new one "pkill -9 ceph" where it kills all running
ceph processes. The change has been tested and works fine than before
Signed-off-by: karan singh<EMAIL_ADDRESS>

can someone help in fixing jenkins
https://jenkins.ceph.com/job/ceph-ansible-pull-requests/77/consoleText

👎 if the check fails it is for a good reason. Using kill -9 when using systemd is bad idea; so we should gracefully stop services.
Can you check which service didn't stop and verify why?
Perhaps it is an issue with the stop sequence in the purge-cluster.yml

Yeah , i should not nuke the processes :)
Anyways , Retested on a fresh set of nodes and it worked fine, so good to close this PR