WSL 2.3.14 doesn't work on Windows 2025 (but 2.2.4 does)

Windows Version
Windows 2025 DataCenter (10.0.26257.5000)
WSL Version
2.3.14
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Any
Other Software
No response
Repro Steps
On Windows Server 2025 DataCenter preview, upgrade to the latest preview version of WSL.
Expected Behavior
Normal WSL behavior.
Actual Behavior
Aside from "mirror" mode not being supported, WSL has been working well with Windows DataCenter 2025 preview.
However, I just tried upgrading the latest WSL preview (2.3.14) and nothing seems to work.
If I try to start a distro, I get:
PS C:\Users\administrator.MOUCH> wsl
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN

If I try to run with --debug-shell then I get something close to (not exactly):
Error code: NOT FOUND Wsl/DEBUGSHELL/...
If I uninstall WSL and then reinstall it with the latest "stable" version (2.2.4), then everything's back to normal.
Then I tried updating to the latest preview again, with the same result.
Diagnostic Logs
No response

https://github.com/microsoft/WSL/issues/11791#issuecomment-2257225030 just try it!

On Server 2025 Data Center version 10.0.26100.1150 it works as expected:
elsaco@PORTLAND:~$ wslinfo --networking-mode
nat
elsaco@PORTLAND:~$ wslinfo --wsl-version
2.3.14
elsaco@PORTLAND:~$ wsl.exe --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.64
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.1150

Desktop Experience installed, not sure if it makes any difference.
Uses settings, mostly defaults:
PS C:\Users\elsaco> cat .\.wslconfig
[wsl2]
processors=4
memory=2147483648

Using non-store upgrade it worked on 10.0.26257.5000. The .wslconfig has only cpu and memory limits, no other custom settings were used:
PS C:\Users\Elsaco> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.26257.5000
PS C:\Users\Elsaco> wsl --update --pre-release
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.3.14.
PS C:\Users\Elsaco> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.64
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26257.5000
PS C:\Users\Elsaco> wsl
elsaco@PORTLAND:/mnt/c/Users/Elsaco$ cd
elsaco@PORTLAND:~$ wslinfo --wsl-version
2.3.14
elsaco@PORTLAND:~$ wslinfo --networking-mode
nat

PS C:\Users\Elsaco> cat .\.wslconfig
[wsl2]
processors=4
memory=4294967296
swap=0

@joshmouch you could try w/out custom setting and see if it works.  It helps sometimes!


pefile for Python 3 is now available from pip. Fixes #6

Changes Unknown when pulling 9858a46f22f6e427b091e480827bcbc335a38174 on 6-bugfix into ** on master**.

Current coverage is 61.54% (diff: 100%)

No coverage report found for master at c81245b.

Powered by Codecov. Last update c81245b...9858a46


Biggest Feature Requests

Undo & Redo
Text format / Markdown Support (Bold, Italic, Bullet etc.)
Attach files, imgs, audio etc.
Create widget to add notes and view the list in widgets
Add drop-down in labels
If possible add new section for TODO items
Export a particular note
Add option to search in inside the note
Custom font selection
Read only mode
Loading animation, + btn animation, elements animation, navigation animation etc.
Notes info Date Created, Date Modified, length of content, total words etc. (All in 1)
Change color of particular note
Fix "Convert to list" BUG (If list is again converted to text it keeps the "-" sign
Holding a link while scrolling BUG
Add title to center
Add option for hidden notes
Add change log in about section
Add switch for Amoled dark theme
BUG Fix file name while exporting the data
...

No. Check the readme.

It might be done before next year.


remove setState call in the ResizablePane didUpdateWidget method

Removing as documentation states, that after didUpdateWidget is called, setState is also called.
The call is therefore unnecessary and should be removed.

@bit-burger Thanks for the PR. What "documentation" are you referring to?

Closing due to inactivity.


paper-scroll-header-panel content wont scroll on iOS only

I have a pretty straight-forward SPA that uses paper-scroll-header-panel, paper-toolbar, paper-tabs, and iron-pages. When I click on the first paper-tab in iOS and it displays the corresponding iron-page it does not allow me to scroll down and view the iron-page content below the fold...However, if I click another tab and then come back the scrolling works fine.
I can see the content cut off on the bottom of the screen but when you drag up it just pulls the page off the bottom of the screen as if it was the end of the page.
Here is the very basic html structure:
<paper-scroll-header-panel condenses keep-condensed-header>
    <paper-toolbar class="tall layout horizontal" id="title-toolbar">

Title

    </paper-toolbar>

      <paper-toolbar justify="center">
          <paper-tabs selected="{{selected}}" class="fit" scrollable>
              <paper-tab>1</paper-tab>
              <paper-tab>2</paper-tab>
              <paper-tab>3</paper-tab>
              <paper-tab>4</paper-tab>
          </paper-tabs>
      </paper-toolbar>
        <iron-pages selected="{{selected}}">

        </iron-pages>

  </paper-scroll-header-panel>

Originally, I had opted not to have a tab selected by default. However, when I decided to have a tab selected on load via the below code I no longer ran into this issue. It still seems to be a problem though as you shouldn't have to have one selected from the start.
window.addEventListener('WebComponentsReady', function() {
// imports are loaded and elements have been registered
var template = document.querySelector('template[is="dom-bind"]');
template.selected = 0; // selected is an index by default
});

I saw this happen sporadically on my nexus 6 recently (maybe not limited to ios).
@tehaaron - You may want to move the issue over to the element's page.
https://github.com/PolymerElements/paper-scroll-header-panel/issues

I moved this issue to the paper-scroll-header-panel repository as suggested by @robrez.

Closing, moved to https://github.com/PolymerElements/paper-scroll-header-panel/issues/35.


Feature hide breadcrumbs

Give authors the ability to choose whether or not a breadcrumb navigation element is shown at top of the page.
Description
There was two different places Breadcrumb was invoked.
One was the Hero at the header of a page.  To handle this we added an option to switch the default of show breadcrumb to all an attribute to be passed in with a bool string showBreadcrumbNav.  This String can be yes, no, 0,1 or true false.
this will toggle the inclusion of the Breadcrumb component.
The second case was the MDIndex component itself.  If isTranscludedContent || pageContext?.frontmatter?.layout === 'none' is false we include the Breadcrumb and Gitoptions in the page.
For this, I added a frontmatter property showBreadcrumbNav  which acts the same as above where it will accept a bool string value and toggle the inclusion of the component or not.
Related Issue
none I know of
Motivation and Context
DEP content asked for this request for a page.
How Has This Been Tested?
Hand tested
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@davidbenge can you pls verify your github account is properly linked to adobe as the Adobe CLA Signed check failed ? All details should be available on #guild-opensource.


Replay Voice Chat dosent work in the Version 1.20.1

Bug description
Maybe am i doing something wrong but if i try to load up the Replay, Simple Voice Chat and the replay voice chat it does not work because of incompatible Mods. I tried to switch the versions of the Mods but i didnt work aswell.
The Error:
Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Replace mod 'Replay Voice Chat' (replayvoicechat) 1.20.1-1.3.3 with any version that is compatible with:
- voicechat 1.20.1-2.5.15
More details:
- Mod 'Replay Voice Chat' (replayvoicechat) 1.20.1-1.3.3 is incompatible with version 1.20.1-2.5.0 or later of mod 'Simple Voice Chat' (voicechat), but a matching version is present: 1.20.1-2.5.15!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Do u guys know this Issue or did i something wrong?
Thanks for Helping and a good rest of the day!
Minecraft version
1.20.1
Simple Voice Chat version
1.20.1-2.5.15
ReplayMod version
1.20.1-2.6.13
Mod version
1.20.1-1.3.3
Mod loader and version
Fabric-0.15.11 (Curseforge)
Steps to reproduce
Put the 3 Mods in a Modpack on Curseforge with the same Fabric version and try to start it.
Expected behavior
A window with the Error copied above will open
Log files
https://gist.github.com/DasVanish/9511f539c77881025253093dd1afffb2
Screenshots

As your screen already states. The version of replay voice chat and simple voice chat aren't compatible. This is not a bug.

Ok than im sorry, but can you Tell me wich Version compatible is?

Everything older than 2.5

are you going to make the mod work with 2.5?

Replay Voice Chat will only be updated for the latest version of replaymod. If thats an issue for you, you can always port the mod yourself.


Fix author-bio picture (empty white circle)

Mentioned by @MarcoFalke : https://github.com/bitcoin-core/website/pull/24#issuecomment-172465040

ACK


Add file import

Warning: be careful with encodings

https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications


New Crowdin translations

Enjoy!

Note this is generated automatically by CrowdIn, trying out their GitHub integration.


Backport recent changes from master to 8.11

This batch includes the new instantiate function as well as the fix for #44 (thanks @beta-ziliani!).

This passes my tests locally. Do we even have CI for PRs?


asmewide.sty has old version of cuted.sty

Describe the bug
When compiling asmeconf-template-widetext.tex multiple errors are produced that all originate from asmewide.sty (see screenshot for errors).
Steps To Reproduce Error

Go to CTAN asmeconf page
Download latest version
Import downloaded ZIP into Overleaf as a new project
Compile asmeconf-template-widetext.tex

Screenshots

Platform (please complete the following information):

OS: Windows Version 21H1 (OS Build 19043.1706)
asmeconf Version: 1.30 2022-03-14
Tex Package: Overleaf
Browser: Chrome, Brave, and Microsoft Edge

The error message is generated by asmewide.sty.  It says that the version of cuted.sty you are using is too old.  Presumably, this is a problem with Overleaf not being up-to-date.
Suggested solution:
Download the most recent version of cuted.sty from CTAN.
Put it in your working directory and try again.
(I also suggest that you alert Overleaf that their installation is not up-to-date.)

PS: Thanks for this report.

My mistake, I misread the error.
Follow up: Overleaf will be updating cuted.sty (and other styles) at the end of the third quarter 2022. For anyone else who encounters this problem, you can use the most recent package versions by downloading the package's .sty file from a TeX live development source and uploading it to your project: https://tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/sttools/


Q: source tab - file - "reveal in navigator" menu item possible to have?

Hi Jan,
in the chrome dev tools source tab, when a file is open one can right click on the file's tab and select "reveal in navigator" which will focus on the file.
This functionality is really nice to have.
E.g files tend to have common names like "index.js" or "utils.js". When profiling one can click at the file code line, which will open the file the source tab. The problem is that one doesn't know where the file is located.
Is it possible to get this functionality to the source panel?

I just tried it and it worked. Can you describe what steps you tried? What I did:

Start an app with bugger --brk my/entry.js.
Right-click on the tab in the sources panel, select "Reveal in Navigator".
It showed the file in the panel on the left.

Is this something related to workspaces?

ah .. thanks for pointing that out.
I ran make debug - that wasn't using bugger but note-debug.
awesome works


Offline npm rebuild

Hello,
My project needs to be installed offline. To be able to achieve that, I download all the nodes_modules in a server with internet access and then copy the nodes_modules and the .node-gyp into the offline server.
Usually a simple npm rebuild is enough to makes the node_modules to works on the new machine, but using zeromq package (instead of zmq old package) I get the following error :

npm rebuild

<EMAIL_ADDRESS>install /path/node_modules/zeromq
node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)

prebuild-install WARN install getaddrinfo ENOTFOUND github.com github.com:443
{ Error: getaddrinfo ENOTFOUND github.com github.com:443
at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'github.com',
host: 'github.com',
port: 443 }

What can I do to make my nodes_modules to be able to get rebuilt offline?
Thanks

npm i --build-from-source

Totally work, praise to you mister @vweevers ! :)


[CI] Fixed CI for PHP 7.2

This PR is my attempt at fixing the "always green" build for 7.2 (mentioned in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1183#issuecomment-1843291457)
Things done:

I've bumped the PHPUnit Bridge version to the latest one.

According to PHPUnit Bridge doc:
The PHPUnit bridge is designed to work with all maintained versions of Symfony components, even across different major versions of them. You should always use its very latest stable major version to get the most accurate deprecation report.

Allowing phpunit-bridge range of "^4.4|^5.4|^6.0|^7.0" together with --prefer-lowest means that the 4.4.0 version of it is installed - which doesn't have all the required bugfixes.
I've chosen ^7.0 as the latest one, for the 7.x series 7.0.1 is needed because it contains the bugfix for this issue: https://github.com/symfony/demo/pull/1457#issuecomment-1836188457

Set PHPUnit 9.5 as the max version

The 7.2 build cannot use PHPUnit 9.5, it requires PHP 7.3
I've set this as max version instead - it will be used if possible, otherwise lower versions will be used.

Bumped lowest supported version of lcobucci/jwt to 3.4.6

One of the tests was failing:
1) Lexik\Bundle\JWTAuthenticationBundle\Tests\Functional\GetTokenTest::testGetTokenWithCustomClaim
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
     0 => 'foo'
-    1 => 'bar'
 )

This was fixed by bumping the version of lcobucci/jwt to 3.4.6 - I suspect it contains bugfix not present in 3.4.0

Run PHP 7.2 tests on ubuntu-20

I found this issue when googling: https://github.com/shivammathur/setup-php/issues/720
If you are running this on the ubuntu-latest or ubuntu-22.04 runner, that has OpenSSL 3 and support for it was added to PHP in 8.1. Please use ubuntu-20.04 runner with the older PHP versions and this should work.

And it was right, all of a sudden the segmentation faults have disappeared.
Overall I feel everything I did was a bit hacky, but the build is now green 🎉

Thanks a lot @mnocon, much appreciated!


UUID field doesn't showing

Hi!
Even after re-build project the custom field doesn't showing. Any idea the reason about it?
Strapi: 4.6.2
Node Version: 16.16.0

Actually that was some cache or something like that. After I tried on anonymous page and it works. But now I'm getting this error clicking on "finish"/"add another" button

Hey, I have the exact same issue you have. The error is the same even if I open it in incognito and disable the cache. Do you have any updates?

No... I dont have any updates :/

@VladyslavVolkov @remidej could one of you look into this?

@abisewski did you try to rebuild your Strapi environment with the npm run build or yarn build? I thought that was unecessary because I thought that the normal autorun commando npm run develop or yarn develop will do it too, apparently that's not the case. Give that a try, I should work after that.

@AlphaYouss Yeah, I did that but didn't work to me... Which Strapi version are you using?

I'm on Strapi version 4.9.0 and Node version 16.19.1.

Same issue here. It seems to not be working in 4.9.0

I also have the same issue

Hey. I have the same issue. A downgrade to v1.1.7 helped.

Hey. I have the same issue. A downgrade to v1.1.7 helped.

What version of Strapi are you using ? Still can't create a new uuid field downgrading to v1.1.7.

I had the same issue before I updated to Strapi v4.11.0. Simply update Strapi and rebuild the admin panel.

I always typed the “yarn add” command first.
And when I ran the "npm run dev" command, the UUID field did not appear.
I ran the following order: "yarn add" -> "npm run build" -> "npm run dev".
And when I returned to the admin panel, I was able to select it successfully.
I don't even know why...


Move to pyproject.toml and drop python3.7 support

In this PR

setup.cfg has been migrated to pyproject.toml. In the process, unneeded dependencies have been removed.
Python3.7 support is dropped since it's past EOL and we're now seeing package compatibility issues.

I'm gonna do that in a future PR/release. I'm gonna bump the version when I do it.


Update README.md

Adding new API doc links

@AlexLakatos please review and merge if all good. If anything needs change do it and merge.

@AlexLakatos can we merge this soon?


the server keeps crashing

it keeps saying some of the functions you're  calling are not functions

It should work for most endpoints. The only endpoint that doesn't work out of the box is the individual song endpoint (/song/:id) because I submitted a PR for that to be implemented on the YouTube Music API repo but no progress has been had on it over there.
If other endpoints don't work I'd recommend checking your Node JS and NPM versions. I used Node 12 and NPM 6.14.
https://github.com/emresenyuva/youtube-music-api/pull/29


feat: added 3 test that verify the pages load

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

We should refactor our main content for pages to become independently unit testable which would eliminate the need to check for a session when a page loads. This can be a separate issue/PR

Closed due to inactivity.
If you would still like to contribute, please resubmit this PR with the appropriate changes that were requested.
Thanks!


Issue with angular 1.5.2 with compressed bundle

It's working with angular 1.5.0 or 1.5.2 with non compressed bundles.
with angular 1.5.2 with compressed bundle, javascript error style "TypeError: o is null" during drag & drop

same here and works uncompressed

@laurentauthier Did you test with 1.5.3 ?

Does not work also on 1.5.3, compressed bundles, always "TypeError: r is null" during drag & drop

I had a similar problem when upgrading to angular 1.5.x and it was related with how ng-sortable tries to extract source array from ng-repeat.
ng-repeat creates a comment nodes to keep track of where to insert DOM nodes from the source array. This used to contain info about the source array, but in angular 1.5.x with $compileProvider.debugInfoEnabled(false); it just contains:
This breaks getSourceFactory() in ng-repeat.js

The solution I went for was to pass the source array to ng-sortable:
<div ng-sortable="{items: 'featuredEntries', ...}">

https://github.com/ShareMyWorld/Sortable/commit/d664a2da9fda58a3a1814a509e7ce5ad183e9fcc
Hope this helps you :)

@Addeventure you should make a PR ;)

Yeah you're right :)
Forgot about this one.
A better solution is probably to pass the items in a separate attribute though, like ng-sortable-items="myArray"
I'll try to find some time tonight...

I don't have time to investigate more but I exported your fix in order to use it beside the official version of sortable.js and without monkeypatch it.
https://github.com/maxdow/ng-sortable-fix
Hope it is OK for you :)

Same issue, subscribing.  Thanks!

Hi. I have more precision about this issue. sortable analyse some comments on web page. these comments are present with non compressed bundles. But missing with webpack -p (production mode). So, it's working on developpement environment and not working on production environnement. More details on attachment

https://github.com/RubaXa/Sortable/blob/master/ISSUE_TEMPLATE.md


displaying plots using matplotlib in a notebook after CaptureShell()

Once I instantiate a CaptureShell in a notebook, I can no longer display plots.

There seems to be quite a bit of functionality in code relating to this, but I am not sure how I am supposed to use it. Could I please ask if there is anything I can call/pass somewhere in order to be able to plot from the host notebook?
Thank you!

Fixed now!


Move away from keycloak specific library

We currently use keycloak-js library for authentication.
This library is (as far as I know) specific to keycloak and does not support other providers.
Work on onyxia-api to switch to a provider-agnostic adapter is close to done (see https://github.com/InseeFrLab/onyxia-api/pull/202).
We should do the same for onyxia-web

The job would consist in writing another adapter for this port:
https://github.com/InseeFrLab/onyxia-web/blob/main/src/core/ports/OidcClient.ts


Bug fix in sendMessage() of pregel implementation in PageRank.scala

What changes were proposed in this pull request?
Iterator((edge.dstId, edge.srcAttr._2 * edge.attr))
->
Iterator((edge.dstId, edge.srcAttr._1 * edge.attr))
How was this patch tested?
Since edge.srcAttr._2 is used to compare with tol, it should be the (newPR - oldPR), but in the sendMessage, the origin code send it as part of the message, instead it should be the newPR which is edge.srcAttr._1.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

You can check the comment in pull request #2100.

By the way, @ankurdave , hi, I'm very curious about why you use delta instead of just newPR as the message. Is that for better performance or just at chance? Could you please answer this question when you are free? Thank you so much.

@WenqianZhao I think the point of sending deltas instead of absolute ranks was that, as parts of the graph converge, their deltas would go to zero. GraphX would then be able to stop sending those messages.

@WenqianZhao I think the point of sending deltas instead of absolute ranks was that, as parts of the graph converge, their deltas would go to zero. GraphX would then be able to compress those zero messages more efficiently.

Got it! Thank you!

Can one of the admins verify this patch?


Project: Nirmal - Hack Together - Sample

Project name
Nirmal - Hack Together - Sample
Description
I have taken this project to understand how to use Microsoft Graph API with .net SDK.
I have picked following 2 scenarios and built an console app.

Setup a Teams meeting and return the URL

Send a message to a Teams channel

Please read the readme doc from my GitHub repo, before executing the project.
Repo URL
https://github.com/nmuthuswami/nal-ms-graph-hack-together
Team members
nmuthuswami

Thank you for your submission @nmuthuswami! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community 😊

Thanks for your feedback @waldekmastykarz. Video links updated in readme.md file.
Scenario 1:
https://6yjrg6-my.sharepoint.com/:v:/g/personal/admin_nak_6yjrg6_onmicrosoft_com/EYo0Vbx5hqhBqiBFrJcSFzMB_KLbjZxlT7sI9LVGNmnzhQ?e=Q1VvBF
Scenario 2:
https://6yjrg6-my.sharepoint.com/:v:/g/personal/admin_nak_6yjrg6_onmicrosoft_com/EbK9vjZTRxJIr9hg7Ggnl9wByiVpiL6ZnTlMW8fuHHVojg?e=HEegqq
Unfortunately, in the above video online ms teams stopped working in safari browser, below video-demo explains the output using edge browser.
https://6yjrg6-my.sharepoint.com/:v:/g/personal/admin_nak_6yjrg6_onmicrosoft_com/ERttLk3DpldPvfL3zaBBcocB7I3Rdjpo5stgXzd-lhvVKw?e=dkZ1bn


Great work! And sharing our NaturalBench

I found your work incredibly interesting and insightful. Thank you for the great work!
I wanted to share NaturalBench (NeurIPS'24 D&B), a collaborative project between CMU and the University of Washington, in case you are looking for more robust benchmarks:
NaturalBench (https://linzhiqiu.github.io/papers/naturalbench/) is a vision-centric VQA benchmark that challenges vision-language models with pairs of simple questions about natural imagery. Unlike prior VQA benchmarks (like MME and ScienceQA), which blind language models (e.g., GPT-3.5) can solve, NaturalBench ensures such shortcuts won’t work. We evaluated 53 state-of-the-art models, and even top models like GPT-4o and Qwen2-VL fall 50%-70% short of human accuracy (90%+), revealing significant room for improvement.
We also found that current models show strong answer biases, such as favoring “Yes” over “No” regardless of the input. Correcting these biases can boost performance by 2-3x, even for GPT-4o, making NaturalBench a valuable testbed for future debiasing techniques.
Check out my Twitter post about it here: https://x.com/ZhiqiuLin/status/1848454555341885808.
🚀 Start using NaturalBench: https://github.com/Baiqi-Li/NaturalBench
Best,
Zhiqiu

@linzhiqiu Thanks for sharing. I'm glad to see such a vision-centric benchmark. This is something that has been lacking in the VLM field.
BTW, when will it be integrated into VLMEvalKit? Looking forward to using it in our project.

Yes! Our collaborator already submitted a PR to VLMEvalKit (https://github.com/open-compass/VLMEvalKit/pull/582)!


Add a bunch of public Fl_Terminal methods

Description
This set of changes should catch up with public Fl_Terminal methods that were added a few weeks ago.
Includes update to the terminal.rs example to test the new methods.
This is dependent on the concurrent PR in cfltk

Thank you. I merged this PR via the command line due to some conflicts.
bfbb4170775022e8d2c124ae8fe0975b9a072d86

By the way, I later removed the reference to va_list and stdarg in the header because of this issue:
https://github.com/rust-lang/rust-bindgen/issues/2631


Provide SARIF output

The Static Analysis Results Interchange Format (SARIF) has been approved as an OASIS standard.

https://github.com/facebook/infer/pull/1487

SARIF support in v1.2


Optimize data and improve config handling

Optimize data with include, check if config options are possible before creating entities, and add GRPC handling if possible for BOS.

Moved to draft, as this is no longer safe to merge.  pyasic is incompatible with homeassistant as of 0.41.0, until they update HTTPX.

Home Assistant is using httpx==0.26.0 as of v2024.1.0, this is good to merge.  Note that this will ONLY work on the very latest version of home assistant.


Add all current fuzzers to fuzz regression test

This ensures they pass at least a few simple inputs, and as we hit bugs
we can add regression test cases
@AdamKorcz

Great! Will add fuzzers to the test as I upload more.


JArray of JClass

Trying to create an array of classes, getting the following errors:
Traceback (most recent call last):

  File "test.py", line 17, in callTrade
    classesTest = JArray(jpype.types.JClass)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mfawn/miniconda3/envs/rl/lib/python3.12/site-packages/jpype/_jarray.py", line 89, in __new__
    return _jpype._newArrayType(jc, dims)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Java class required

Traceback (most recent call last):
  File "test.py", line 16, in callTrade
    classesTest = jpype.types.JClass[5]
                  ~~~~~~~~~~~~~~~~~~^^^
TypeError: type 'JClass' is not subscriptable

JClass does seem to be in types.py, and _toJavaClass seems to properly return JClass. Is there something improper in how I'm forming this array?

I believe this is an edge case.  JClass is a front end for the class accessor but is not actually a Java class itself as it must exist before the JVM is started.   I believe what you want is actually something more like.
classArray = JArray(java.lang.Class)

or
classArray = java.lang.Class[:]

In other words as the error message is indicating JArray expects an actually Java class.   I tested a few different combinations.  It does appear that JString, JObject, and the primitive types work as they have special logic to look up the required type.   It may be possible to add the same logic to JClass, though I am not sure it is worth the effort as arrays of classes is a fairly rare case.

Using java.lang.Class is what I wanted and fixes the issue, thank you!


No sound

I just downloaded one of my videos: https://www.youtube.com/watch?v=f6D1AEO5zpw
Video's fine, but no sound! I tried a bigger file to download, still no sound.

Youtube serves certain formats that only include video and not audio. Here's how you can tell :
youtube-d -F https://www.youtube.com/watch\?v\=f6D1AEO5zpw
Verbose mode : false
Handling https://www.youtube.com/watch?v=f6D1AEO5zpw
Cache hit, skipping HTML download...
base.js cache hit, skipping download...
Available formats for https://www.youtube.com/watch?v=f6D1AEO5zpw
[18] (360p) 9.19968 MB video/mp4; codecs="avc1.42001E, mp4a.40.2"
[22] (720p) unknown length MB video/mp4; codecs="avc1.64001F, mp4a.40.2"
[137] (1080p) 53.3665 MB video/mp4; codecs="avc1.640028"
[136] (720p) 26.5684 MB video/mp4; codecs="avc1.64001f"
[134] (360p) 6.61029 MB video/mp4; codecs="avc1.4d401e"
[160] (144p) 1.57507 MB video/mp4; codecs="avc1.4d400c"
[140] (tiny) 3.46873 MB audio/mp4; codecs="mp4a.40.2"
[251] (tiny) 2.28874 MB audio/webm; codecs="opus"

Notice that only formats 18 (360p) and 22 (720p) have both a video and an audio codec, while the others only have audio or video but not both. Try targetting the 22 format with the -f flag like this : youtube-d -d -f 22 https://www.youtube.com/watch?v=f6D1AEO5zpw. With that being said, I should probably change the output of -F to make the distinction clearer.

Oh, ok, thanks for the info.


Remove enable_tls, unsupported in 8.1.x

Can we backport aa70b4380a77e08b8d36dff04cb65df0fb377df3 instead of this?

Can we backport aa70b43 instead of this?

If it works, go for it, this PR was more just for my testing (I have a lot of issues trying to run the H2 tests locally) to try to fix it but I didnt have time to find a solution yet today.  I just know removing the 'enable_tls', at least fixes the autest crash but didnt get much further then that

Ill try reverting what Ive done in here so far (since it didnt completely work out anyway, and try picking that


expose remove method from StartedTestContainer?

Would be great to have remove method exposed separately from stop. Some containers stop automatically (like wrappers for executables) and then there's no way to remove them.

I would rather the user doesn't have to manually remove volumes as it should be the default behaviour. If the volume is not removed for some containers, then that sounds like an issue that should be fixed.


[5.6] Add feature for sending scheduled commands output to log channels

This PR adds a feature for sending scheduled commands output to log channels (Related feature request https://github.com/laravel/ideas/issues/1092)
Added public method logOutputTo($channels).
Usage: logOutputTo('daily') or  logOutputTo(['daily', 'slack'])
Few notes regarding to changes:

Maybe its better to merge getEmailSubject and getLogMessage methods in to one method, something like getCommandDescription  or getCommandTitle
Same for ensureOutputIsBeingCapturedForEmail and ensureOutputIsBeingCapturedForLog, move to ensureOutputIsBeingCaptured method

Please add some tests for this new functionality.

@jmarcher its very simple functional, also there are no tests for emailOutputTo functional as well. Are tests still required?

Yes, I mean tests do not hurt, and provide some kind of confidence when someone wants to edit your code later.
I do not know about emailOutputTo, maybe it was implemented a few years ago, but I believe that lately almost no PR is accepted without proper tests.


Unique ability score selection during character creation (feature request)

When assigning ability scores during character creation, is it possible to make a selected score only available once? For example, if a character chooses intelligence for their 16 score, can 16 no longer be available for another attribute score unless they zero out intelligence or choose a different stat for intelligence (e.g. one of the other starting score options)? I've played with several new players the last few days and while there's a list of six scores and six abilities and it's obvious to me, its been confusing to each of them how many times they can use each score (e.g. "The sheet lets me put 16 in each attribute, so I'll just choose that? Is that ok?"). If each score could only be used once, it would be more intuitive to players about how to use the six scores.

This actually worked in the system once upon a time, so I've flagged it as a bug. I'm not sure when I'll be able to get to it, but I'll see if I can get it fixed.


Mobile wallets are not supported and dont get opened on iOS/android

Describe the bug
Unable to connect using mobile devices, both iOS and Android.
To reproduce
Use a mobile browser and attempt connecting a wallet
Expected behavior
My wallet opens and prompts for connection
Environment details
Android latest, ios latest, using chrome latest

@duckdegen did you find a resolve for your issue?


Allow to omit id in JsonToElasticsearchBulk

Elasticsearch creates an internal id on its own when omitting and id
in the json bulk.

Thx @blackwinter - merged your branch.


I created a bot in synology chat, but your server report error when it received massage from it.

I use OurgoingWebhook to process the massage send by Synology Chat.
webhook = OutgoingWebhook(request.form, token, verbose=True)
but it report following error.
Traceback (most recent call last):   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 2213, in __call__     return self.wsgi_app(environ, start_response)   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 2193, in wsgi_app     response = self.handle_exception(e)   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app     response = self.full_dispatch_request()   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 1486, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request     rv = self.dispatch_request()   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)   File "/home/znd/PycharmProjects/Learning/chatconnect/outChat.py", line 15, in echo     webhook = OutgoingWebhook(request.form, token, verbose=True)   File "/home/znd/PycharmProjects/Learning/chatconnect/synochat/webhooks.py", line 392, in __init__     self.__channel_id 	= data['channel_id']   File "/home/znd/PycharmProjects/Learning/venv/lib/python3.10/site-packages/werkzeug/datastructures/structures.py", line 192, in __getitem__     raise exceptions.BadRequestKeyError(key) werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. KeyError: 'channel_id'
Looks like a POST sent from a bot in Synology are different from a OutgoingWebhook massage, it does not include some information like "channel_id" and etc..
I try to print out what in the POST, showing like below.
ImmutableMultiDict([('token', 'sk8wHheSN7SABrp31ni28r3qvL6aMe6jRqPN'), ('user_id', '5'), ('username', 'nizongdai'), ('post_id', '42996917600361'), ('thread_id', '0'), ('timestamp', '1684673810360'), ('text', '111')])
only have following information.
token
user_id
username
post_id
thread_id
timestamp
text
Is that mean I need create another class like "synoBot" ? to only include these info?

The use of bots with Synology Chat is not supported (see the Package Support section in README.md).
I have no plans to implement bot support at the moment. The logic behind a bot seems far more complicated than a simple outgoing webhook (at a glance) and is not something I have the time or energy to look into in the near future.
But feel free to give it a go if you're up to it! 😄
I'm closing this since it really isn't an issue, just unsupported by the library.


Testing: update target SauceLabs browsers

The new minimum supported versions are FF 36 and Chrome 4.
Updates the Readme and the SauceLabs matrix

:+1:


Implement actions

Implement actions in this plugin to be able to send commands to the car, lock/unlock, etc.

Possible actions:
Honk Horn
Start Climate
Flash Lights
Lock Doors

See also #7

It'll get added eventually.

Well, this has taken a setback.  I started to work on it today and discovered that the Python module I based my code on is out of date, and the original developer has terminated the project.  I tried to make it work based on his last version, and got nowhere.
The only currently maintained module for the BMW Connected Drive I found requires Python 3.  So it looks like this one is going to get the same treatment as MyQ and Slack.  Which will take a little longer.

Still in progress

Soon


myArray.push(["dog", 3]); shouldn't fail

myArray.push(["dog", 3]);
fails
"Push ["dog", 3] onto the end of the myArray variable."
It shouldn't, as "the myArray variable" should mean the state of the variable after myArray.pop(). (Variables vary.)

Please reopen with more details, like what challenge you are working on. Thanks and happy coding!


Switch to using InterfaCSS as a framework rather than static library

Ah, good catch, actually had done this change locally, but forgotten to check it in for some reason. Thanks!


What's the specific meaning of the four datasets

Hello,
I want to use your code and your datasets as a baseline method.
But the four datasets in the project just have the value of attributes, and don't have the specific meaning of them, thus I can't have a better understand of the datasets.
So could you please provide me the specific meaning of the attributes in the four datasets? Thank you.

Hi,
Thank you for your attention to our work. Actually, the meaning of the attribute doesn't matter in our work. You can check the meaning for the Amazon dataset from the original page http://jmcauley.ucsd.edu/data/amazon/. YouTube and Twitter datasets have no attributes.


Smart quotes

How can I enable German Quotes („“) instead of  “” ? My YAML-frontmatter has lang: "de" included and I tried pandoc with the option -V lang=de but the quotes are always the english ones.

I wondered myself and didn't figure it out. I used a plugin for Visual Code to replace all quotes with smart quotes.

Smart quotes for languages other than English are not directly supported by pandoc. Please see this discussion on the issue https://github.com/jgm/pandoc/issues/2620. Some mentioned solutions are:

Write your Input file with the proper quotes that you want to appear in the output file.

Use smart quotes in your input file and replace them programmatically (e.g. with sed or some other tool).

Use a pandoc filter.

@odkr wrote a great Lua filter to handle this problem:
https://github.com/odkr/pandoc-quotes.lua. It is now also available as part of the pandoc lua-filters collection: https://github.com/pandoc/lua-filters/tree/master/pandoc-quotes.lua


chore(deps): update common-dev-assets digest to 6d9186b

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
92a44bc -> 6d9186b

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.2.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create *.big-test.is-not-a.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] There is no NS Records (Enforced as of Sepetember 4th, 2024)

Description

Creating a domain to use to test to see if NS records work (THIS DOMAIN IS ONLY BEING USED FOR TESTING!)
Link to Website

I have read the CLA Document and I hereby sign the CLA

recheck


  Could you review it?
I use Google Maps geocode API for address parsing, but I should improve the parsing on the other functions eventually.
I added a testing database with sensitive columns replaced with fake data.  I can provide the .env file with the sheets id if you're interested.

Are all of those values sensitive? Or could we give default values for any of them in the template?

Are all of those values sensitive? Or could we give default values for any of them in the template?

@Andrew-Dickinson I think we should keep them all together, they are all part of a single credentials file you get from the Google Sheets API.  I added a comment in the example .env explaning the source Google Sheets credentials.json file.


HDDS-10061. NPE when container is loaded with missing container DB

What changes were proposed in this pull request?
when container db is not available, throw IOException so that its not loaded to memory. Log also represent for not loading the container but seems not handled properly.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10061
How was this patch tested?

Unit testcase added

Thanks @sumitagrawl for the patch, @errose28, @kerneltime for the review.


best way get all followers of a user

Hey,
So i've been trying to get a list of all followers of a user who has less than 600 followers.
but anytime i check the length of followers after the loop stops, i get <=320 instead of 600.
Any help?
https://gist.github.com/gwuah/acabb5c59b2b883dd082c54feb174678

https://gist.github.com/PandaWhoCodes/46f58fdead71f4c71453d9ed1e21adf8
Try this.

Thanks @PandaWhoCodes

The followers/list Twitter API endpoint is paginated, with a default of 20 and up to a maximum of 200 users returned per page. You can iterate over these paginated results using the cursor parameter.
With Tweepy, you can also iterate over them by using API.followers with a Cursor object.


User controlled markup vs programatically generated markup

I apologise for posting this here but I had a doubt that needed clarification.
My question is- instead of giving the user the power to edit markup, is it better to just have them use a UI to preview what theyre trying to accomplish & if theyre cool with that, add the markup in the backend for storage purposes programatically instead, once they hit enter?
As in instead of letting users encapsulate a string within 2 astrix for the string to be parsed as bold (which can lead to ambiguity) is it better to just let them use an editors UI for those things & once theyre happy with the way it looks in the editor, we purify the html & then parse it so we can replace tags with markup instead for storage purposes, as ive been advised against storing html (obviously). Then using that plaintext to render the associated html in the frontend.
What are the pros & cons of both approaches? Ive been told there are security issues with the 2nd approach? Any advice?

Sorry, this is not a Squire question. The right choice will depend on what product you are making and who your customers are.


Example service is not listed on the main page

Are you experiencing an issue with...

[ ] shields.io
[x] My own instance
[ ] gh-badges NPM package

:beetle: Description
I followed the tutorial step by step (though I didn't make a fork):

$ git clone https://github.com/badges/shields
$ cd shields
$ npm ci
$ npm start
Saved the first example in services/example/example.service.js - Worked
Saved the second example in services/example/example-version.service.js - Worked
Implemented the example() method as described in the text - No errors
$ npm run defs ran fine, but the terminal running $ npm start threw errors:
An UnhandledPromiseRejection (see #3771) and a webpack error:

[frontend]  ERROR #98123  WEBPACK
[frontend]
[frontend] Generating development JavaScript bundle failed
[frontend]
[frontend] Cannot read property 'replace' of undefined
[frontend]
[frontend] File: service-definitions.yml
[frontend]
[frontend]
failed Re-building development bundle - 0.495s
[frontend]

[frontend]
[frontend] 21 pages                                      Failed

success Re-building development bundle - 0.548s
[frontend]

[frontend]
[frontend] 21 pages                                      Success

Because right after it fails it prints Success I assume this is not causing my problem.
Now the problem I am having is that when I open the page locally, as stated in point (4.4) Adding an Example to the Front Page and I try to search for my example (named Gem) I can only find the one that's already implemented. Sure, I thought, I'll rename it and change every occurence of the name just to be sure. So I ended up with the following source file (a few snippets were omitted for brevity):
// ...

module.exports = class Gem2Version extends BaseJsonService {
  static get category() {
    return 'version'
  }

  static get route() {
    return {
      base: 'gem2/v',
      pattern: ':gem',
    }
  }

  static get examples() {
    return [
      {
        title: 'Gem2',
        namedParams: { gem: 'formatador' },
        staticPreview: this.render({ version: '2.1.1' }),
        keywords: ['ruby'],
      },
    ]
  }

  static get defaultBadgeData() {
    return { label: 'gem2' }
  }

  // ...
}

Turned out that this doesn't help and I can still not find it in the search results (I typed gem).
I also tried to debug it in VS Code with this configuration in .vscode/launch.json:
{
  "type": "node",
  "request": "launch",
  "name": "Debug",
  "program": "${workspaceRoot}/server.js",
  "cwd": "${workspaceRoot}",
  "smartStep": true,
  "runtimeArgs": [
      "--harmony",
      "--no-deprecation"
  ]
}

From that I learned that my examples() method is indeed called on startup. So I would expect it to be registered and searchable on the main page, but that isn't the case.
I'm running $ node --version v12.14.0 on a Windows 7 Home Premium machine (please don't hit me). The commands were entered in a Git Bash instance (MINGW64). I doubt that running it on Windows is the problem as node's pretty capable of abstracting that away (my impression) and everything else works very smoothly.
:bulb: Possible Solution
Unfortunately, I have no idea.

I've deployed this to heroku and the problem persists: https://stormy-peak-01315.herokuapp.com/.
You can see the exact content of the source file in services/example/ here:
https://gist.github.com/vonas/f5243959a680c63ec0019e3abd37029c

Now everything works — I'm buffled.


help: Document option to display custom profile fields in profile summary.

Updates instructions for adding a new custom profile field.
Adds a section explaining what this option is and how to manage it via the settings table.
Adds owner/admin only message at the top of the article.

Fixes: #23018.
Screenshots and screen captures:

Current docs: https://zulip.com/help/add-custom-profile-fields#add-a-custom-profile-field

Remaining concerns:
During testing, I noticed that if a non owner/admin user goes to http://localhost:9991/#organization/profile-field-settings, it will redirect to http://localhost:9991/#organization/undefined with the following message:

I am not sure if this is a known issue already, but maybe we should redirect to http://localhost:9991/#organization/ instead, and/or show an appropriate message if possible.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Manual testing of links

@alya this PR is ready for your review.

Thanks! I added a couple of small comments, but otherwise looks good to me!
I'll let @timabbott address the possible bug report when he reviews the PR.

During testing, I noticed that if a non owner/admin user goes to http://localhost:9991/#organization/profile-field-settings, it will redirect to http://localhost:9991/#organization/undefined with the following message:

Please open an issue for this and label it as a release goal; it's worth fixing and unlikely to be deep.

Thanks! I added a couple of small comments, but otherwise looks good to me!

Here's the updated screenshot with the suggested changes:

Looks good to me!
@timabbott would be great to get this integrated, as I'd like to add documentation for the Pronouns field type on top of this PR.

Merged, thanks @drrosa! Though while we're doing that follow-up, let's make sure we explain what a "profile summary" is; it's not spelled out, and that's not a term we introduce elsewhere.


Python 3.9 test failures on 0.29.x

Hello. In Fedora, we try to build our packages with pre-releases of Python 3.9. Cython seem to work fine in general cases, but there are some test failures with Cython 0.29.15 and Python 3.9.0a3.
I haven't found any issue for this, so I'm opening this one to track it. I know that sometimes the master branch has such problems fixed and if pointed to them, we can work on backports.
Here is the full log: build.log
And here are the failures:
======================================================================
FAIL: A (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.A
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.A
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in A
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.A
Failed example:
    A().meth1(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: meth1() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.A[2]>", line 1, in <module>
        A().meth1(arg=None)
    TypeError: A.meth1() takes no keyword arguments
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.A
Failed example:
    A().meth2(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: meth2() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.A[5]>", line 1, in <module>
        A().meth2(arg=None)
    TypeError: A.meth2() takes no keyword arguments
======================================================================
FAIL: func1 (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.func1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.func1
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in func1
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.func1
Failed example:
    func1(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: func1() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.func1[2]>", line 1, in <module>
        func1(arg=None)
    TypeError: always_allow_keywords_T295.func1() takes no keyword arguments
======================================================================
FAIL: func2 (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.func2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.func2
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in func2
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.func2
Failed example:
    func2(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: func2() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.func2[2]>", line 1, in <module>
        func2(arg=None)
    TypeError: always_allow_keywords_T295.func2() takes no keyword arguments
======================================================================
FAIL: A (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.A
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.A
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in A
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.A
Failed example:
    A().meth1(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: meth1() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.A[2]>", line 1, in <module>
        A().meth1(arg=None)
    TypeError: A.meth1() takes no keyword arguments
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.A
Failed example:
    A().meth2(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: meth2() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.A[5]>", line 1, in <module>
        A().meth2(arg=None)
    TypeError: A.meth2() takes no keyword arguments
======================================================================
FAIL: func1 (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.func1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.func1
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in func1
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.func1
Failed example:
    func1(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: func1() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.func1[2]>", line 1, in <module>
        func1(arg=None)
    TypeError: always_allow_keywords_T295.func1() takes no keyword arguments
======================================================================
FAIL: func2 (always_allow_keywords_T295)
Doctest: always_allow_keywords_T295.func2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for always_allow_keywords_T295.func2
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line unknown line number, in func2
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/always_allow_keywords_T295/always_allow_keywords_T295.cpython-39-x86_64-linux-gnu.so", line ?, in always_allow_keywords_T295.func2
Failed example:
    func2(arg=None)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: func2() takes no keyword arguments
Got:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest always_allow_keywords_T295.func2[2]>", line 1, in <module>
        func2(arg=None)
    TypeError: always_allow_keywords_T295.func2() takes no keyword arguments
======================================================================
FAIL: B (py3k_super)
Doctest: py3k_super.B
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py3k_super.B
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/py3k_super/py3k_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/c/py3k_super/py3k_super.cpython-39-x86_64-linux-gnu.so", line ?, in py3k_super.B
Failed example:
    B.class_method()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest py3k_super.B[2]>", line 1, in <module>
        B.class_method()
      File "tests/run/py3k_super.pyx", line 37, in py3k_super.B.class_method
        return super().class_method()
    TypeError: super(type, obj): obj must be an instance or subtype of type
======================================================================
FAIL: B (py3k_super)
Doctest: py3k_super.B
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py3k_super.B
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/py3k_super/py3k_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/1/run/cpp/py3k_super/py3k_super.cpython-39-x86_64-linux-gnu.so", line ?, in py3k_super.B
Failed example:
    B.class_method()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest py3k_super.B[2]>", line 1, in <module>
        B.class_method()
      File "tests/run/py3k_super.pyx", line 37, in py3k_super.B.class_method
        return super().class_method()
    TypeError: super(type, obj): obj must be an instance or subtype of type
----------------------------------------------------------------------
======================================================================
FAIL: staff (closure_class_T596)
Doctest: closure_class_T596.staff
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for closure_class_T596.staff
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/5/run/c/closure_class_T596/closure_class_T596.cpython-39-x86_64-linux-gnu.so", line unknown line number, in staff
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/5/run/c/closure_class_T596/closure_class_T596.cpython-39-x86_64-linux-gnu.so", line ?, in closure_class_T596.staff
Failed example:
    kls.klass()
Expected:
    ('Foo', 1, 2)
Got:
    ('type', 1, 2)
======================================================================
FAIL: staff (closure_class_T596)
Doctest: closure_class_T596.staff
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for closure_class_T596.staff
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/5/run/cpp/closure_class_T596/closure_class_T596.cpython-39-x86_64-linux-gnu.so", line unknown line number, in staff
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/5/run/cpp/closure_class_T596/closure_class_T596.cpython-39-x86_64-linux-gnu.so", line ?, in closure_class_T596.staff
Failed example:
    kls.klass()
Expected:
    ('Foo', 1, 2)
Got:
    ('type', 1, 2)
----------------------------------------------------------------------
======================================================================
FAIL: B (py2_super)
Doctest: py2_super.B
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py2_super.B
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/0/run/c/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/0/run/c/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line ?, in py2_super.B
Failed example:
    B.class_method()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest py2_super.B[2]>", line 1, in <module>
        B.class_method()
      File "tests/run/py2_super.pyx", line 37, in py2_super.B.class_method
        return super(B, cls).class_method()
    TypeError: super(type, obj): obj must be an instance or subtype of type
======================================================================
FAIL: B (py2_super)
Doctest: py2_super.B
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py2_super.B
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line ?, in py2_super.B
Failed example:
    B.class_method()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest py2_super.B[2]>", line 1, in <module>
        B.class_method()
      File "tests/run/py2_super.pyx", line 37, in py2_super.B.class_method
        return super(B, cls).class_method()
    TypeError: super(type, obj): obj must be an instance or subtype of type
----------------------------------------------------------------------
======================================================================
FAIL: classmethod ()
Doctest: classmethod
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for classmethod
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 1, in classmethod
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 9, in classmethod
Failed example:
    class1.bview()
Expected:
    class1
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 11, in classmethod
Failed example:
    class1().bview()
Expected:
    class1
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 21, in classmethod
Failed example:
    class3.bview()
Expected:
    class3
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 23, in classmethod
Failed example:
    class3().bview()
Expected:
    class3
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 28, in classmethod
Failed example:
    class4.view()
Expected:
    class4
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 30, in classmethod
Failed example:
    class5.view()
Expected:
    class5
Got:
    type
======================================================================
FAIL: classmethod ()
Doctest: classmethod
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for classmethod
  File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 1, in classmethod
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 9, in classmethod
Failed example:
    class1.bview()
Expected:
    class1
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 11, in classmethod
Failed example:
    class1().bview()
Expected:
    class1
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 21, in classmethod
Failed example:
    class3.bview()
Expected:
    class3
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 23, in classmethod
Failed example:
    class3().bview()
Expected:
    class3
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 28, in classmethod
Failed example:
    class4.view()
Expected:
    class4
Got:
    type
----------------------------------------------------------------------
File "/builddir/build/BUILD/cython-0.29.15/TEST_TMP/4/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 30, in classmethod
Failed example:
    class5.view()
Expected:
    class5
Got:
    type
----------------------------------------------------------------------

always_allow_keywords_T295 looks to still be failing in the most recent master. The other tests all look to pass.

This seem to fix some of the classmethod issues: 1bb26b964060392ecb08c3b6c8ca4626e5c1eec7

I will try to backport these changes and see if that works.

They came from #3106.

Even with both  #3351 and #3106 backported, I still get tons of errors:
I can't really figure out what's going on here.
======================================================================
FAIL: classmethod ()
Doctest: classmethod
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for classmethod
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 1, in classmethod

File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 9, in classmethod
Failed example:
class1.bview()
Expected:
class1
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 11, in classmethod
Failed example:
class1().bview()
Expected:
class1
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 21, in classmethod
Failed example:
class3.bview()
Expected:
class3
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 23, in classmethod
Failed example:
class3().bview()
Expected:
class3
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 28, in classmethod
Failed example:
class4.view()
Expected:
class4
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 30, in classmethod
Failed example:
class5.view()
Expected:
class5
Got:
type
======================================================================
FAIL: classmethod ()
Doctest: classmethod
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for classmethod
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 1, in classmethod

File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 9, in classmethod
Failed example:
class1.bview()
Expected:
class1
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 11, in classmethod
Failed example:
class1().bview()
Expected:
class1
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 21, in classmethod
Failed example:
class3.bview()
Expected:
class3
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 23, in classmethod
Failed example:
class3().bview()
Expected:
class3
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 28, in classmethod
Failed example:
class4.view()
Expected:
class4
Got:
type
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/classmethod/classmethod.cpython-39-x86_64-linux-gnu.so", line 30, in classmethod
Failed example:
class5.view()
Expected:
class5
Got:
type
======================================================================
FAIL: B (py2_super)
Doctest: py2_super.B
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py2_super.B
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B

File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/c/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line ?, in py2_super.B
Failed example:
B.class_method()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
exec(compile(example.source, filename, "single",
File "<doctest py2_super.B[2]>", line 1, in
B.class_method()
File "tests/run/py2_super.pyx", line 37, in py2_super.B.class_method
return super(B, cls).class_method()
TypeError: super(type, obj): obj must be an instance or subtype of type
======================================================================
FAIL: B (py2_super)
Doctest: py2_super.B
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for py2_super.B
File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line unknown line number, in B

File "/home/vagrant/rpmbuild/BUILD/cython-0.29.15/TEST_TMP/0/run/cpp/py2_super/py2_super.cpython-39-x86_64-linux-gnu.so", line ?, in py2_super.B
Failed example:
B.class_method()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 1329, in __run
exec(compile(example.source, filename, "single",
File "<doctest py2_super.B[2]>", line 1, in
B.class_method()
File "tests/run/py2_super.pyx", line 37, in py2_super.B.class_method
return super(B, cls).class_method()
TypeError: super(type, obj): obj must be an instance or subtype of type

Ran 3507 tests in 2338.001s
FAILED (failures=4, skipped=2)
Following tests excluded because of missing dependencies on your system:
run.numpy_pythran
run.numpy_pythran_unit
run.test_exceptions
TestCodeFormat
FAILED (0/4)
ALL DONE (0/4)

I tried the 0.29.17 release, but there are still errors:
logs: https://download.copr.fedorainfracloud.org/results/davidsch/python3.9/fedora-rawhide-x86_64/01354672-Cython/builder-live.log.gz

0.29.19 w/ 3.9.0b1 is even worse:
FAILED (failures=10, skipped=66)

build.log

I've added 3.9 to the release branch builds in travis, but allowed it to fail, e.g.
https://travis-ci.org/github/cython/cython/builds/689381624
So, yes, a few tests are failing. Help wanted to fix these issues. Cython 3.0 tests cleanly on the latest Py3.9. Backports should be limited, no features, only fixes. Cython 0.29.x is in maintenance and forwards-compatibility only mode.

Sadly, we're now hitting real failures in pandas due to this:
ImportError while loading conftest '/var/tmp/4/portage/dev-python/pandas-1.0.4/work/pandas-1.0.4-python3_9/lib/pandas/conftest.py'.
pandas/conftest.py:755: in <module>
    ("period", [pd.Period(2013), pd.NaT, pd.Period(2018)]),
pandas/_libs/tslibs/period.pyx:2475: in pandas._libs.tslibs.period.Period.__new__
    ???
pandas/_libs/tslibs/resolution.pyx:240: in pandas._libs.tslibs.resolution.Resolution.get_freq
    ???
E   AttributeError: type object 'type' has no attribute '_reso_freq_map'

This looks quite similar to the classmethod.pyx test failure. I've spent 3 hours trying to find a relevant commit with no luck. I've also tried to bisect master but I've reached irrelevant build failures before I rewinded it enough to get the test to fail.

(and pandas fail even worse with cython 3.x)

Good news, everyone! I did a second bisect attempt today, and this I've managed to find a fix: c9b8dfad146402d24db6d07800d29e0d367abf6f apparently.

(sorry, pasted wrong commit id)

@mgorny that's a commit that we wanted to backport anyway (from #3106, see the discussion above).

Sorry for that. I picked it over to the 0.29.x branch now, to avoid even more duplicate work. Not sure if #3102 should also be backported. That would probably be more work, so I'll leave it out for now.
According to https://github.com/cython/cython/issues/3349#issuecomment-597189353, there are more issue left after that. Those still need investigation.

I'm doing another test run, so if it finishes before Travis, I'll paste what still fails. However, this backport was sufficient to fix pandas for me.

Looks like I'll have to revert it since it makes the code fail in Py2.[67].

Maybe make the block conditional to py2?

I reverted the pick. You can wade your path through this, if you want. I'm not overly focussed on making 0.29.x work with Py3.9+ currently.
It seems that the relevant tests to run are selected by
runtests.py -vv --backend=c --debug super function method static

I've filed #3683 as a stop-gap solution. I think it's good enough as it fixes classmethods with py3.9 without (apparently) breaking anything that wasn't broken before. The staticmethods remain broken with py2 but that's not a regression, so I suppose we can live with it until someone figures out a better way.

Apparently PyUnicode_FromUnicode has been deprecated. We hit the PyUnicode_FromUnicode(NULL, 0) call in __Pyx_decode_c_string in NumPy, xref numpy/numpy#16640

already fixed on master, but not in 0.29.20 nor in 3.0a5

I'll probably backport #3697 to 0.29.21 but wanted to wait until it a) works and b) received at least a bit of testing.

If you create a backport PR, I can give it some Fedora testing.

@hroncok could you test the latest 0.29.x (or release) branch?
It contains a somewhat questionable change that makes it generate different code on 16-bit Py2.x Unicode platforms (including Windows), and hopefully only there – that's what I would like to be sure about.

The builds are here: https://copr.fedorainfracloud.org/coprs/g/python/cython-0.29.x-tests/monitor/
I've built Cython without tests first and with tests enabled later. The tests-enabled build failed because of new numpy (I think).
I won't be able to investigate other failures any time now, sorry.
You can click the failed link in the right column to investigate a failure, than builder-live.log.gz on the bottom of the page.
There might be unrelated failures such as nothing provides font(fontawesome) needed by python3-sphinx_rtd_theme-0.4.3-13.fc33.noarch that we've just hit in Fedora.

Thanks @hroncok, that's very helpful. I've looked through the failures.

The tests-enabled build failed because of new numpy (I think).

Yes, there is a bug in NumPy 1.19.0 that they'll probably fix in the next release. I had already disabled the NumPy installation of 1.19.0 as a test dependency, but if it's installed already, then the tests will still run. Those are the only test failures, though. I'll see if I can somehow disable the test itself for the specific NumPy version, but since it's a compile time failure, that's a bit tricky.
The other test failures do not seem "obviously related", so overall everything seems fine for a release.

Ok, I had to start over with the Unicode C-API changes. The previous implementation was merging spelled-out surrogates in Py3 code. 13eb4498b70c947cd1bb972dcf4ebd75f609d3e4 now uses the unicode_escape codec to store surrogates, because that seems to be the only codec that can pass them through. The caveat is still that it generates different code on Py2 16-bit Unicode platforms.
I would not normally introduce a breaking change like this in the 0.29.x release series (it would be a clear 3.0 change), but since everyone is shouting "support 3.9! support 3.9!", and since many projects have already dropped Py2 support, I'm valuing Py3.9 support higher than Py2.[67] support on Windows here. (Already waiting for the corresponding bug report to come in…)
@hroncok, could you please rerun the Fedora builds with the latest branch? Thanks!

@hroncok, could you please rerun the Fedora builds with the latest branch? Thanks!

On it.

Builds running/pending in https://copr.fedorainfracloud.org/coprs/g/python/cython-0.29.x-tests/monitor/

Maybe we can setup a CI that continuously (or daily) rebuilds the 0.29.x branch there and all the dependent packages. Let me know if you are interested.

Thank you. The errors look pretty much the same as before, and still seem unrelated.
Time for a new release.


Allow creating headers after reading body content in Wasm

It looks like it's not possible today because the function to manipulate headers is only called before the function to access the body.
I talked to @yuval-k who thinks it's due to this:
https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/c932df12c9db59d331dcb1020174d5f911f67244/src/context.cc#L500
My use case is to generate a new header representing the hash of the body data.

In this scenario, StopIteration should be return in onRequestHeaders phase since a new header representing the hash of the body data need to be added, but proxy-wasm converts StopIteration to StopAllIterationAndWatermark which makes the filter chain stop unless continueDecoding called, but where should we call the continueDecoding in this scenario? cc @mpwarres @PiotrSikora

This scenario is not currently supported in Proxy-Wasm (although, it will be handled better in the next version of the ABI).
Having said that, for something like "hash of the body data", you should really use HTTP trailers and compute hash while streaming the request/response body. Otherwise, you need to buffer the whole request/response body in the proxy, which will eventually trigger out-of-memory crashes.

@PiotrSikora the request body tends to be small in most use cases (apart form file uploads) and there are many examples where a hash of the body can be useful at the gateway level.
For example, to apply rate limiting or authorization based on the request body, especially for REST or GraphQL APIs.

@djannot but "small body" is by no means a rule and in significant number of cases (file uploads and response bodies) the body is larger than the proxy buffer size and/or flow control.
As such, this is not something that could be "simply" enabled, without accounting for deadlocks, risking crashing plugins (if Wasm memory limit is enforced), risking crashing proxy (if Wasm momory limit is not enforced). Again, this is something that we want to address in the next version of the ABI, but simply returning something like StopIteration is not even close to being sufficient.


fix: Update binary paths for BeamNG v0.33

BeamNG.drive v0.33 renames 'Bin64/BeamNG.drive.x64.exe' -> 'Bin64/BeamNG.x64.exe' and 'BinLinux/BeamNG.drive.x64' -> 'BinLinux/BeamNG.x64'. This PR adds the new names to the BINARIES and BINARIES_LINUX so they can be found.

Hello, BeamNG.tech 0.33 has not been released yet, please wait for BeamNGpy v1.30, which includes proper binary names.


Not support live-reloading?

npm start
change file components/header.js
browser doesn't reload automatically

The hot reloading functionality is mostly configured but the core peace that reloads the App is commented out, will need to fix that:
https://github.com/koistya/react-static-boilerplate/blob/master/core/app.js#L23-L31

+1 for live reload

Oh, there is one more thing to live reload.. I think that code splitting should be disabled in order to make React Hot Loader work with Webpack 2.x.. trying to figure out, what the best way to do it. For example, live reload can be enabled by default when you run npm start, or maybe it's better to add a flag for it, like npm run -- --hmr or something like that, so you could test the site with Live Reload (requires modifications to the bundle), and also without Live Reload, where website will look more to what is actually going to be deployed.

I think adding a flag is a good idea

@zzswang @upq I think Hot Module Replacement (HMR) and React Hot Loader should work fine now, please let me know if there are still any issues. This is enabled by default when you launch the project by running:
$ node run              # same as `node run start`, `npm start`

There is also --no-hmr flag that effectivly disables "live reload":
$ node run --no-hmr     # same as `nor run star --no-hmr`, `npm start -- --no-hmr`


Improve natural sort

Hugely simplify the code, and add more tests (only new approach could pass)

Maybe add some test cases from https://github.com/maruel/natural as well.

How does the current algorithm compare to that package in terms of memory consumption/speed? Would it make sense to just depend on that package?

I would like to trust the official Golang package, and it has already been used.
The "NaturalSortLess" is not on the hot path. The code around it is much slower than it. So there should be no performance problem.

If current implementation is kept, maybe add some test cases from https://github.com/maruel/natural as well.

natural doesn't work and won't pass the tests, because it doesn't handle "unicode"

If current implementation is kept, maybe add some test cases from https://github.com/maruel/natural as well.

maruel/natural doesn't work and won't pass the tests, because it doesn't handle "unicode"
And I think the current tests are good enough.

right, if it doesn't even support unicode, it's a no-go.


libmemcached-awesome: Upgrading version to 1.1.4 to address CVE-2023-27478

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ ] The toolchain has been rebuilt successfully (or no changes were made to it)
[ ] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ ] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[ ] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ ] Documentation has been updated to match any changes to the build system
[ ] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Upgrading libmemcached-awesome version to 1.1.4 to address CVE.
Change Log

CVE-2023-27478

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-27478

Test Methodology

Pipeline build id: Run

Ptest note: the one failing ptest is libguestfs, which is a known failing test and it's not a regression. The change is good to merge once approved by @microsoft/cbl-mariner-stable-maintainers.

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/9805

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=603434&view=results


Chain Identifier

Closes #340
Rather than adding chain ID as a new field to the transaction, this approach includes chain id as part of our identifier hashing procedures. This means predicates, contracts and transactions will be innately chain specific, preventing cross-chain replay.
Consider the scenario where there are two instances of fuel (e.g. app-specific rollups) that each have the same contracts deployed. If a user signs a transaction to transfer tokens without a chain identifier, the same transaction could potentially be replayed on the second chain unintentionally. While this would require the same input utxos to exist on both chains, there are still certain scenarios where this could occur and cause a single transaction to be used for multiple transfers across different chains.
I considered hashing CHAIN_ID's into Message ID's, but didn't see any obvious benefits since it wouldn't be emitted by or committed to on L1. It may be worth considering an alternative approach such as a new chain_id field for messages to ensure the same message can't be used on multiple chains. However, since predicate messages are primarily used in the current bridging designs, this should already be covered for the majority of use-cases.

Do we need to add a new opt code that allows getting chain id?

We could add it to the GM opcode as a new arg. Seems like it would be useful to have this.

Chain ID would be useful not only for transactions, but also signed messages. E.g. https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator

uint256 chainId the EIP-155 chain id. The user-agent should refuse signing if it does not match the currently active chain.

Updated the PR:

GM arg for CHAIN_ID
Made contract ID chain agnostic
Added separate predicate root ID which is chain specific.


It would be nice if Middleman could run as a daemon background process

For example, Webrick has the -d option and Rack has --daemonize.
That way I could leave Middleman running on a dev server or my local Mac without having to keep a terminal open.
Note that $ middleman & works, as in it keeps the process alive after closing terminal, but the web server is unresponsive.

What about running it with screen? Or write a unit-file if you're using systemd (dev server)? Did you tried that?

Maybe you need to install screen first. Alternatively use tmux what I prefer over screen.

This should be fixed now with https://github.com/middleman/middleman/pull/1683

Works! Awesome! :sparkling_heart:

This is great! But I think it breaks livereload when overriding the host.
configure :development do
  activate :livereload, host: "<IP_ADDRESS>"
end

middleman serve --bind-address <IP_ADDRESS> -d

Can it be that when putting it in background via "-d" middleman no longer sees any file changes?