CupertinoTimerPicker wrong text

Steps to Reproduce
All numbers are not displayed.
You can fix it if you use your own font and not the default font (.SF Pro Text).

  runApp(
    CupertinoApp(
      home: CupertinoTimerPicker(
        initialTimerDuration: Duration(hours: 23, minutes: 46),
        mode: CupertinoTimerPickerMode.hm,
        onTimerDurationChanged: (duration) {},
      ),
    ),
  );

Target Platform: iOS
Target OS version/browser: 13.2.2
Devices: iPhone X, iPhone 11 (Simulator)
Logs
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15.1 19B88, locale en-BY)
    • Flutter version 1.9.1+hotfix.6 at /Users/nikitadol/development/flutter
    • Framework revision 68587a0916 (9 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nikitadol/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/nikitadol/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B500
    • CocoaPods version 1.8.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/nikitadol/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.4)
    • IntelliJ at /Users/nikitadol/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 39.0.5
    • Dart plugin version 192.6603.23

[✓] Connected device (2 available)
    • Pixel 4   • 99161FFAZ00D3L                       • android-arm64 • Android 10 (API 29)
    • iPhone 11 • BC569458-D8E8-467D-ABA0-C1F785538D07 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)

• No issues found!

This looks like a dup of https://github.com/flutter/flutter/issues/36112. Could you try switching to a channel that has the fix (e.g. master), and see if this still happens?

@LongCatIsLooong
Flutter (Channel master, v1.12.5-pre.26, on Mac OS X 10.15.1 19B88, locale en-BY)

Everything is fine, for now. But now the widget does not change size.

           SizedBox(
              height: 310,
              width: double.infinity,
              child: CupertinoTimerPicker(
                initialTimerDuration: widget.initialTimerDuration,
                mode: CupertinoTimerPickerMode.hm,
                onTimerDurationChanged: (duration) {
                  currentDuration = duration;
                },
              ),
            )

@nikitadol that's expected because the native UIDatePicker has a fixed width of 330 (the widget still has a variable height iirc).

@LongCatIsLooong Does this mean that I cannot do the same?
textField.inputView = UIDatePicker()

@nikitadol whoa interesting thanks for pointing out! The width of the picker should not be fixed. Mind if I re-purpose the issue to track the width issue, since it looks like the text soft wrapping bug has been fixed?


Prefix_Adapter& MHAdapter_Layer in the petl/petl_factory.py seems to be not used

"Adapter" is not defined.
class Prefix_Adapter(nn.Module):
    def __init__(self, args, config):
        super().__init__()
        self.prefix = Prefix(args, config)
        self.adapters = Adapter(args, config) # "Adapter" is not defined

    def forward(self, bsz, nsamples=1, device="cuda"):
        prefix = self.prefix(bsz, nsamples, device)
        adapters = self.adapters(bsz)

        for ii, dic in enumerate(adapters):
            for key, value in dic.items():
                prefix[ii][key] = value
        return prefix

embed_dim is not defined: https://github.com/jxhe/unify-parameter-efficient-tuning/blob/master/src/transformers/models/roberta/modeling_roberta.py#L203
src_len is not defined: https://github.com/jxhe/unify-parameter-efficient-tuning/blob/master/src/transformers/models/roberta/modeling_roberta.py#L349
src_len is not defined: https://github.com/jxhe/unify-parameter-efficient-tuning/blob/master/src/transformers/models/roberta/modeling_roberta.py#L350

Thank you for capturing these oversights! We just fixed them


feat: support packageManager in package.json

Allows the packageManager field in a project's package.json file to override the version input. This would enable a project to manage its bun version in a single place. This is how pnpm setup action does it!
Bun has also just been added to the regex for packageManager in the established JSON schema!

thanks!


FancyZones used to remember the layout for different screen resolutions, now it keeps the same when changing resolution.

Microsoft PowerToys version
0.55.2
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce

Set Layout A for resolution 1
Change resolution
Set Layout B for resolution 2
Change back to resolution 1
Still shows Layout B

✔ Expected Behavior
I have a monitor that I change the resolution twice a day.  On one resolution I have higher resolution with 8 zones and another, lower resolution with 4 zones.
Before the last update, when I changed resolutions, FZ would remember if it's 8 or 4. Now it keeps what I had before changing resolution, i.e., if i was on the higher resolution with 8 zones and change to the smaller one, i still have 8 zones

Set Layout A for resolution 1
Change resolution
Set Layout B for resolution 2
Change back to resolution 1
Expect to see Layout A

❌ Actual Behavior

Set Layout A for resolution 1
Change resolution
Set Layout B for resolution 2
Change back to resolution 1
Still see Layout B

Other Software
No response

I can't reproduce this. Can you post /bugreport? Thanks
/needinfo

Attached is the bug report. I reproduced the issue just before creating the bug report to make sure it still happens.
PowerToysReport_2022-02-17-07-09-49.zip

When resolution changes, FanzyZones did not remember the layout, however, I set up a custom zone in resolution A, and this made both resolutions remember their layouts.

Hi friends! This bug is relatively old. In an effort to clear out any stale bugs, could you please let us know if this bug is still showing up on any of the latest builds, 0.74 or up!
/needinfo

This is still happening, but the workaround I have is to have shortcuts to set the fancy zone arrangement I want when my resolution changes.
I have attached the zip file generated for a bug. I just updated and restarted, the version is 0.74.1.
PowerToysReport_2023-10-27-11-08-36.zip

@stefansjfw - is the zip above helpful for understanding the underlying issue for the bug?


Added sass partial

Sass can't import standard css files as partials. Added a new file to support this functionality.

Hi @invmatt,
I think this is better suited as an outside add-on or build step juggle.


Support for Typescript

Any chance for a simple typescript definition file for this?
I am trying to use it in a visual studio project that compiles with typescript. When I do this:
 import {ErrorRenderer} from 'aurelia-breeze';

I get an error of:
 Cannot find module 'aureila-breeze'

I can import other framework stuff:
 import {Container, autoinject} from 'aurelia-framework'

This works fine (and seems like a similar example to 'aurelia-breeze'.
However if I exclude aurelia-framework.d.ts from my project then it gives a similar  error:
 Cannot find module 'aurelia-framework'

And when I put aurelia-framework.d.ts back in, that error goes away.
So this leads me to believe that I need an aurelia-breeze.d.ts.
I would make my own, but the setup with index.js as the core of the exports for the project is confusing me.  (I am new to typescript and javascript so I may be in over my head a bit.)

Will get this into the build, in the meantime, here's the d.ts:
declare module 'aurelia-breeze' {
  import {ValidationError, DataProperty} from 'breeze';

  export interface ErrorRenderer {
    render(rootElement: Element, error: ValidationError, property: DataProperty): void;
    unrender(rootElement: Element, error: ValidationError, property: DataProperty): void;
  }
}

The validation piece is in the process of being moved to a separate repo and integrated with aurelia-validation.  Since there will be no public API in aurelia-breeze I'm closing this issue.


Argument to createURL is now a blank string

If you use use createURL('/'). you will get a triple-slashed prefix in a standalone app; e.g. "myapp:///". You have to use createURL(''), which gives a double-slashed prefix in a standalone app; e.g. "myapp://". A blank string also produces a correct prefix in an Expo-hosted app.
READ ME PLEASE!
TL;DR: Make sure to add your changes to versioned docs
Thanks for opening a PR!
The docs cover several versions of react-navigation, and in some cases there are several files (for version 1, version 2 and etc.) that all describe a single page of the docs (eg. "Getting Started").
Please make sure that the edit you're making in docs/file-you-edited.md is also included in the file for the correct version, eg. /versioned_docs/version-3.x/file-you-edited.md for version 3. If such file doesn't exist, please create it. :+1:

Thanks for the PR, I believe this is now handled in React Navigation so it'll work fine. AFAIK there is some issue with empty string too but I'm unclear since this API has changed.
Let me know if this is still an issue.


Export doesn't seem to terminate

It's my first time trying out the extension since seeing it in a presentation last year. It installed fine and I managed to setup all azure components relatively straight forward.
Sadly I'm running into two deadends now.
In BC I added only my item table as an initial test. The files are created on my Azure Blob Storage Container but the task export in BC never terminates and remains in "In process". I've tried with various tables and all deliver the same result.
I thought the data is there might as well just run the Synapse Pipeline once. But no luck there either.
The Lookup Entities fails with the following error:
{
    "errorCode": "2100",
    "message": "ErrorCode=UserErrorFileNotFound,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: Operation returned an invalid status code 'NotFound'. Account: 'bc2adlslkn'. FileSystem: 'bc2adls'. Path: 'deltas.manifest.cdm.json'. ErrorCode: 'PathNotFound'. Message: 'The specified path does not exist.'. RequestId: '299df862-001f-0070-2b0f-cd2a0d000000'. TimeStamp: 'Sat, 12 Aug 2023 11:24:06 GMT'.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.Azure.Storage.Data.Models.ErrorSchemaException,Message=Operation returned an invalid status code 'NotFound',Source=Microsoft.DataTransfer.ClientLibrary,'",
    "failureType": "UserError",
    "target": "Entities",
    "details": []
}

I assume this has something to do with the BC task is not completing. What steps can I take to figure this out?

It seems like the completion is somehow hindered by local containers without a public IP. After trying it on a Saas Sandbox everything works as expected. Still would be nice to know why local containers don't work.


[BUG] Test case Test Longhorn dynamic provisioned RWX volume recovery failed:  Got /data/data.txt checksum = md5sum: can't open '/data/data.txt': Connection timed out

Describe the bug
Robot test case Test Longhorn dynamic provisioned RWX volume recovery failed with error:
Checked e2e-test-deployment-0-db6496856-w7fkr file data.txt checksum:
Got /data/data.txt checksum = md5sum: can't open '/data/data.txt': Connection timed out
 Expected checksum = 6dae5b70561d3899fa6196e9b9db5f0f

The workload pod's IO got stuck after the share manager pod was deleted and recreated.
@chriscchien Need your help to confirm if it's a real issue or the test case needs to be refined.
To Reproduce
Run robot test case: -t "Test Longhorn dynamic provisioned RWX volume recovery"
Expected behavior

Support bundle for troubleshooting

Environment

Longhorn version: master-head
Impacted volume (PV):
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.31.1+k3s1

Number of control plane nodes in the cluster:
Number of worker nodes in the cluster:

Node config

OS type and version: sles 15-sp6
Kernel version:
CPU per node:
Memory per node:
Disk type (e.g. SSD/NVMe/HDD):
Network bandwidth between the nodes (Gbps):

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context

Workaround and Mitigation

cc @james-munson

@chriscchien please help confirm the issue first. Thank you.

Close this ticket as test case Test Longhorn dynamic provisioned RWX volume recovery passed on e2e pipeline after the fix merged, test result


orderable_stack not Responsive

I tried integrating this widget into my project where it takes "N" no of letters from database as List Type.
Please help me how do i make it Responsive according to devices

https://github.com/chimple/maui/blob/master/lib/games/order_it.dart
this is my code link....rest 3 files i have added in components folder
Thanks in Advance!!


Adding PWA App to Homescreen and trying to send out multiple tweets

Currently testing this out on a PWA i am creating. I add the PWA to my homescreen (Android). I click the twitter button and it successfully opens the twitter app the first time. I then go back to the app and click the button again however it doesnt go back to twitter an populate the tweet.
Seems to work fine if it is used in the browser on the Android without adding it to the home screen it allows me click the twitter button multiple times

Closed this issue as I manually created the URL to compose pre-made tweets/whatsapps and seem to be specific with this inside a PWA. So no issue with the package


issue#5363 Ankit8848/update label quit

Current behavior

Proposed changes

Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will mark the commit as verified.

@Ankit8848 thank you for spending time on this.
A few things to improve before we can merge
Note that the PR has three commits in it and one of them is merge commit 22ab7bed07f5da28cafa0deca3ce39bf3839a920

We don't allow merge commits in our repo. To update to the develop branch we use git rebase instead of merge commits. Please read about how that works.
If you can't find a good reference for that please let me know and I'll try to look for a good reference.
If you follow the git rebase workflow the end result should be a single commit in the PR that only changes the label and nothing else.

sir, I have to delete this branch locally and again make changes then rebase it and push it . I have to close this pr ? @mrinalwadhwa

You can close the PR but it's not necessary. You can also force push to your branch.


Fix issue with STARTTLS

strncasecmp($this->host, 'ssl://', 6) === 0 results to false
If you add 'ssl://' to host string - connect with socket will fail

Bad code, try again.


RAINCATCHER-419: Added validate session middleware

Issue
Implement an express middleware to perform session validation.
Solution

Made source of session ID to be configurable.
session in mbaas-api has a get and set method for getting and saving sessions in cache.

JIRA Ticket
https://issues.jboss.org/browse/RAINCATCH-419

sub-task of ticket: https://issues.jboss.org/browse/RAINCATCH-406

LGTM 👍

@JameelB Looks good. Can you create a PR to a feature brach for https://issues.jboss.org/browse/RAINCATCH-406 and merge it in.

Closed for https://github.com/feedhenry-raincatcher/raincatcher-user/pull/20


Update scodec-core to 1.11.4

Updates org.scodec:scodec-core from 1.11.3 to 1.11.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.scodec", artifactId = "scodec-core" }]

labels: semver-patch

Codecov Report

Merging #116 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   37.23%   37.23%
=======================================
  Files          33       33
  Lines         948      948
  Branches       10       10
=======================================
  Hits          353      353
  Misses        595      595

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 935f50b...e365dab. Read the comment docs.


Switch components layout breaks when you change the spacing-unit to 4 while using MUIThemeProvider

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
I want to be able to change the spacing of the theme without breaking the Switch component.
Current Behavior
The Switch looks like this when toggled off:

...and like this when toggled on

Steps to Reproduce (for bugs)
I use the MUIThemeProvider like this
<MuiThemeProvider theme={createMuiTheme(             {                 palette: {                     primary: mainPalette,                     secondary: accentPalette,                     error: errorPalette,                     type: "light"                 },                 spacing: {                     unit: 4                 }             }         )}>
Your Environment

Tech
Version

Material-UI
v1.0.0-beta.34

React
16.2

browser
Current Chrome

One possible solution is to hard code the padding/margin/width values.

Thanks for answering so quickly. I don't need it urgently, it just seems like undesired behavior.

@matthiasp42 It's unlikely someone will fix it anytime soon. Feel free to submit a pull-requets.


Guys when i run git checkout v4-dev nothing comes can anyone help??

Before opening an issue:

Search for duplicate or closed issues
Validate and lint any HTML to avoid common problems
Prepare a reduced test case for any bugs
Read the contributing guidelines

When asking general "how to" questions:

Please do not open an issue here
Instead, ask for help on StackOverflow, IRC, or Slack

When reporting a bug, include:

Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Reduced test cases and potential fixes using JS Bin

When suggesting a feature, include:

As much detail as possible for what we should add and why it's important to Bootstrap
Relevant links to prior art, screenshots, or live demos whenever possible

For general how-to information, especially on using Git and GitHub, you'll have to look elsewhere. v4-dev is the default branch; you should have it when you do a fresh clone. If you don't, you might need to git fetch.


Armies license

https://github.com/Trilarion/opensourcegames/blob/master/games/strategy/armies.md does not seem to have license information attached to the source code (offered as download)
Contact the author(s) and ask for clarification and/or possibility to add a suitable license.

I got a reply:

Of course, you can modify and share it under the terms of GPL. By the way, what kind of changes do you want to introduce? Just curious...

I will convert the sources to git, add the GPLv3 and inform the maintainer about it.

I converted the sources to a Git repository and put them on Github (https://github.com/Trilarion/armies) after adding a license and a readme. I updated the entry here and contacted the authors telling him about it.


Bugfix/guble 20 testsimplepingpong fails randomly

Coverage increased (+0.2%) to 75.314% when pulling 1c8b419ece17770820c95dae8933c99d3c8e7944 on bugfix/guble-20-testsimplepingpong-fails-randomly into b3b99e33b40b46ad99e683e1e2376470b83732dc on master.


Update principal_policy.tmpl

Proposed changes

[ ]  Added ""backup-storage:MountCapsule" policy as per LP team request

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (changes to code, which do not change application behavior)

Checklist

[ ] I have filled out this PR template
[ ] I have read the CONTRIBUTING doc
[ ] I have added automated tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (README.md, inline comments, etc.)
[ ] I have updated the CHANGELOG.md under a ## next release, with a short summary of my changes

Relevant Links

Further comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Bofrost.nl has degraded performance

In 04055df, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 4360 ms

Resolved: Bofrost.nl performance has improved in 9cfc9d6 after 6 minutes.


Illegal Rego package names with hyphens from HttpPathPolicyMap

When an HTTP request path is mapped to a policy module name by the HttpPathPolicyMapper, if hyphen characters are present in the request path, the resulting Rego policy package name uses the hyphen, and is an illegal Rego package name.  For example, with a request path of /api/v1/fire-hydrants/{id}, the resulting policy module name is root.GET.api.vi.fire-hydrants.__id. The hyphen should instead be replaced with an underscore: root.GET.api.vi.fire_hydrants.__id.
Aserto Spring Version: 0.2.0
Spring Boot: 3.3.0
Java Version: 22.0.1

Thanks @reardonm!  We are reviewing this now.

Fixed in aserto-spring v0.2.2
https://central.sonatype.com/artifact/com.aserto/aserto-spring
https://github.com/aserto-dev/aserto-spring


ARROW-15067: [C++] Add tracing spans to the scanner

Continuing the work of @lidavidm in https://github.com/apache/arrow/pull/11964 in this PR. Rebased on master.

This can be closed in favor of the other PR, right?


[Feature] Allow drag of Polygons and Lines during edition

Hi there,
I'm a new user of geoman. We were previously using leaflet-draw but as it is not maintain we want to migrate to geoman plugin.
In our application we allow to edit shape one by one and we were using also leaflet-draw-drag to allow dragging shape during edition.
On geoman, it seems it is possible to drag a marker or a circle during edition but it is not possible for a Polygon or a Line. Is it a feature you want to add?
I tried some hacks to allow it by using the enableLayerDrag just after the enable. It works but the circles used to edit the shape are not moving with the shape.
I tried also to use the events pm:dragstart and pm:dragend to disable edition when dragging and enable it again after and the circle does not disappear when i disable the edition during dragging but then are well moved after dragging.
So i'm not satisfied with this solution
https://jsfiddle.net/Razielwar/hmqgn69r/

Looking for the code, i have found that it is not possible to disable edition during dragging. There is a check on the property _dragging in the disable method of all the shape types.
So the following try do the job by switching the drawing property false before disabling the edition and true again after.
https://jsfiddle.net/Razielwar/hmqgn69r/14/
With that i can implement what i want but clearly the code is horrible :). I would like to know if this feature will be available in a future version?

There is an open Feature Request for this #317 . But currently there are no plans to implement it.

I just upvoted. This feature would be great :)


NodeJS unable to make https requests when h2 enabled in Apache 2.4.18

Since upgrading to Apache 2.4.18 node is unable to get https requests, though I can see the request in the log files and it is returning a 200 status.
I have the following protocols set:
Protocols h2 http/1.1

Turning off h2 in the protocols, or rolling back to 2.4.17 resolves the issue. Node currently makes a http/1.1 request so looks like some incompatibility. Not sure if node is at fault here or Apache but as it used to work in 2.4.17 with same protocol settings.
I wonder if this change might caused the issue?:

*) core: if the first HTTP/1.1 request on a connection goes to a server that
prefers different protocols, these protocols are announced in a Upgrade:
header on the response, mentioning the preferred protocols.

I also tried reversing the Protocols config:
Protocols http/1.1 h2

This worked for Node but stopped http/2 working in Chrome and Opera (even if ProtocolsHonorOrder is set to off - though that seems to work for Firefox and Edge).
I've not seen any other issues with any other clients (browsers, scripts or online tools) except Node ones.
To repeat install Node, add an example script with code like below to call my site (www.tunetheweb.com):
var https = require('https');

var options = {
  hostname: 'www.tunetheweb.com',
  path: '/',
};

var req = https.request(options, function(res) {
  console.log("statusCode: ", res.statusCode);
  console.log("headers: ", res.headers);

  res.on('data', function(d) {
    process.stdout.write(d);
  });
});
req.end();

req.on('error', function(e) {
  console.log(e);
});

in a file called example.js and run it with the following command:
node example.js

When h2 is enabled in apache 2.4.18 nothing will be returned, but the request is logged in the apache log with a 200 status.
When h2 is enabled in apache 2.4.17 (or h2 is disabled in apache 2.4.18) the page is returned.
Alternatively sign up to a uptimerobot.com account (which uses node to test your website responds) which is where I first noticed this :-)
Let me know if there is anything more I can do to help debug or resolve.
Thanks,
Barry

Thanks for the good description. Will have to install node and run your test script against my server. Seems a protocol handling incompatiblity..
As to the behavior of chrome/opera with changed protocols order, that is a known bug in the chrome ALPN handling that is fixed in development and will at some point be released.

This is very strange. If I do not load mod_http2 into the server, but have a vhost with
Protocols xxx http/1.1, nodejs does not work either, but Protocols http/1.1 xxx works (really "xxx"). For all other clients, it does not make a difference...

Ah, got it. The answer is sent to nodejs https, but it fails to parse it. This answer fails:
HTTP/1.1 200 OK
Date: Thu, 17 Dec 2015 15:17:46 GMT
Server: Apache/2.5.0-dev (Unix) OpenSSL/1.0.2e
Upgrade: xxx
Connection: Upgrade, Keep-Alive
Last-Modified: Thu, 17 Dec 2015 15:17:39 GMT
ETag: "7d5-5271985fa6ac0"
Accept-Ranges: bytes
Content-Length: 2005
Keep-Alive: timeout=5
Content-Type: text/html

while this answer succeeds:
HTTP/1.1 200 OK
Date: Thu, 17 Dec 2015 15:19:59 GMT
Server: Apache/2.5.0-dev (Unix) OpenSSL/1.0.2e
Last-Modified: Thu, 17 Dec 2015 15:19:56 GMT
ETag: "7d5-527198e24df00"
Accept-Ranges: bytes
Content-Length: 2005
Keep-Alive: timeout=5
Connection: Keep-Alive
Content-Type: text/html

Either it is the Upgrade response header or the Upgrade token in the Connection, but that is probably easy for the nodejs https maintainer to figure out.

So we're saying needs fixed in Node?
Are we happy to leave in Apache until then given Node's popularity?
Should we make sending of this Upgrade message configurable until then?
I don't really understand the benefit of it to be honest since clients that want h2 were requesting it anyway in 2.4.17 but sure you know more about this than me!

Needs fix in Node. Sending the Upgrade header in this fashion is definitely allowed by HTTP/1.1 and Connection headers can have more than one token since ages. Whatever the problem in receiving such headers (and aborting without error), it needs fixing.
Just tested, "http" in node has the same problem.
If I make a work around, it will not be available until February. And I am even not sure I'd want to. The Upgrade header on https:  connection is mostly unnecessary. The one on http: connection is very useful to clients. So, even if I remove it on https: then the problem remains for the cleartext ones.

Fair enough. Raised with the Node guys (https://github.com/nodejs/node/issues/4334). Thanks for looking into this.

Hi @icing, the Node team have come back stating the Upgrade header is a request to upgrade, rather than an advertisement from server that clients can upgrade if they wish:
https://github.com/nodejs/node/issues/4334
And if the server sends it, the client MUST upgrade. Which is difficult given that Apache is sending this header to Node even without knowing if it supports HTTP/2 (which it doesn't), which is I guess why they are disconnecting.
Not a HTTP expert but having a (very) quick read of the HTTP/1.1 and HTTP/2 RFCs I would tend to agree with that point of view.
Thoughts? Happy to go back to them if you disagree and can point me to documentation regarding this.

Look here: http://tools.ietf.org/html/rfc7230#section-6.7
A server MAY send an Upgrade header field in any other response to
   advertise that it implements support for upgrading to the listed
   protocols, in order of descending preference, when appropriate for a
   future request.

Upgrade never happens in the client. Never, ever. They can ask anyone on the IETF http working group.

I'm with @icing here. RFC 7230 clearly says an Upgrade from a server "advertises support" for the protocols. That doesn't require the client to do anything really.

Agreed and Node team have come round too and are having a think how to correct.
It would have helped if I had read the correct HTTP/1.1 RFC - originally looked at the outdated 2616 which didn't have above paragraph :-)

Hi @icing, seen a few more people with this problem.
Node have implemented the fix but it's not in general release yet and they have concerns over back porting the fix meaning it could be some time before it's generally available to most node users and servers running them.
I know we've closed this issue and we all agree it's a Node issue and Apache is doing nothing wrong here, but any chance of a workaround with a "H2EmitUpgradeHeader" option, defaulting to true but with the ability for those affected to explicitly set this to false?
Not sure how technically feasible this is but think it would help with all our desire to push http/2 as much as possible and remove any impediments to that, especially given Node's popularity.
Thanks for your consideration and continued work on mod_http2,
Barry

Hi @bazzadp,
the functionality to announce available protocols in an Upgrade response header is part of httpd core, not a feature of mod_http2. Therefore, it is better to open an issue on Apache's bugzilla for this, if you want this changed.
Personally, I do not want a new directive for this defined and specifically HTTP protocol behaviour. The history of making switches for broken clients is not a successful one. But then, the team might decide differently.

Therefore, it is better to open an issue on Apache's bugzilla for this, if you want this changed.

I have created an entry in Apache's Bugzilla: https://bz.apache.org/bugzilla/show_bug.cgi?id=59311

I had already added this btw: https://bz.apache.org/bugzilla/show_bug.cgi?id=58971
Been there a couple of months but no one biting yet.
BTW node released the fix for this but only in version 4 and above as they don't want to risk backporting it to 0.10 or 0.12: https://github.com/nodejs/node/pull/4337. So imagine it will still cause problems for a lot of people as those versions are still popular.
Uptimerobot.com have upgraded though (thanks guys!) and so my only issue with this (for now) is resolved.

Upgrade: h2" header  not good. If I use nginx proxy_hide_header to repression this header may broken websocket service


alert fixes done

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/OfficeDocs-Exchange-Test-pr.fr-fr, working directory: W:\3dtl-s, target branch: master, target branch commit: 9ee6f41252f283f2fca8bd305efc010ab16152fc, source branch: 2c33366d867fb8878bfa182ea9b333d5/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Exchange-Server-2013/address-rewriting-on-edge-transport-servers-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/allow-message-waiting-indicator-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/allow-or-prevent-call-answering-on-a-client-access-server-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/allow-or-prevent-call-answering-on-a-mailbox-server-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/configure-federated-sharing-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/configure-oauth-authentication-between-exchange-and-exchange-online-organizations-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/configure-outlook-client-blocking-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/configure-the-ip-address-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/configure-the-startup-mode-on-a-mailbox-server-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/connect-or-restore-a-deleted-mailbox-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/content-filtering-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/create-a-transport-protection-rule-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/create-an-email-address-policy-by-using-recipient-filters-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/customize-the-built-in-dlp-sensitive-information-types-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/data-loss-prevention-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/e-mail-address-policies-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/edge-transport-server-cloned-configuration-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/enable-or-disable-transport-decryption-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/exchange-2010-servers-must-be-upgraded-to-service-pack-3-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/exchange-connectors-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/exchange-server-supportability-matrix-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/federation-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/federation-procedures-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/information-rights-management-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/manage-a-um-ip-gateway-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/manage-role-groups-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/message-throttling-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/modify-disable-or-remove-a-sharing-policy-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/move-mailboxes-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/my-marketplace-apps-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mybaseoptions-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mydiagnostics-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mydisplayname-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mydistributiongroups-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mymobileinformation-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/mypersonalinformation-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/myretentionpolicies-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/officeextensionapplication-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/offline-address-books-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/organization-management-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/permissions-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/place-a-mailbox-on-litigation-hold-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/planning-and-deployment-for-exchange-2013-installation-instructions.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/public-folders-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/recipient-policies-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/recoverable-items-folder-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/register-filter-pack-ifilters-with-exchange-2013-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/remote-and-accepted-domains-role-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/role-management-permissions-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/safelist-aggregation-exchange-2013-help.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Github workflow for running python tests and generating coverage on PRs

12/8
Merged changes for python tests and coverage on PR

https://github.com/opensearch-project/opensearch-migrations/pull/33

Upon creating a codecov.io account and allowing it to sync, coverage was successful and uploaded to PR. This may be a user specific fix though, need to verify if other contributors have a similar experience. This issue also highlights other opensearch repos that went from private to public and faced the same issue

Coverage reports seem to be consistently added to PRs now, whereas for at least a few days this was intermittent for some reason that is unclear. Closing now


[Live] Robust handling of invalid user data

Q
A

Bug fix?
yes

New feature?
yes

Tickets
Fix #528

License
MIT

Hi!
Another boring PR from me 😄.
t;dr When making an Ajax request, we now send the "original data" + "updated date". If the user sends something wacko (e.g. the word apple to a property with an int type), we can reject it and use the original data.
Cheers!

As this affects hydration, I have a small proposition: add dehydrationContext to AsLiveComponent attribute which would be passed down to serializer->denormalize context.
Use case:
I have a root DTO for a form type and I declare on the DTO properties with docblock type hints and validation constraints, but without strict typing to avoid errors.
So now the result is that my initial DTO does not hold any data because it must be filled, and if I change a single field then the dehydration fails because the initial values are null and serializer gets from the property info that the value must be a string for example. (I know that I could initialize them as empty strings, so the type would match, but I can't initialize the prop if it expects an entity from an EntityType because it's not loaded at that time)
So my expectations that the form validation would handle that the value is not a string or an empty string, etc. and at the end I'd have a valid DTO which I could use.
Currently my workaround is to create a custom denormalizer and pass down AbstractObjectNormalizer::DISABLE_TYPE_ENFORCEMENT => true but that's not a friendly solution :)

(de)normalization context added - usage for your situation
    #[LiveProp(
        denormalizationContext: [ObjectNormalizer::DISABLE_TYPE_ENFORCEMENT => true]
    )]
    public YourDto $yourDto;

What do you think about reusing the context attribute from serializer?

What do you think about reusing the context attribute from serializer?
#[LiveProp]
#[Context([ObjectNormalizer::DISABLE_TYPE_ENFORCEMENT => true])]
public YourDto $yourDto;

Same thing to complete same task, I'd agree nevertheless ☺

After I wrote that I was thinking that a property on LiveProp would be more "discoverable"

I don't think discoverability is very important as this is more of an edge-case feature. So I agree with using #[Context]. Btw, that feature (other than the "New in Symfony 5.3") looks undocumented - someone should fix that ;)

Updated to use #[Context].
Note: while we use the serialization system, we only read the "context": we're not reading and using other options like "maxDepth", etc. Also, if you have #[Context] on a live prop, then that context is used to (de)normalize any writable paths. For example, if the LiveProp is a Post object and it has a writable path that is a Category object, we don't also look on that property to see if IT also has a Context. I want to avoid getting in the weeds with complex serialization edge-cases. And, so far, other thank @norkunas' use-case, nobody has even asked for control over the serialization context yet. So giving some basic control, I think, is enough.

Merging this - it's big and important - if there are any kinks, now we can work them out.


Debug

There is a way to debug the vulcanization task? I'm getting no feedback, and there is no elements at the distribution, my project is based on polymer-starter-kit
...
[23:45:39] html all files 90.01 kB
[23:45:39] Finished 'html' after 2.85 s
[23:45:39] Starting 'vulcanize'...

You would have to ask on https://github.com/Polymer/vulcanize Nothing like that is exposed in the API: https://github.com/Polymer/vulcanize#using-vulcanize-programmatically
Errors are handled correctly: https://github.com/sindresorhus/gulp-vulcanize/blob/c904004893c394bcdb2c3e5fb61c4745210cbf43/index.js#L22
Ensure you're returning the gulp.src stream.


[CI][Dev][Python] Release and merge script errors

Describe the bug, including details regarding any error messages, version, and platform.
The "Source Release and Merge Script" jobs have been starting to fail with Python-related errors.
See for example logs at https://github.com/apache/arrow/actions/runs/6250225828/job/16968598166#step:7:50
  /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/setuptools.py:31: RuntimeWarning:
  ERROR: setuptools==56.0.0 is used in combination with setuptools_scm>=8.x

  Your build configuration is incomplete and previously worked by accident!
  setuptools_scm requires setuptools>=61

  Suggested workaround if applicable:
   - migrating from the deprecated setup_requires mechanism to pep517/518
     and using a pyproject.toml to declare build dependencies
     which are reliably pre-installed before running the build tools

    warnings.warn(
  ERROR setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section
  Traceback (most recent call last):
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/pyproject_reading.py", line 53, in read_pyproject
      section = defn.get("tool", {})[tool_name]
  KeyError: 'setuptools_scm'

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/setuptools.py", line 121, in infer_version
      config = _config.Configuration.from_file(dist_name=dist_name)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_config.py", line 128, in from_file
      pyproject_data = _read_pyproject(name, _load_toml=_load_toml)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/pyproject_reading.py", line 55, in read_pyproject
      raise LookupError(f"{name} does not contain a tool.{tool_name} section") from e
  LookupError: pyproject.toml does not contain a tool.setuptools_scm section
  Traceback (most recent call last):
    File "setup.py", line 475, in <module>
      setup(
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/distutils/core.py", line 108, in setup
      _setup_distribution = dist = klass(attrs)
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/dist.py", line 434, in __init__
      _Distribution.__init__(self, {
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/distutils/dist.py", line 292, in __init__
      self.finalize_options()
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/dist.py", line 743, in finalize_options
      ep(self)
    File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/dist.py", line 750, in _finalize_setup_keywords
      ep.load()(self, ep.name, value)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/setuptools.py", line 102, in version_keyword
      _assign_version(dist, config)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/setuptools.py", line 54, in _assign_version
      maybe_version = _get_version(config, force_write_version_files=True)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_get_version_impl.py", line 94, in _get_version
      write_version_files(config, version=version_string, scm_version=parsed_version)
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_get_version_impl.py", line 63, in write_version_files
      dump_version(
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/.eggs/setuptools_scm-8.0.1-py3.8.egg/setuptools_scm/_integration/dump_version.py", line 36, in dump_version
      assert not write_to.is_absolute(), f"{write_to=}"
  AssertionError: write_to=PosixPath('/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20230920-1658-v4ivhq/apache-arrow-14.0.0/python/pyarrow/_generated_version.py')

Component(s)
Continuous Integration, Developer Tools, Python

@AlenkaF @jorisvandenbossche

I have the same issue for 13.0 with python==3.11 in a venv environment.

I'm seeing this when attempting to build from source as well via pip on py38:
error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [38 lines of output]
      <string>:36: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Traceback (most recent call last):
        File "/home/runner/.local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/runner/.local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/runner/.local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 630, in <module>
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 303, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 680, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 700, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools_scm/_integration/setuptools.py", line 102, in version_keyword
          _assign_version(dist, config)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools_scm/_integration/setuptools.py", line 54, in _assign_version
          maybe_version = _get_version(config, force_write_version_files=True)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools_scm/_get_version_impl.py", line 94, in _get_version
          write_version_files(config, version=version_string, scm_version=parsed_version)
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools_scm/_get_version_impl.py", line 63, in write_version_files
          dump_version(
        File "/tmp/pip-build-env-x8k25mom/overlay/lib/python3.8/site-packages/setuptools_scm/_integration/dump_version.py", line 36, in dump_version
          assert not write_to.is_absolute(), f"{write_to=}"
      AssertionError: write_to=PosixPath('/tmp/pip-download-2jknfbz1/pyarrow_b07f740b726647018b58ccd586f32386/pyarrow/_generated_version.py')
      [end of output]

running: pip install pyarrow --no-binary :all: --force-reinstall --no-cache
on: macOS 13.4.1 (c) / py3.11
yields:
Collecting pyarrow
  Downloading pyarrow-13.0.0.tar.gz (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 17.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [43 lines of output]
      <string>:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Traceback (most recent call last):
        File "/Users/colinrogers/.asdf/installs/python/3.11.0/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/colinrogers/.asdf/installs/python/3.11.0/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/colinrogers/.asdf/installs/python/3.11.0/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 475, in <module>
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
                                       ^^^^^^^^^^^^
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 303, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 680, in finalize_options
          ep(self)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 700, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py", line 102, in version_keyword
          _assign_version(dist, config)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools_scm/_integration/setuptools.py", line 54, in _assign_version
          maybe_version = _get_version(config, force_write_version_files=True)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools_scm/_get_version_impl.py", line 94, in _get_version
          write_version_files(config, version=version_string, scm_version=parsed_version)
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools_scm/_get_version_impl.py", line 63, in write_version_files
          dump_version(
        File "/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-build-env-7ohys3uk/overlay/lib/python3.11/site-packages/setuptools_scm/_integration/dump_version.py", line 36, in dump_version
          assert not write_to.is_absolute(), f"{write_to=}"
      AssertionError: write_to=PosixPath('/private/var/folders/5_/1cykfnvj641gf4rsdwj6v8p00000gp/T/pip-install-gpb9c1m6/pyarrow_9cdbd6e2381142d08bbb3fe4948a984d/pyarrow/_generated_version.py')

Got same error building on jenkins with image
NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" VARIANT_ID="202309131028-2.0.1122.0"
building C++ works well
building python wheel breaks with
AssertionError: write_to=PosixPath('/pyarrow-build/arrow/python/pyarrow/_generated_version.py')
tried replace all paths with a relative path without sucess
solved the issue referencing setuptools_scm==7.1.0, since 8.0.0 deprecated write_to

Still got the similar issue in ubuntu runner image with any previous setuptools_scm versions
Collecting pyarrow==12.0.0
  Downloading pyarrow-12.0.0.tar.gz (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 16.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      <string>:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      ERROR setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section
      Traceback (most recent call last):
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 53, in read_pyproject
          section = defn.get("tool", {})[tool_name]
      KeyError: 'setuptools_scm'

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line 121, in infer_version
          config = _config.Configuration.from_file(dist_name=dist_name)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_config.py", line 128, in from_file
          pyproject_data = _read_pyproject(name, _load_toml=_load_toml)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 55, in read_pyproject
          raise LookupError(f"{name} does not contain a tool.{tool_name} section") from e
      LookupError: pyproject.toml does not contain a tool.setuptools_scm section
      Traceback (most recent call last):
        File "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])

        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 474, in <module>
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 303, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 680, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 700, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line 102, in version_keyword
          _assign_version(dist, config)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line [54]
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 94, in _get_version
          write_version_files(config, version=version_string, scm_version=parsed_version)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 63, in write_version_files
          dump_version(
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/dump_version.py", line 36, in dump_version
          assert not write_to.is_absolute(), f"{write_to=}"
      AssertionError: write_to=PosixPath('/tmp/pip-install-sjvcm0ie/pyarrow_12854cb8e10342[55]
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.

Still got the similar issue in ubuntu runner image with any previous setuptools_scm versions
Collecting pyarrow==12.0.0
  Downloading pyarrow-12.0.0.tar.gz (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 16.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      <string>:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      ERROR setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section
      Traceback (most recent call last):
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 53, in read_pyproject
          section = defn.get("tool", {})[tool_name]
      KeyError: 'setuptools_scm'

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line 121, in infer_version
          config = _config.Configuration.from_file(dist_name=dist_name)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_config.py", line 128, in from_file
          pyproject_data = _read_pyproject(name, _load_toml=_load_toml)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 55, in read_pyproject
          raise LookupError(f"{name} does not contain a tool.{tool_name} section") from e
      LookupError: pyproject.toml does not contain a tool.setuptools_scm section
      Traceback (most recent call last):
        File "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])

        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 474, in <module>
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 303, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 680, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 700, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line 102, in version_keyword
          _assign_version(dist, config)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/setuptools.py", line [54]
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 94, in _get_version
          write_version_files(config, version=version_string, scm_version=parsed_version)
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 63, in write_version_files
          dump_version(
        File "/tmp/pip-build-env-fxetnlzh/overlay/lib/python3.10/site-packages/setuptools_scm/_integration/dump_version.py", line 36, in dump_version
          assert not write_to.is_absolute(), f"{write_to=}"
      AssertionError: write_to=PosixPath('/tmp/pip-install-sjvcm0ie/pyarrow_12854cb8e10342[55]
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.

pip wheel needs to be updated to limit version to <8.0.0
Or you can compile by yourself

I have opened a PR with a quick fix where I have pinned the version of setuptools_scm . Thank you @brunoartc for sharing the info!
We should start to take steps towards changing the current build system though - as Joris already proposed here: https://github.com/apache/arrow/issues/36411.


chore: add commonJS support

@zcesur, kindly take a look at this and lemme know if I'm on the right track.

thanks caleb, can you npm install<EMAIL_ADDRESS>to see if this resolved your issue?

Awesome! I'll do this and let you know how it goes.

thanks caleb, can you npm install<EMAIL_ADDRESS>to see if this resolved your issue?

@zcesur, I'm still facing this issue.

awesome, just published a new version! :pray:

Thank you, @zcesur! 🪔


Address test instability

><EMAIL_ADDRESS>test:integration:playwright
> node . --capabilities --browser $/playwright.js

<EMAIL_ADDRESS>
00:01 │ Probing browser instantiation command
──────┴──────────────────────────────────────

00:01 │ Installing playwright...
──────┴─────────────────────────

added 2 packages in 925ms

00:02 │ Probing browser instantiation command
──────┴──────────────────────────────────────
<EMAIL_ADDRESS>in ...edtoolcache/node/18.18.0/x64/lib/node_modules/playwright
Browser capabilities :
 ├─ modules
 │  └─  playwright
 ├─ screenshot: ".png"
 ├─ scripts: true
 ├─ parallel: true
 └─ traces: ["console","network"]

00:14 │ Running tests
──────┴──────────────
Number of tests : 16
00:14 >> http://localhost:[358](https://github.com/ArnaudBuchholz/ui5-test-runner/actions/runs/6381606153/job/17318400182#step:5:359)95/tests/basic/index.html?listener=0  [lF0N6d4vHLk]
00:14 >> http://localhost:35895/tests/basic/ui5.html?listener=1    [Wcr9Vfa1y2s]
00:15 << http://localhost:35895/tests/basic/index.html?listener=0  [lF0N6d4vHLk]
✔ Loads a page 913 ms
00:15 >> http://localhost:35895/tests/basic/iframe.html?listener=2 [GhJ1k1VrwNM]
00:15 << http://localhost:35895/tests/basic/ui5.html?listener=1    [Wcr9Vfa1y2s]
✔ Loads a UI5 example 1756 ms
00:15 >> ...alhost:35895/tests/dynamic-include/one.html?listener=3 [oyJ7tN3TWuU]
00:16 << ...://localhost:35895/tests/basic/iframe.html?listener=2  [GhJ1k1VrwNM]
✔ Loads a UI5 inside an iframe 1621 ms
00:16 >> ...alhost:35895/tests/dynamic-include/two.html?listener=4 [KZ41SOa41qU]
00:16 << ...lhost:35895/tests/dynamic-include/one.html?listener=3  [oyJ7tN3TWuU]
✔ Dynamic include 814 ms
00:16 >> ...alhost:35895/tests/dynamic-include/mix.html?listener=5 [S7TRJZXc1JY]
00:18 << ...lhost:35895/tests/dynamic-include/mix.html?listener=5  [S7TRJZXc1JY]
✔ Dynamic include mixed with a static one 1818 ms
00:18 >> ...5895/tests/local-storage/index.html?value=1&listener=6 [aV228gm5S9s]
00:18 << ...lhost:35895/tests/dynamic-include/two.html?listener=4  [KZ41SOa41qU]
✔ Dynamic includes 1972 ms
00:18 >> ...5895/tests/local-storage/index.html?value=2&listener=7 [O0Jl_mkQ0Nw]
00:19 << ...895/tests/local-storage/index.html?value=1&listener=6  [aV228gm5S9s]
✔ Local storage (1) 824 ms
00:19 >> ...localhost:35895/tests/screenshot/index.html?listener=8 [HoxyFGhb4fI]
00:19 << ...895/tests/local-storage/index.html?value=2&listener=7  [O0Jl_mkQ0Nw]
✔ Local storage (2) 915 ms
00:19 >> ...://localhost:35895/tests/scripts/qunit.html?listener=9 [OYT3IaEkFEs]
00:20 << ...ocalhost:35895/tests/screenshot/index.html?listener=8  [HoxyFGhb4fI]
✔ Screenshot 1210 ms
00:20 >> ...calhost:35895/tests/scripts/testsuite.html?listener=10 [uQ9egZ64sM4]
00:21 << ...//localhost:35895/tests/scripts/qunit.html?listener=9  [OYT3IaEkFEs]
✔ Scripts (QUnit) 1581 ms
00:21 >> ...wser/webapp/test/unit/unitTests.qunit.html?listener=11 [GwmYbnvtwLE]
00:21 << ...alhost:35895/tests/scripts/testsuite.html?listener=10  [uQ9egZ64sM4]
✔ Scripts (TestSuite) 933 ms
00:21 >> .../localhost:35895/tests/scripts/iframe.html?listener=12 [FB4lUxUKkhU]
00:22 << ...localhost:35895/tests/scripts/iframe.html?listener=12  [FB4lUxUKkhU]
✔ Scripts (IFrame Coverage) 968 ms
00:22 >> ...ests/timeout/index.html?rate=100&wait=1000&listener=13 [WG81q9_9vJc]
00:23 << ...ser/webapp/test/unit/unitTests.qunit.html?listener=11  [GwmYbnvtwLE]
✔ Scripts (External QUnit) 2127 ms
00:23 >> ...ests/timeout/index.html?rate=250&wait=1250&listener=14 [$JcvJ4XzIJY]
00:24 << ...sts/timeout/index.html?rate=100&wait=1000&listener=13  [WG81q9_9vJc]
✔ Timeout (100ms) 2043 ms
00:24 >> ...://localhost:35895/tests/traces/index.html?listener=15 [WqAdCL23xak]
00:25 << ...//localhost:35895/tests/traces/index.html?listener=15  [WqAdCL23xak]
❌ Console logs [WqAdCL23xak] AssertionError [ERR_ASSERTION]: All expected logs were found
    at Object.endpoint (/home/runner/work/ui5-test-runner/ui5-test-runner/src/capabilities/tests/traces/index.js:79:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async EventEmitter.<anonymous> (/home/runner/work/ui5-test-runner/ui5-test-runner/src/capabilities/index.js:156:15) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: 5,
  expected: 6,
  operator: 'strictEqual'
}
00:25 << ...sts/timeout/index.html?rate=250&wait=1250&listener=14  [$JcvJ4XzIJY]
Report folder /home/runner/work/ui5-test-runner/ui5-test-runner/report not cleaned because of errors.
✔ Timeout (250ms) 1959 ms
Done.
Error: Process completed with exit code 1.

Not reproduced


Make webhook support caching via etag

In order to reduce traffic between webhook server and metacontroller it worth to implement content caching.
With given implementation, i.e. POST methods, most suitable mechanism would he eTagging.
How it should work:

eTag - a content hash that is supposed to be calculated of the content.
It is getting exposed as a http header when webhook server responds to the client
If client supports eTagging on next try it should send etag value of the content it cached as value of "If-None-Match" header.
When webhook server sees this header and supports eTagging, it should send 304 "Unmodified" response with empty body if content (i.e. eTag) have not changed.
Otherwise it sends full response as usual

https://github.com/metacontroller/metacontroller/pull/557

Merged


⚠ ClamAV has degraded performance

In ca4ffd2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 83 ms

Resolved: ClamAV performance has improved in 9efd736.


Add logAgent configuration options for Operator

Description

Jira: https://dt-rnd.atlassian.net/browse/K8S-10533
With this PR the LogAgent is introduced in the CR. It can be configured and applied. It is only added to v1beta3 and no conversion logic is needed. Further logic will be added in follow ups.
How can this be tested?

Apply dynakubes that use the newly introduced field, check if the fields are correctly set, see if everything works as before. Also read through my comments and correct if necessary.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.32%. Comparing base (4d9ae0d) to head (96e456b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3595   +/-   ##
=======================================
  Coverage   57.32%   57.32%
=======================================
  Files         401      401
  Lines       21225    21225
=======================================
  Hits        12167    12167
  Misses       7785     7785
  Partials     1273     1273

Flag
Coverage Δ

unittests
57.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Run multiple vault on same cluster in different namespaces

Hi There, It's amazing CRD i am using it and working well.
i have a requirement like, want to run this CRD for two vault.
My one vault is in default namespace and secret in the default namespace.
Now i have set up new vault in dev namespace and looking forward to sync secrets in dev namespace it is possible with single deployment or i have to do multiple deployments of CRD.

Hi @harshmanvar ,
I'm sorry currently this is not supported. I think this requires a change in the structure of vault-crd or an annotation that allows to define something simmilar as used in nginx-ingress to have multiple of them.
I'll think about it, maybe you have a good idea?

Hi @harshmanvar ,
I'm sorry currently this is not supported. I think this requires a change in the structure of vault-crd or an annotation that allows to define something simmilar as used in nginx-ingress to have multiple of them.
I'll think about it, maybe you have a good idea?

Hi @DaspawnW ,
Thanks a lot for writing back. i have not much explored and check the structure of vault-crd so no good idea as of now syncing multiple vaults. however, i have simply resolved the issue by deploying another vault-crd POD in respective namespace.
will update you if anything there.
Thanks a ton..!


Add reference docs generation for types

This is a starting point for auto-generation of reference docs for types in FireFly. There is a lot more work to do to fill out the detailed descriptions of the types currently listed, and we need pages for more types. But this gives us the framework we need to create this pages, and a couple of lightweight examples to start with.
https://github.com/hyperledger/firefly/issues/569

Codecov Report

Merging #811 (f380b8f) into main (3454814) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main      #811    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files          303       304     +1
  Lines        18773     18953   +180
==========================================
+ Hits         18773     18953   +180

Impacted Files
Coverage Δ

internal/reference/reference.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3454814...f380b8f. Read the comment docs.


feat(tests): Workflow to automatically test boostlet dist on PR

Hello @haehn and @shrutivarade,
I am creating this PR to submit a new feature to the boostlet developer environment. This feature as discussed with @haehn will help boostlet developers test their dist either before creating a PR (locally) or when creating a PR (automatically with github actions).
Please, before merging this PR, the following repository secrets MUST be created with Cloudinary's API info:

Here is the workflow/process of using the new testing feature locally:

Here is the workflow/process of using the new testing feature on github actions

To see an example of the bot comments on a testing PR I made fail and succeed on purpose, please visit:
https://github.com/gaiborjosue/boostlet/pull/4

For a more detailed break-down and "how-to" information about testing, please visit the readme under /tests/TESTING.md or:
https://github.com/gaiborjosue/boostlet/blob/main/tests/TESTING.md
*A future PR will be made to add the Github Actions Workflow Badge to the TESTING.md documentation.

Credits:

Rios, J. (2018, August 18). Front End Development Automation with Puppeteer. Part 3. DEV Community; DEV Community. https://dev.to/papaponmx/front-end-development-automation-with-puppeteer-part-3-3pl6
Cloudinary. (2024). Node.js SDK – Node.js Upload + Image, Video Transformations | Cloudinary. Cloudinary.com. https://cloudinary.com/documentation/node_integration#installation_and_setup
Github. (2024). actions/toolkit: The GitHub ToolKit for developing GitHub Actions. GitHub. https://github.com/actions/toolkit/tree/main
Varade, S. (2024). shrutivarade/boostlet. GitHub. https://github.com/shrutivarade/boostlet

The reason why the action failed is because currently the mainstream repository of boostlet doesn't have github actions enabled to write comments. The configuration to enable this is under Settings > Actions. It should be like this:

When updated, please tag me so I can trigger the action again :)

I found out that the bot couldn't comment on this PR due to this issue:
https://github.com/github-actions-up-and-running/pr-comment/issues/14#issuecomment-757354305
And the solution was found here:
https://github.com/housepower/ClickHouse-Native-JDBC/issues/292

Really cool! Thanks @gaiborjosue !


Add rule type for datatype checking

This PR introduces a first pass at a new metadata rule type: check_type.
Redaction for these kinds of rules will check the datatype of metadata on the image and either:

Remove the metadata if the datatype of existing data doesn't match what the rule states the datatype should be
Keep the metadata if it is of the expected type

As a first pass, these rules are tailored for tiff metadata. They have an expected_type and expected_count property, which are analogs to tifftools.Tag's datatype and count.

I imagine that as part of this development, we might want to replace some (or most?) of the base rules with type checking rules, does that make sense @manthey?

I imagine that as part of this development, we might want to replace some (or most?) of the base rules with type checking rules, does that make sense @manthey?

Yes; anything we are keeping that we can type check would be good to replace so that we validate that they are expected.  We could revisit fields we always delete to see if we can be less aggressive there.


Uncaught TypeError: Converting circular structure to JSON when redux-form

Hi thanks for the awesome project.
Just to report an issue when having redux-devtools and redux-form.
When you implement the simplest example in redux-form you get the error Uncaught TypeError: Converting circular structure to JSON.

Probably you use persistState, don't you? Does it happen without debug_session set?

I have checked and apparently I don't have a persistState

Can you please write the stack trace?

Actually, it's easy to reproduce, just by having circular references in states, which throughs in JSON.stringify. Don't know about redux-form, but I used to have this problem with redux-router, which uses circular references.
In chrome extension we use jsan, which handle circular references, and as it tries first to do JSON.stringify, there's no performance impact.
Will send a PR with tests in a couple of days.

:+1:
In general having circular references is not very good by itself. cc @erikras

Do you guys still need the stack trace?

Thanks for the cc. This is news to me. Yes, @juanpasolano, the stack trace would be nice.


Onboarding Request: FIMS

Active Development
Yes
Move source code
No
Tool name
The Fisheries Integrated Modeling System
Tool abbreviation
FIMS
Author(s)
Christine Stawitz, Andrea Havron, Matthew Supernaw, Bai Li, Kathryn Doering
Contributor(s)
Nathan Vaughan, Megumi Oshima, Ian Taylor, Kyle Shertzer, Kelli Johnson, Cole Monnahan, Chris Legault, Kristan Blackhart, Patrick Lynch, Rick Methot, Tim Miller, Huihua Lee, EJ Dick, Peter Kuriyama, Jon Brodziak
Tool logo
https://github.com/NOAA-FIMS/noaa-fims.github.io/blob/main/assets/img/logo.png
NOAA Internal
Yes
Maintainer Name
Christine Stawitz
Maintainer Email
<EMAIL_ADDRESS>Background Text
The NOAA Fisheries Integrated Modeling System is a software system designed and architected to support next-generation fisheries stock assessment, ecosystem, and socioeconomic modeling. A team of experts within NOAA Fisheries is designing and developing the system, and we are advised by the FIMS Council which includes academic, industry, and international partners. We have an operational software system that was released to the public in 2023 and is ready for beta testing, although it is still under active development. Users and developers are welcome to submit feedback using Github issues.
Citation
https://doi.org/10.5281/zenodo.10393209
References
https://zenodo.org/doi/10.5281/zenodo.10393209
Associated Tools
No response
User Organizations
https://ror.org/04950b532
Online App Link
No response
Executable Link
No response
Website Link
No response
Documentation Link
https://noaa-fims.github.io/FIMS/
Source Code Link
https://github.com/FIMS/FIMS
Software Badges
https://github.com/NOAA-FIMS/FIMS/workflows/call-r-cmd-check/badge.svg
https://codecov.io/gh/NOAA-FIMS/FIMS/branch/main/graph/badge.svg
https://img.shields.io/badge/lifecycle-experimental-orange.svg
Installation instructions
The following software is required:

R version 4.0.0 or newer (or RStudio version 1.2.5042 or newer)
the remotes R package
TMB version 1.8.0 or newer (install instructions are here.)
Windows Users
Rtools4 (available from here)

remotes::install_github("NOAA-FIMS/FIMS")
library(FIMS)

Toolbox Drawers

[ ] Ecosystems
[X] Fish and Fisheries
[ ] Human Dimensions
[ ] Protected Species
[ ] General Modeling Tools
[ ] Utility Tools

Keywords

[ ] ADMB
[X] Age Structured Model
[ ] Bayesian Modeling
[ ] Bycatch
[X] C++
[ ] Calculator
[ ] Data Exploration
[ ] Data Limited Method
[ ] Data Visualization
[ ] Decision Support Tool
[ ] Developer Utilities
[ ] Economics
[ ] Ecosystem
[ ] Ensemble Modeling
[ ] Fish Biology
[ ] Fisheries
[ ] Gradient Solver
[ ] Guided User Interface
[ ] Individual Based Model
[ ] Legacy Tool
[ ] Length Structured Model
[ ] Management Strategy Evaluation
[ ] Marine Mammals
[ ] Maximum Likelihood Estimation
[ ] Model Builder
[ ] Model Comparision
[ ] Multispecies Model
[ ] Natural Mortality Model
[ ] NOAA Branding
[ ] North Pacific
[ ] Output Visualization
[ ] Projection Modeling
[X] R Package
[ ] Reference Points Model
[ ] Risk Assessment Tool
[ ] Salmon
[ ] Sampling Decision Tool
[ ] Shiny
[ ] Simulation
[ ] Size Spectra Model
[ ] Size Structured Model
[ ] Socioeconomics
[ ] Spatial Model
[ ] Species Distribution Model
[ ] Standardized Reporting
[X] Stock Assessment Model
[ ] Stock Assessment Projections
[ ] Stock Assessment Tool
[ ] Surplus Production Model
[ ] Tag Data Model
[ ] Teaching Tool
[ ] Time Series
[X] TMB
[ ] User Utilities
[ ] Virtual Population Analysis
[ ] Visualization
[ ] Web App

Uses Github Releases
Yes
Static version number
0.2.0
Comments
No response
Code of Conduct

[X] I agree to follow the FIT's Code of Conduct

Automatically generated JSON for the onboarding request:
{
  "active_development": true,
  "tool_name": "The Fisheries Integrated Modeling System",
  "tool_abbreviation": "FIMS",
  "authors": "Christine Stawitz, Andrea Havron, Matthew Supernaw, Bai Li, Kathryn Doering",
  "contributors": "Nathan Vaughan, Megumi Oshima, Ian Taylor, Kyle Shertzer, Kelli Johnson, Cole Monnahan, Chris Legault, Kristan Blackhart, Patrick Lynch, Rick Methot, Tim Miller, Huihua Lee, EJ Dick, Peter Kuriyama, Jon Brodziak",
  "tool_logo": "https://github.com/NOAA-FIMS/noaa-fims.github.io/blob/main/assets/img/logo.png",
  "noaa_internal": true,
  "maintainer_name": "Christine Stawitz",
  "maintainer_email"<EMAIL_ADDRESS>  "background_text": "The NOAA Fisheries Integrated Modeling System is a software system designed and architected to support next-generation fisheries stock assessment, ecosystem, and socioeconomic modeling. A team of experts within NOAA Fisheries is designing and developing the system, and we are advised by the FIMS Council which includes academic, industry, and international partners. We have an operational software system that was released to the public in 2023 and is ready for beta testing, although it is still under active development. Users and developers are welcome to submit feedback using Github issues. ",
  "citation": "https://doi.org/10.5281/zenodo.10393209",
  "references": ["https://zenodo.org/doi/10.5281/zenodo.10393209"],
  "user_organizations": ["https://ror.org/04950b532"],
  "documentation_link": "https://noaa-fims.github.io/FIMS/",
  "source_code_link": "https://github.com/FIMS/FIMS",
  "software_badges": ["https://github.com/NOAA-FIMS/FIMS/workflows/call-r-cmd-check/badge.svg\nhttps://codecov.io/gh/NOAA-FIMS/FIMS/branch/main/graph/badge.svg\nhttps://img.shields.io/badge/lifecycle-experimental-orange.svg"],
  "installation_instructions": "The following software is required:\n* R version 4.0.0 or newer (or RStudio version 1.2.5042 or newer)\nthe remotes R package\n* TMB version 1.8.0 or newer (install instructions are [here](https://github.com/kaskr/adcomp/wiki/Download).)\n**Windows Users**\n* Rtools4 (available from [here](https://cran.r-project.org/bin/windows/Rtools/rtools40.html))\n```\nremotes::install_github(\"NOAA-FIMS/FIMS\")\nlibrary(FIMS)\n```",
  "toolbox_drawers": ["Fish and Fisheries"],
  "keywords": ["Age Structured Model", "C++", "R Package", "Stock Assessment Model", "TMB"],
  "uses_github_releases": true,
  "static_version_number": "0.2.0"
}

This is my drawer, so I'm going to follow this thread-- I can't assign myself but Kathryn or Christine if either of you could assign me I would be much obliged.

@ChristineStawitz-NOAA could you check and see if there are any changes you would like to this preview of the FIMS page?

Thanks @ChristineStawitz-NOAA (and @MargaretSiple-NOAA!)
FIMS has been onboarded: https://noaa-fisheries-integrated-toolbox.github.io/FIMS


Pagedown permitted to move cursor below EOF

Pagedown should clamp cursor to end of last line in file, not move past EOF

Addressed in #24


CI pipeline for js-ipfs and js-ipfs-api

Hopefully this is the right place for this 😟 ...
I'd like to modify the CI pipeline for js-ipfs and js-ipfs-api. The issues I have right now that I'd like to resolve are:

It takes a long time to be informed of a failure in web worker tests, because they're run sequentially after the nodejs tests and browser tests
The browser tests and web worker tests are run multiple times on different node versions, but they don't need to be because they are run in the browser and the only thing that needs to change is the OS
Tests would take less time to complete if nodejs/browser/webworker were performed in parallel

Would like a pipeline like this for example:
MacOS node8
MacOS node10
MacOS browser
MacOS web worker
Linux node8
Linux node10
Linux browser
Linux web worker
Windows node8
Windows node10
Windows browser
Windows web worker
Soon, would like to add:
MacOS service worker
Windows service worker
Linux service worker

Moved to https://github.com/ipfs/testing/issues/73


Add breaking change note to CHANGELOG.md

When this code became open source, I was able to pull from source instead of using a bootleg version from a collaborator who'd been given access.
Today I was seeing some bug in our tests and realised I might be running outdated code. Installing this package for node simply is another issue (#96), but once I had it installed I discovered a breaking change to the API ... within a minor semver release.
:fire: :skull: :sob:
Is this project running semver? If yes, please be more careful :heart:
I don't want people to be put off your hard work because of lots of minor cuts like this

CI is broken :sob:

Hello @mixmix , we really appreciate your feedback! Thanks for pointing this out, let me assist you here and clarify whats going on here:
Semantic release & versioning
We had removed pluto from the main bundle not on the previous PR but in this one , what you see we have removed, is a Pluto implementation from our testing scripts. To clarify.
Npm package publication
We are working actively on getting the packages published in npm repository directly without an NPM token. Meanwhile, what i could suggest is to offer our help to setup your github token properly so you can have access while its not published in the official npm repository.
Instructions to generate a valid github token.
Go to github tokens.
Open tokens (classic) and either create a new one or use an existing one. The important step here is to ensure this token has at least the following permissions:

read:packages
read:org
read: all user
read access for signing key.

Some of the permissions may be not required but at least read:packages and read:org needs to be there.

Create an .npmrc file inside the project root with the following content:
Ensure you have a local environment variable setup as GITHUB_TOKEN with the token we just created.

//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
@input-output-hk:registry=https://npm.pkg.github.com

Tell me if I can assist you in any other way, best regards.

I'm confused @elribonazo , in 2.3.0 we see this:
https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/blob/v2.3.0/src/index.ts#L6
Is that not the source code for the agent, showing pluto being exported for use?
I think now you're public with this repo, then documentation and source code can align more clearly around semantic versions.

Re the github tokens - thanks for this, I'd opted for the new version, this works with the classic token. Might be worth noting that in README


add test case for concat

should add more test case for concat auto

test concat with different a, v settings


A list of IDEs

A list of IDEs to be added.
CLI:

Vim
Emacs
Far Manager

GUI:

Codeblocks
IntelliJ IDEA
CLion
CodeLite
Geany

(Do people actually use the following for compeititive programming?)

Visual Studio
Sublime Text
Atom

Special Place:

Orwell Dev-C++
Seems to be discontinued --- again,
but many people still like it I think ...

I personally have tried everything on this list (always like to explore new software),
so I think I can say a thing or two about almost everything (except maybe Far which I couldn't manage to set it up on my Windows).
Probably won't rate this list because each has its merits.

(Do people actually use the following for competitive programming?)
Visual Studio
Sublime Text
Atom

I have used all three of these. I have to say Sublime Text is my favourite since I compile and test on the command line anyway. Visual Studio is extremely useful if you are a VC++ and C# fan (TopCoder allows C# and I've heard a few people use Visual Studio for it). Atom is open source and free, but hogs system resources like Chrome.

I personally have tried everything on this list ....  about almost everything (except maybe Far which I couldn't manage to set it up on my Windows).

Far Manager is easy to setup on Windows. Just use it with the highly extensive ConEmu Console Emulator.

Thanks for the feedback! Highly appreciated.
ST is almost impeccable in terms of text editing. I can see how it can be great for coding. I had some issues with SublimeGDB (a plugin for GDB Integration) so I wasn't sure.
VS: I see, got it!
Yeah Atom was somewhat laggy. All electron-built apps suffer from similar issues (because of the Chromium core).
Far ... well I think it might have some issues with Windows in Chinese locales. It wasn't displaying windows and characters properly on my computers. I used an locale emulator to make it work iirc.