LSTM: Training - Deserialize header failed:

lstmtraining -U  /mnt/c/Users/User/shree/jtess/samples/vie/vie.unicharset
 --script_dir /mnt/c/Usrs/User/shree/langdata  --debug_interval -1
  --continue_from  /mnt/c/Users/User/shree/jtess/samples/vie/vie.lstm
 --append_index 5 --net_spec '[Lfx256 O1c105]'
--model_output  /mnt/c/Users/User/shree/jtess/samples/vie/vielayer
 --train_listfile  /mnt/c/Users/User/shree/jtess/samples/vie/vie.training_files.txt
 --target_error_rate 0.01

  Loaded file /mnt/c/Users/User/shree/jtess/samples/vie/vie.lstm, unpacking...
Warning: LSTMTrainer deserialized an LSTMRecognizer!
Continuing from /mnt/c/Users/User/shree/jtess/samples/vie/vie.lstm
Appending a new network to an old one!!Setting unichar properties
Setting properties for script Common
Setting properties for script Latin
Warning: given outputs 105 not equal to unicharset of 227.
Num outputs,weights in serial:
  Lfx256:256, 394240
  Fc227:227, 58339
Total weights = 452579
Built network:[1,0,0,1[C5,5Ft16]Mp3,3Lfys64Lfx128Lrx128Lfx256Fc227] from request [Lfx256 O1c105]
Training parameters:
  Debug interval = -1, weights = 0.1, learning rate = 0.0001, momentum=0.9
Deserialize header failed: /mnt/c/Users/User/shree/jtess/samples/vie/vie.FreeSerif.exp0.lstmf
Load of page 0 failed!
Load of images failed!!

note: lstmf files created using windows binaries

https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#error-messages-from-training

Deserialize header failed occurs when a training input is not in LSTM format or the file is not readable. Check your filelist file to see if it contains valid filenames.

The latest version of the code does not read lstmf files created prior to Ray's recent commits.
Deserialize header failed: ~/tesstutorial/tess4training-vedic/san.Akshar_Unicode.exp-2.lstmf
[Thread 0x7ffff2bb3700 (LWP 8327) exited]
[New Thread 0x7fffef194700 (LWP 8328)]
Deserialize header failed: ~/tesstutorial/tess4training-vedic/san.Aksharyogini2.exp0.lstmf
[New Thread 0x7ffff2bb3700 (LWP 8329)]
Load of page 0 failed!
Load of images failed!!
[Thread 0x7fffef194700 (LWP 8328) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2bb3700 (LWP 8329)]
0x00007ffff70be464 in truncate (size=0, this=0x30790e8) at ../ccutil/genericvector.h:497
497           delete GenericVector<T*>::data_[i];
(gdb) backtrace
#0  0x00007ffff70be464 in truncate (size=0, this=0x30790e8) at ../ccutil/genericvector.h:497
#1  tesseract::DocumentData::ReCachePages (this=0x30790e0) at imagedata.cpp:523
#2  0x00007ffff70be839 in tesseract::ReCachePagesFunc (data=<optimized out>) at imagedata.cpp:371
#3  0x00007ffff419d184 in start_thread (arg=0x7ffff2bb3700) at pthread_create.c:312
#4  0x00007ffff6390ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

It's a moving target. and it's not guaranteed to read files generated by a previous alpha snapshot.

Ok. Closing the issue.


Retrieve WSDL file

Add support to retrieve an uploaded WSDL file for a mocked project.
The WSDL file should be retrieved by adding ?wsdl to the invoke adress.

This feature has been implemented and part of 1.16


Support sub query in computed column mapping?

Can we map as this when we have sub query?
.HasComputedColumnSql("select top 1 address.[zipcode] + ', ' + address.[details] from address where [addressId]=address.id");
}

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

ID: 5d48c064-a896-af4b-9a32-7846e848bb9e
Version Independent ID: 7d134bc7-7c34-a829-2a56-9ad6ea37015c
Content: Computed Columns - EF Core
Content Source: entity-framework/core/modeling/relational/computed-columns.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

@zxs731 The text passed to HasComputedColumnSql is opaque to EF, so if that works on SQL Server (or whatever database engine you are using) then it should work with EF.


vpc/subnet creation use the 'for_each' method

Is your request related to a new offering from AWS?
yes
Is your request related to a problem? Please describe.
When multiple subnets are defined it's indexed. So for example you have defined 3 subnet like;
["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
They are indexed like [0], [1] and [2].
When I would remove the middle subnet, the index [1] and [2] will be removed and a new index [1] will be created
Describe the solution you'd like.
Use the 'for_each' method so unwanted removal and recreation of a subnet does not happen anymore
Describe alternatives you've considered.
Create my own module...
Additional context

There are already multiple duplicates of this issue. Closing this one.


Enable act tool for running CI jobs locally

Problem
act tool allows to execute GitHub actions locally.  Actions like upload-artifact and cache use third-party services configured defined through  ACTIONS_RUNTIME_URL, ACTIONS_RUNTIME_TOKEN and ACTIONS_CACHE_URL environment variables, this dependency limits the execution of act tool.
Change overview
This change allows the execution of act tool locally for development and validation of GitHub jobs.
It also upgrade the upload-artifact GH action version to v2.
Testing
To run this locally it's necessary to install act and its dependencies described here. Once it's installed, CI jobs can be tested executing the following command:
$ act

The previous command will execute all jobs currently defined, resulting in downloading ~55 GB and consuming + 210 GB in HDD (/var/lib/docker) therefore, it's highly recommended to select the jobs to test.

$ act --list
ID                      Stage  Name
android                 0      Build Android
build_darwin            0      Build on Darwin (clang, python_lib)
build_linux_gcc_debug   0      Build on Linux (gcc_debug)
build_linux             0      Build on Linux (gcc_release, clang, mbedtls)
build_linux_python_lib  0      Build on Linux (python_lib)
cirque                  0      Cirque
darwin                  0      Build Darwin
doxygen                 0      Build Doxygen
efr32                   0      EFR32
esp32                   0      ESP32
infineon                0      Infineon examples building
k32w                    0      K32W
linux_standalone        0      Linux Standalone
mbedos                  0      Mbed OS examples building
nrfconnect              0      nRF Connect SDK
qpg                     0      QPG
telink                  0      Telink
tizen                   0      Tizen
qemu                    0      ESP32
test_suites_darwin      0      Test Suites - Darwin
test_suites_linux       0      Test Suites - Linux
unit_tests              0      Unit / Interation Tests
zap_templates           0      ZAP templates generation
$ act --job nrfconnect
[Build example - nRF Connect SDK/nRF Connect SDK] 🚀  Start image=connectedhomeip/chip-build-nrf-platform:latest
[Build example - nRF Connect SDK/nRF Connect SDK]   🐳  docker run image=connectedhomeip/chip-build-nrf-platform:latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Build example - nRF Connect SDK/nRF Connect SDK]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
...

This is awesome, thank you!
@msandstedt @saurabhst ?


Record the software version (for reporting in metadata and reporting output, and cross-reference with Docker image tag)

The version of the software used should be recorded in metadata output to enhance reproducibility.  This can also then be cross-referenced when we push software images to out Docker Hub organisation (https://hub.docker.com/orgs/globalhealthyliveablecities), to ensure our software releases clearly match up their paired analysis environment.
@gboeing provides some good examples for how to do this in the OSMnx repository, e.g. version is tracked in settings.py and a Docker build shell script is provided to facilitate tagging with version and date when building and pushing images to Docker Hub.
I think we should do similar here, as this will help mitigate potential future issues of users having mis-matched Docker image and software version.

Agreed.


(FACT-1978) support major only release version for amazon

Support for recent AMI versions of Amazon Linux 2 where /etc/system-release contains only the major version
Amazon Linux release 2 (Karoo)

CLA signed by all contributors.


200 SIM-FE-Allow the user to reset all their contracts and local storage

Added new option in settings screen to reset the contracts storage

Examples are not being restored
If there are no contracts to be reset/removed we should hide the message "All the examples will be restored..." and the note "If you want to preserve"

Fixed now @cristiam86

I'm not a frontend dev so my approval is based on manual testing 👍

Same here :)

Merging so we can release


[automation] Update go release version 1.19.4

What
Bump go release version with the latest release.
Further details
See changelog for 1.19.4
Automatically generated from https://apm-ci.elastic.co/job/apm-shared/job/bump-go-release-version-pipeline/

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-12-12T04:03:27.170+0000

Duration: 6 min 12 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
19

Skipped
0

Total
19

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Better UX for External Cloud provider vSphere

Kubernetes initiative "Moving in-tree cloud providers out" will result in more cloud providers deployed as external. Current k8s native flow for deploying cloud provider is:

Pass cloud provider = external flag to api server start arguments. Some additional arguments might be required as well
Deploy external cloud provider controller as a k8s native app (daemonset)

We have to think of a better UX for that in Rancher. Initial thoughts:

External provider toggle in the UI/API driving defaults for some cluster config fields
Followed by out of tree provider deployment from the System catalog
Some cloud provider manifests can be a part of RKE default addons specs.

@vincent99 @janeczku
gz#12549

Duplicate of https://github.com/rancher/rancher/issues/23357

Duplicate of https://github.com/rancher/rancher/issues/23357


chore: update dapi-client

Issue being fixed or feature implemented

What was done?

Dapi client was updated to 0.21.0-dev.12
How Has This Been Tested?

Breaking Changes

No
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

Closed in favor of #260


fix(fix-reamde): fixs readme

Codecov Report

Merging #94 (ee8169a) into main (8c4a529) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   87.92%   87.92%
=======================================
  Files          13       13
  Lines         497      497
=======================================
  Hits          437      437
  Misses         60       60

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 8c4a529...ee8169a. Read the comment docs.


Character Import from GCS Levelled Reaction Modifiers Off

When importing directly from GCS, Reaction Modifiers are incorrect for levelled Advantages.  When exporting then importing, Reaction Mods are correct.
For example:
Voice (+2 non levelled) imports fine.
Charisma (3) imports with a +1 to influence rolls and +1 from sapient being with whom you actively interact.
A talent that gives +1 reaction per level also imports at +1.

This is a question for @rinickolous ;-)

Fixed with: https://github.com/crnormand/gurps/pull/1231

Wow, thanks!  Sorry I directed it to the wrong venue initially - you are
the bomb!
Gerald Rose
On Tue, Jan 11, 2022 at 11:53 AM Chris Normand @.***>
wrote:

Closed #1230 https://github.com/crnormand/gurps/issues/1230.
—
Reply to this email directly, view it on GitHub
https://github.com/crnormand/gurps/issues/1230#event-5876460387, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUJFPRSDITNIMF4KGTHJFWLUVSRENANCNFSM5LVWHSLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Reading more MAM fields from mounted tape

Currently we read MAM medium metadata using SCSI commands whilst the tape is unmounted. However if the tape is already mounted then we cannot read them. The manufacturers serial number is very useful for tape identification.
It would be great if 0x0400, 0x0401, 0x405 and 0x0406 could be added as Virtual extended attributes ltfs.mediaManufacturer, ltfs.mediaSerialNumber, ltfs.mediaDensityCode and ltfs.mediaManufactureDate.
These parameters don't change so could be read just once and stored internally.

It will return everything via VEA ltfs.vendor.IBM.readAttribute

I realized the description is wrong... The drive can return different MAM values by partition. So ltfs.vendor.IBM.mediaMAM.XX would be good.
XX shall be a partition, IP or DP.


✨ Added close_connection() to sap_rfc

Summary

Added close_connection() to ensure closing connection after each session.
This change is in line with the viadot main branch: https://github.com/dyvenia/viadot/pull/676
Importance

Closing connection after each session will fix error with too many open connections in SAP as there is a limit of open SAP connections.
Checklist
This PR:

[x] follows the guidelines laid out in CONTRIBUTING.md
[ ] links relevant issue(s)
[ ] adds/updates tests (if appropriate)
[x] adds/updates docstrings (if appropriate)
[x] adds an entry in CHANGELOG.md

@AnnaGerlich pls create issue for contributing.md process as discussed


Find use cases currently not supported.

Create a page (in the wiki) to collect all use cases that might exist in turn based battles not currently supported by weasel.

The analysis has been done and all the needed issues were created.


Lower level API

This library only provides public API for http.Handlers and not net.Listeners :-(
endlessListener is private for some reason.
Please make the TCP-level API available!

hi!
the server has access to the endlessListener (https://github.com/fvbock/endless/blob/master/endless.go#l65)- but that's not what you need right?
you're asking to make the endlessListener into an EndlessListener?

Yep. I'm using net.Listen in my programs directly, so I need the TCP listener.

i am sorry i havn't done anything on this one yet. did you make a fork and make the changes you want?

Ah, nope. It's not really a priority for me right now.

Addressed by: https://github.com/fvbock/endless/pull/19


Fix Boost 1.68.0 build on MSVC.

Dear @ruslo,
As mentioned in https://github.com/boostorg/build/issues/299#issuecomment-417914915 I've integrated the patch which is in boostorg/build develop branch in a 1.68.0-p1 Boost package.

boost-1.68.0-p1 is here : https://github.com/hunter-packages/boost/pull/5.

I got my own CI with projects depending on Boost based on this version of Hunter working (VS2017 15.8.2, clang 6.0.1 macOS & gcc-7 ubuntu 16.04).
To that I've let the travis-ci build running : https://travis-ci.com/nxxm/hunter/builds/83574643
However I cannot get the appveyor build to start, it believes it's an MSBuild project, do you have any pointer on how I could set it to build ? Should I fork ingenue/hunter ?
Cheers,

However I cannot get the appveyor build to start, it believes it's an MSBuild project, do you have any pointer on how I could set it to build ? Should I fork ingenue/hunter ?

You want to pull the ingenue branch to your hunter and merge your changes in. Appveyor will then start the test process.
git pull -f https://github.com/ingenue/hunter pkg.boost:pkg.boost
git merge master (or your branch containing boost changes)

do you have any pointer on how I could set it to build ? Should I fork ingenue/hunter ?

Related docs:

https://docs.hunter.sh/en/latest/creating-new/create/cmake.html#ci-testing
https://docs.hunter.sh/en/latest/creating-new/update.html#testing

Thanks @xsacha for the short doc.
git pull -f https://github.com/ingenue/hunter pkg.boost:pkg.boost on my git did not create a local pkg-boost but instead fetch+merged the pkg.boost branch in my current one.
Just for later reuse what worked to achieve what you meant was :
git remote add ingenue https://github.com/ingenue/hunter
git fetch ingenue
git checkout pkg.boost
git merge master (or your branch containing boost changes)
git push origin pkg.boost

Related docs:

https://docs.hunter.sh/en/latest/creating-new/create/cmake.html#ci-testing
https://docs.hunter.sh/en/latest/creating-new/update.html#testing

@ruslo it might be worth it to point exactly to these CI section in the PR template. Because it says we have to run CI but I couldn't find it, though I must admit I was busy doing some FindBoost incantation on windows :smile: .
The builds are running here :

https://ci.appveyor.com/project/daminetreg/hunter/build/1.0.3
https://travis-ci.com/nxxm/hunter/builds/83616574

I'll notify once they passed. :crossed_fingers:

it might be worth it to point exactly to these CI section in the PR template

Added: https://github.com/ruslo/hunter/commit/dd51dd01b9e3ef71f440312ee3f5e84ed77cbfb6

The builds are running here

AppVeyor and Travis builds point to different commits, I guess you mean (?):

https://ci.appveyor.com/project/daminetreg/hunter/build/1.0.4
https://travis-ci.com/nxxm/hunter/builds/83616969

Thank for adding the infos :smile:

AppVeyor and Travis builds point to different commits, I guess you mean (?):

Yes indeed I made a mistake copying appveyor, they passed :
https://ci.appveyor.com/project/daminetreg/hunter/build/1.0.4
https://travis-ci.com/nxxm/hunter/builds/83616969

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.4405
https://travis-ci.org/ingenue/hunter/builds/424096935?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.4406
https://travis-ci.org/ingenue/hunter/builds/424212780?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.23.24


TypeError in step 3

in step 3: Summary of the possible designs, if/when there are no suitable designs (e.g. if budget too low, time period too long, etc.. ) the code returns a type error. Perhaps a more descriptive error message would be helpful.
TypeError                                 Traceback (most recent call last)
 in
6   matched_designs = MMclass.exhaustive_search()
7 else:
----> 8   matched_designs = MMclass.greedy_search()
9
10 if len(matched_designs) == 0:
1 frames
/usr/local/lib/python3.8/dist-packages/matched_markets/methodology/tbrmmscore.py in score(self)
87     if self._score is None:
88       self._score = Scoring(
---> 89           int(self.diag.corr_test), int(self.diag.aatest.test_ok),
90           int(self.diag.bbtest.test_ok), int(self.diag.dwtest.test_ok),
91           round(self.diag.corr, 2), 1 / self.diag.required_impact)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

@tomasvdb I got the SAME error and I have been pulling out my hair....can someone please help!

In my case, what caused the issue is that I didn’t have enough data for the algorithm to come up with a a split .Try to increase the number of you geos or collect more data On 8 Mar 2024, at 06:40, tipatubi @.***> wrote:
@tomasvdb I got the SAME error and I have been pulling out my hair....can someone please help!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@tomasvdb Hey Tomas! This is an amazing break through. I wish they would have designed these error messages more descriptive as you said. Thank you so much. I will try that tomorrow!

@tomasvdb I have been trying with this shape and still get same error:

14 geos
21 date units per geo
total 294 total rows

What is the size shape that worked for you? Thanks!

That’s still not enough data , especially if you also set the required sensitivity of the experiment to be high or if the variance in the data is high.The underlying algorithm is trying to find groups of geos that behave in similar ways. So in theory if your data is highly correlated you get away with using less data, but typically, I use 3 months of daily data for each geo If in doubt about the cause of the error, you can use some fake sample data and test with that On 8 Mar 2024, at 20:59, tipatubi @.***> wrote:
@tomasvdb I have been trying with this shape and still get same error:
14 geos
21 date units per geo
total 294 total rows
What is the size shape that worked for you? Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@tomasvdb Thank you for the tip and yes, I just tried feeding it random fake data and it worked actually! The only thing that is very unintuitive to me and wanted to see what you thought is that the code to get matched markets applies DURING the planning of the experiment, so I dont know why they require the feature for historical "cost". In my case, I am trying to find similar markets based on the response (i.e. visits to the app). How do you interpret the use of the "cost" in the input to derive matched pairs?

It’s a required field but for historical data you can just make it zero On 9 Mar 2024, at 07:31, tipatubi @.***> wrote:
@tomasvdb Thank you for the tip and yes, I just tried feeding it random fake data and it worked actually! The only thing that is very unintuitive to me and wanted to see what you thought is that the code to get matched markets applies DURING the planning of the experiment, so I dont know why they require the feature for historical "cost". In my case, I am trying to find similar markets based on the response (i.e. visits to the app). How do you interpret the use of the "cost" in the input to derive matched pairs?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@tomasvdb Thank you so much. Do you know in which part of the notebook they print out the actual geo matches (pairs)? i do not see it on my end... :(

It gets exported to a Google sheet , just look in your recent Google sheets On 9 Mar 2024, at 22:12, tipatubi @.***> wrote:
@tomasvdb Thank you so much. Do you know in which part of the notebook they print out the actual geo matches (pairs)? i do not see it on my end... :(
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Parsing fails for postgres queries with array_agg(tablenm.*)

Hi!  I'm seeing some odd behavior on aggregate functions, and wanted to report it.
Minimal repro:
let _ = r#"create table if not exists sections_tbl(i int, j int, k int);"#;
let _ = r#"insert into sections_tbl VALUES (1,1,1);"#;

// this works fine in, e.g. psql for Postgres 16
let query = r#"select array_agg(sections_tbl.*) as sections from sections_tbl;"#;

// but throws an error in sqlparser
match Parser::parse_sql(&PostgreSqlDialect {}, query) {
    Ok(res) => println!("sqlparser works: {:?}", res),
    Err(e) => println!("sqlparser does not work: {}", e),
}

// this prints:
sqlparser does not work: sql parser error: Expected an identifier or a '*' after '.', found: * at Line: 1, Column 31

I tested this on two versions, including the latest:
sqlparser = "0.41.0"
# sqlparser = "0.36.1"

Of particular interest, this does not seem to be a more general issue of failing with func(tablenm.*).
// AJR -- this one works in both psql and sqlparser
let query = r#"select greatest(sections_tbl.*) as sections from sections_tbl;"#;

match Parser::parse_sql(&PostgreSqlDialect {}, query) {
    Ok(res) => println!("sqlparser works: {:?}", res),
    Err(e) => println!("sqlparser does not work: {}", e),
}

It looks like this was broken by 823635d2fcd2642254b14b5737c9758d96a9580b, as the Token::Mul match arm is where we're failing out.  I think putting together a patch to re-add wildcard support in parse_prefix would solve this.  The special-casing for parse_array_agg_expr paths straight through parse_subexpr into parse_prefix and dies when it hits that missing match arm.
Is there any objection to me writing that up?  It probably means pulling the members of WildcardExpr enum back into the main Expr enum.

Is there any objection to me writing that up? It probably means pulling the members of WildcardExpr enum back into the main Expr enum.

I have no objection given the description you provide. I would be happy to review a PR

Sounds good, I've opened https://github.com/sqlparser-rs/sqlparser-rs/pull/1093 to address this, and added some light test coverage to help prevent future regressions.

https://github.com/sqlparser-rs/sqlparser-rs/pull/1093 is merged, this bug is now fixed.


Fix a bug of custom lookback in Safari

I tried using lens in safari.
Then I found an UI bug.
Before

After

thanks again!


Release 2.1.24

On the docket:

[x] Python 3.9.1 release reverts pex to 2.0.3 #1141
[ ] Upgrade to a patched Pip 20.3.3. #1143

Truncated the docket over to the 2.1.25 release tracked by #1144 in order to get out the Pip upgrade for Pants consumption.


Failed to download Intel Intrinsic Guide data

Hi.  I grabbed the precompiled binary package and unpacked it on my Windows system.  When I run the program I get the error shown in the title.  I know the data is accessible because I can reach it on the Intel site via web browser.
Not sure how to proceed.  Thanks.
Steve.

I just tested this with a fresh download of the latest release and it worked fine. Perhaps there was an intermittent issue with the intel site when you first ran it and trying again may correct the issue

Alternatively you can also just manually download the corresponding file and save it next to the executable and it will pick it up. The intel intrinsics come from https://www.intel.com/content/dam/develop/public/us/en/include/intrinsics-guide/data-latest.xml and should be saved as intrin.xml
The uops info comes from https://www.uops.info/instructions.xml and should be saved as uops.xml
This shouldnt be necessary but if theres an issue with your firewall blocking the app but not the browser this is one way to get around it (or just unblock it in your firewall)

I tried it on another machine and it worked fine.  Thanks for the workaround though.
And finally, thanks for a great utility.  Wish I'd found it sooner. 🙂
Steve.

From: Matthew Oliver @.>
Sent: December 27, 2024 23:36
To: Sibras/ShiftIntrinsicGuide @.>
Cc: thorax58 @.>; Author @.>
Subject: Re: [Sibras/ShiftIntrinsicGuide] Failed to download Intel Intrinsic Guide data (Issue #1)
Alternatively you can also just manually download the corresponding file and save it next to the executable and it will pick it up. The intel intrinsics come from https://www.intel.com/content/dam/develop/public/us/en/include/intrinsics-guide/data-latest.xml and should be saved as intrin.xml
The uops info comes from https://www.uops.info/instructions.xml and should be saved as uops.xml
This shouldnt be necessary but if theres an issue with your firewall blocking the app but not the browser this is one way to get around it (or just unblock it in your firewall)
—
Reply to this email directly, view it on GitHubhttps://github.com/Sibras/ShiftIntrinsicGuide/issues/1#issuecomment-2564172934, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BOAQ73AUZYWBP725JIIOC2L2HYTEJAVCNFSM6AAAAABUI6JYUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRUGE3TEOJTGQ.
You are receiving this because you authored the thread.


Add language runtime

Problem
At this point, Pitusya is just an interpter that does almost nothing: condionals and function do not make sense without IO operations.
Standard library implementation will resolve this issue

Runtime is ready
But issue will be closed when there would be enough functions

It has been moved (here)[https://crates.io/crates/pitusyastd]


Using facebook's flow typing. Limitations:-

This grammar supports facebook's flow typing system but has certain limitations.

let, var and const variables support typing but if used then the statement must be terminated with a semi-colon. Multiple variables and assignments may appear in the statement but the first must have a flow type else the grammar assumes no flow types for the remainder of the statement.

ES7 Class properties must terminate with a semi-colon. e.g. static a: number = 1;

Arrow functions must have the => on the same line as the function name/literal and parameters.

There's also a problem with syntax highlighting.  The first line containing const is marked with an error.

The language-babel syntax seems ok - correct colour etc. The message is from eslint - does it support flow? I didn't think it did?

oh, I didn't notice the ESLint badge...my bad.  I'll just check my eslint config then.  Thanks :D

Hey,
Can this be fixed? I'm using js-standard style and it's causing issues with ESLint and syntax highlighting.

@mrapogee regrettably, I don't think I can fix this ( or maybe I could but it would require a major change that I'm not willing to undertake - essentially rewrite the grammar ). If you use flow syntax in this grammar then these are fixed limitations. You can avoid eslint errors if using js standard's semi: [2, "never"] by starting a new line following the let/var/const with ;{}. and the grammar will also work correctly. Not a great solution I know.
e.g.
var a: any = 'some string'
;{}
var a: any  = 1 + 2
;{}
var a = 1

Okay, I'm just doing this for now
const system: EventSystem = buildContext.system; // eslint-disable-line semi

Thanks.

Just checking if this is a known consequence on not using a semi-colon after a flow statement. It wasn't clear that using flow without semi-colons would break things unexpectedly.
class {

  async foo() {
    const a: Object = {}
  }

  async bar() { // <- `bar` not detected as `.method` unless `;` after `const a...` above.

  }

}

Also, async becomes a .variable.readwrite.

@vjpr Yes the grammar only supports flow when I can determine a statement has ended. This is easy with functions and arrows but I need a semi-colon on const, let,var, static's. If you use an ASI coding style and in-line flow typing then this grammar is probably not best suited to you needs.
If semi's aren't your taste then you could use commented typing, such as const a /*: Object */ = {}
I'm hoping that the Atom team can allow some form of incremental AST to be used instead of TextMate style grammars but in the meantime this is the best I can do.

@vjpr  I see you've released a syntax theme that mentions language-babel doesn't support flow. I don't understand this as it fully supports flow with true scoping for flow objects. It is true that I don't support ASI syntax for certain flow statements as shown above. Also, language-babel is recommended as the flow javascript package for facebook's Nuclide project. See http://nuclide.io/docs/editor/setup/#post-installation__recommended-packages
I'm interested to understand what parts of flow I don't support?

From https://github.com/vjpr/atom-webstorm-syntax-theme

NOTE: I don't use this plugin because it doesn't fully support Flow.

What I meant was that it doesn't support Flow with ASI. I will update it.

What would it take to support Flow+ASI?

@vjpr It is quite tricky to support flow and be aware of and also scope flow syntax. It may be possible to add ASI for vars etc but it would take some time and wouldn't be bullet proof. e.g. flow typecasts ([1, "a", true]: Array<mixed>).map(x => x) starting a line, but I guess that's always an issue for ASI anyway. Looking at this thread I don't see a lot of people requesting it?
The babel-sublime grammar you mention is what this was package was based upon. The JSX and Flow have been added and other parts changed significantly. The current version of that package uses a new form of grammar syntax that is easier and better but isn't supported by Atom. Zertosh who maintains that package is on the Nuclide facebook team and chips in here sometimes.
The other grammars you mention either have issues or ignore/don't scope flow. As a trivial example take the following 3 lines and put them into the grammars you mention. Typical issues are polymorphs maybe misrepresented as a Tag start, Destructuring gives strange scopes for the target, etc.
let a: Function = function fooGood<T: { x: number }>(obj: T = {x: 1}): T { return obj; };
var obj: {a: boolean; b: string; c: Foo} = {a: true, b: "Hi", c: new Foo()};
const a=1;
var {x, y, ...o} = {x: '', y: 3, o: {z: false} }; // No flow on this line!!!

In the longer term TextMate style grammars have had their day; better an incremental AST parser such as the one GitHub's Max Brunsfield has developed - If your interested see tree-sitter and Tree Sitter Package binding. I'm hoping that Babel's babylon parser will be able to do this one day.

@gandm Thanks for the details!
The Flow syntax does look quite tricky to detect correctly with the TextMate grammars. I need to read more about incremental AST parsers.

The other grammars you mention either have issues or ignore/don't scope flow.

I would prefer to ignore Flow parsing. Would this be possible? The thing that stops me being able to use this package is that when I use Flow without semicolons, it will break the rest of the code highlighting.

@mrapogee @vjpr Just pushed 2.18.0 that supports using flow in files that use ASI. Let me know how it goes.

Thanks! I'll test it out.


Glyphs are renamed when exporting?

I am writing a Python code uses FontTools to modify the font cmap and name table without modifying glyph names. After parsing the whole code, when I double check with ttx -t post, the original glyph name of Idotaccent is missing from the post table. There is no modification to any of the other tables in the font. Opening it with FontCreator shows the glyph name to be Idot.
The full Python code is included in the ZIP file with thenecessary files to recreate the problem.
py cp_converter.py I.Ming-Regular.ttf
cp.zip

Here's what's happening:

post table v2 uses a mix between a list of "standard" glyph names and font-specific glyph names
Idotaccent is (according to the Apple TT spec and FontTools) part of the standard set
This issue's font has Idotaccent encoded as a font-specific glyph name
When compiling, FontTools sees Idotaccent, sees that it's part of the standard set, and encodes it as such, and not as a font-specific glyph name
Apparently, FontCreator thinks this standard glyph is named Idot, and shows it as such

Hmm... I see. It seems that this might be FontCreator problem? There are some glyph names that FontCreator doesn't show any glyph names at all, such as Plane 2 characters (e.g. u20000, u2ABCD) and highly complex name (e.g. fullwidthexclamationmark.crnr.vert).

It seems that this might be FontCreator problem

Yes. I have found other errors with the FC names.
And there is no way to fix them.
FontLab for example enables you to edit the name list files.
Never found a file to edit in FC.
Discovered the FontCreator glyph names issues while trying to update/fix some old Type1 conversions - and found some names wrong and/or missing. So now just use FontLab as it does a much better job in that situation.

Ok, thank you for the information.


Feature: added timeout for graceful shutdown

* dexter will try to kill monitored targets within reasonable time
* once time is up os.Exit(1) will be called.

:+1: looks sane to me
:shipit:


Question: DNS01 for internal domain

I'm not sure how to proceed with this one, I'm trying to add a wildcard dns cert following this tutorial. However while trying to test on letsencrypt staging I always get:

dns-01 self check failed for domain "internal.mydomain.com"

If I'm understand this correctly its first trying to verify the dns itself before hitting letsencrypt, the issue is that in our network all traffic to *.internal.mydomain.com gets rerouted to a specific machine, and all DNS requests get forwarded to our network's dns and get overwritten. So even if I'm able to pass a dns like <IP_ADDRESS>. it will still override it on a router level.
Is there a way I can  bypass the self check or how can I do this?

Closing as this is not really related to cert-manager and related to our DNS resolver setup.


Issue with Non-Atomic Setting of TTL with Scheduler Master Lock

I believe there's a fail condition with the setting of the master lock for the scheduler, due to the expiration not being set atomically. On this line if the scheduler process dies/crashes right after setting the master lock, the call to expire will never happen and the TTL of the key will be -1, meaning that the lock will never expire.

Good catch! There are ways to use multi or lua to accomplish this in a sort of transaction.  Are you able to create a pull request with a fix?

closed by https://github.com/taskrabbit/node-resque/pull/283


Assignment 1 Ana Sacristan

Introduction

Hi everyone, my name is Ana Sacristan. I am a PhD candidate at the Radiation Science and Technology Department. I started last October.
Describe your research in 2-3 sentences to someone that is not from your field (please avoid abbreviations)
I am studying the corrosion behavior of different alloys and ceramics exposed to molten salts. This research is aimed at understanding the corrosion damage of molten salt nuclear reactor’s structural materials.
My research entails the following aspects:

Research Aspect
Answer

Use/collect personal data (health data, interviews, surveys)
No

Use/collect experimental data (lab experiments, measurements with instruments)
Yes

Collaborate with industry
No

Write/develop software as the main output of the project
No

Use code (as in programming) for data analysis
No

Work with large data (images, simulation models)
Yes

Other:
N/A

Reflections on the importance of RDM videos

I agree with the fact that reproducibility is a fundamental part of science and that the analysis of data can lead to errors so if more people can look at it and trace back what your steps were to reach that conclusion, less errors are going to be made. It is also good to have documentation for future-self and others to continue and build-up the research. Fortunately I don’t have any horror stories and hopefully I can avoid them with this course.
What would you like to learn during this course?

I would like to have a controlled way to store my data, which is ordered and easily accessible. I would like to learn how to deal with data and feel confident that it won’t be lost.
Checklist assignments

[x] Assignment 1: creating a GitHub issue (before Class 1)
[x] Respond to the GitHub issue on 'data challenge'
[x] Assignment 2: Data Flow Map 1 (share a link in this issue before 17 May 13:00). Link: https://surfdrive.surf.nl/files/index.php/s/orNTqEiqrWytsNr
[x] Provide feedback to at least one Assignment 2 from another participant
[x] Respond to the GitHub discussion on 'licenses'
[x] Respond to the GitHub discussion on 'folder structure'
[ ] Respond to this GitHub issue with your readme file
[ ] Provide feedback to at least one readme file from another participant
[x] Assignment 3: Data Flow Map 2 (share a link in this issue before 31 May 13:00). Link:  https://surfdrive.surf.nl/files/index.php/s/mMZLCG7wngko9CJ
[ ] Provide feedback to at least one Assignment 3 from another participant
[ ] Assignment 4: Data Management Plan (before Class 2)
[ ] Respond to the GitHub discussion on 'Data Management Plans' if you have any questions (optional)
[ ] Assignment 5: Data Flow Map 3: submit your slide (before Class 2)

Hi @AnaSacristan! thanks for sharing your assignment 2!
It already looks very comprehensive: well done! I only have a couple of thoughts:

I havent seen Notion/Miro being used as a labnotebook so I'd be curious to hear about your experiences! @MPolinder also mentioned using OneNote for this purpose, so that might also be an alternative if this option doesn't work for you.
I see you're not using code for the image analysis whereas a couple of other PhDs were using Python for image analysis. Pending on how comfortable you are with programming it might be something to consider?
And just a note that your articles/literature/chapters should also be stored somewhere: will you use the same solutions?

Hi @AnaSacristan,
For the photographs of various magnifications before/after exposure, what is your system for naming the different files and experiments? I typically include a lot of identifying details in my filenames, including date, experiment number of the day, concentration of important chemicals, etc. Next to that, all of those details are of course saved in my lab notes, but I find that such as system helps me to identify relevant files quickly without the need to cross-check my notes.
For the simulated phase diagrams, do what data is stored there? Do you also store the input parameters next to your data?
For the data that is stored on the computers of the instruments, do you ever have the need to delete some of those files? In my lab these computers quickly fill up with lots of data and we occasionally have to delete older files to free up space for new experiments. I suppose that for you, your backups are sufficient, but I'm curious if you have a specific system for deleting stuff :)

Hi @EstherPlomp,
Thanks for your comments. I have been using Notion to organize my project and literature review and I recently saw a template of a Lab notebook, with one page for Lab Protocols, one for planned activities and others to write experimental conditions similar to a journal. I guess I will try that one or look at OneNote as MPolinder suggested. I was wondering if Miro was a good idea but perhaps the other two programs are better suited.
I'm not using code for the image analysis yet but I am learning Python and I do want to use it, I think it would make everything easier and more reproducible. Also to make plots, and I had a course last week (Software Carpentry Workshop from the Graduate School) where they showed how to save the code in GitHub so I think I'll do that.
As for the literature research I'm also saving everything in U: Drive, taking notes in Notion and I will start using some program as Mendeley to help with bibliography when writing.

Hi @Banalikwu,
Thank you for your feedback, It is in deed a very good practice to include information in the name of the files. What I typically include in the photographs is the date, the sample, if it is after/before exposure and the magnification as it helps me to compare the images before/after exposure with the same magnification and to be able to open them quickly. After that I include a number if I have more than one picture with the same magnification. I hope this information will be enough, otherwise as you say, I 'll have my notes.
For the phase diagrams, right now I have an Excel file with all of the parameters and the references where I found them in literature or the ones I have tried. It has worked for now. Do you have any other suggestions?
For the data stored in the computers of the instruments I have never encountered that it is erased but that is a good point to check. I am now using a microscope and I found my Masters folder (from 2016) still there with all of my images. It actually surprised me so I will ask the people in charge of the instruments about this. Thanks, it is a good point to know.

Here is my README file: https://surfdrive.surf.nl/files/index.php/s/ePE8Pe0JlegOJmH

Thanks for responding @AnaSacristan, and for sharing your READme file and assignment 3!
Regarding to your response to feedback from Assignment 2:

Miro could also work as a labnote journal - I was just wondering because I have never tried this myself and haven't seen examples yet! The most important thing is to find a solution that works for you - which may indeed take some testing :)
Well done on following the Software Carpentry Workshop!
The Umbrella/project drive can indeed be used for all types of research data. I feel obliged to also point out an open source alternative to mendeley: Zotero (it also has a word/google doc integration and the export capacities are better compared to Mendeley).

Regarding Assignment 3: Well done again - this is super extensive and comprehensive so I have very little to add! 👍
File formats:

It should be possible to export information from RSpace and eLABJournal to file formats of your preference, including .txt files. But it is safer to test this indeed :)

And I'll get back to you about the READme file later!

Great Data Management Plan @AnaSacristan. I looked through of it but I did not find a part where I would extra advice. Congrat!

And the feedback for your README: Well done: this already looks very clear!

For the title: try to be a bit more descriptive - what research question is this data trying to address? Is it a dataset underlying a publication? In that case the title can also be 'Dataset underlying the article [title article]'
ORCIDs are persistent identifiers for researchers! You can set up your own here: https://orcid.org/register and you can have a look at Anna's ORCID to see how it looks like when you have more research outputs.
For the license/restrictions you can refer to your dataset license preference: CC-BY. That is not a strict restriction, as it only requires citation, but that is still technically a restriction.
Do you not have any quality measures when you collect data? Any calibrations that take place? Particular settings that you always need to follow or monitor?

Hi @AnaSacristan , I think your README file looks indeed clear. However, aside from the title that could be more descriptive, I would also suggest to add more information to the methodology. That way someone might understand better what he is looking at when going through the data:)


Editable install using setup.py breaks without legacy feature [BUG]

setuptools version
63.2.0
Python version
Python 3.10
OS
Ubuntu 22.04 LTS
Additional environment information
No response
Description
Running pip install -e .  in a repository with a pyproject.toml present, even if pyproject.toml is only used for tool configuration
[tool.black]
line-length=100

Results in the error
      Editable install will be performed using a meta path finder.

      Options like `package-data`, `include/exclude-package-data` or
      `packages.find.exclude/include` may have no effect.

      Traceback (most recent call last):
        File "/tmp/pip-build-env-fl8nfpvg/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 138, in run
          self._create_wheel_file(bdist_wheel)
        File "/tmp/pip-build-env-fl8nfpvg/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 287, in _create_wheel_file
          strategy(wheel_obj, files, mapping)
        File "/tmp/pip-build-env-fl8nfpvg/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 441, in __call__
          namespaces_: Dict[str, List[str]] = dict(chain(
        File "/tmp/pip-build-env-fl8nfpvg/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 604, in _find_namespaces
          for pkg in packages:
      TypeError: 'NoneType' object is not iterable
      error: Support for editable installs via PEP 660 was recently introduced
      in `setuptools`. If you are seeing this error, please report to:

      https://github.com/pypa/setuptools/issues

      Meanwhile you can try the legacy behavior by setting an
      environment variable and trying to install again:

      SETUPTOOLS_ENABLE_FEATURES="legacy-editable"

exporting SETUPTOOLS_ENABLE_FEATURES="legacy-editable" does behave as expected, as does removing the pyproject.toml file.
Expected behavior
Expected install to ignore pyproject.toml without any build configuration.
How to Reproduce
No specific steps to reproduce, since a similar package installs successfully with the same setuptools version.
The command failing is
pip install -e .
Output
Building editable for my-package (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building editable for my-package (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [52 lines of output]
      running editable_wheel
      creating /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info
      writing /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/dependency_links.txt
      writing requirements to /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/requires.txt
      writing top-level names to /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/top_level.txt
      writing manifest file '/tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/SOURCES.txt'
      file my.py (for module my) not found
      reading manifest file '/tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/SOURCES.txt'
      writing manifest file '/tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package.egg-info/SOURCES.txt'
      creating '/tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package-0.23.1.dist-info'
      creating /tmp/pip-wheel-6iyrnxzp/tmpi0w89_xq/my_package-0.23.1.dist-info/WHEEL
      /tmp/pip-build-env-m2f24vth/overlay/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      running egg_info
      creating /tmp/tmpyhvg_rsh.build-temp/my_package.egg-info
      writing /tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/PKG-INFO
      writing dependency_links to /tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/dependency_links.txt
      writing requirements to /tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/requires.txt
      writing top-level names to /tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/top_level.txt
      writing manifest file '/tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/SOURCES.txt'
      file my.py (for module my) not found
      reading manifest file '/tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/SOURCES.txt'
      writing manifest file '/tmp/tmpyhvg_rsh.build-temp/my_package.egg-info/SOURCES.txt'
      file my.py (for module my) not found
      file my.py (for module my) not found
      Editable install will be performed using a meta path finder.

      Options like `package-data`, `include/exclude-package-data` or
      `packages.find.exclude/include` may have no effect.

      Traceback (most recent call last):
        File "/tmp/pip-build-env-m2f24vth/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 138, in run
          self._create_wheel_file(bdist_wheel)
        File "/tmp/pip-build-env-m2f24vth/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 287, in _create_wheel_file
          strategy(wheel_obj, files, mapping)
        File "/tmp/pip-build-env-m2f24vth/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 441, in __call__
          namespaces_: Dict[str, List[str]] = dict(chain(
        File "/tmp/pip-build-env-m2f24vth/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 604, in _find_namespaces
          for pkg in packages:
      TypeError: 'NoneType' object is not iterable
      error: Support for editable installs via PEP 660 was recently introduced
      in `setuptools`. If you are seeing this error, please report to:

      https://github.com/pypa/setuptools/issues

      Meanwhile you can try the legacy behavior by setting an
      environment variable and trying to install again:

      SETUPTOOLS_ENABLE_FEATURES="legacy-editable"
      [end of output]

@vogre Does your package have pbr installed?

@synchronizing -- no, not using pbr, also version lower than 64.0.0 (so no pakcage_dir in trace)

Thank you very much for the report @vogre, I will investigate this issue and get back to you as soon as possible.
I also believe that the issue described here may be similar to #3500. Do you think they are separated problems?

Hi @vogre, it seems that somehow, your build is indeed using v64 (the editable install was not present in v63.2.0).
pip has been reported to have a virtual environment leak on Ubuntu and Debian in the past (I believe it was fixed in recent versions). Maybe your machine also has the same leak.
Could you share some form of reproducer (for example, containing a
simplified setup.py/setup.cfg)?

In #3502, I think I manage to reproduce this particular error.

@vogre, please checkout if v64.0.1...
If it does not work for you, let me know and I will re-open this issue.

@abravalheri
I tried upgrading the setuptools version to setuptools                  64.0.1, but pip install -e . still only works if pyproject.toml is removed.

Hi @bipalauthomize can you create a new issue and share a small/simplified reproducer there?
Please also have a look on this docs section.

Hi @bipalauthomize, regarding this issue, have you figured out something regarding the sole presence of pyproject.toml, even whiteout build configuration? It might be related to the version of pip you're using. We faced the same situation and noticed that starting from pip>=21.3.1, editable install starts by downloading a setuptools version that matches your requirements stored in the build configuration (none actually) and uses it. So in our case, this issue started to raise when setuptools>=64 was released.
In the build configuration, we put:
[build-system]
requires = ["setuptools>=58,<63"]
build-backend = "setuptools.build_meta"

This ensures we get the legacy editable installation without needing the environment variable tweek.
how to replicate?
Given the project's structure:
.:
total 46
drwxr-xr-x 1 UserName 4096    0 Jan 19 08:10 .
drwxr-xr-x 1 UserName 4096    0 Dec 28 11:31 ..
-rw-r--r-- 1 UserName 4096   89 Jan 19 08:10 pyproject.toml
-rw-r--r-- 1 UserName 4096  227 Jan 18 15:36 requirements.txt
-rw-r--r-- 1 UserName 4096  259 Jan 19 07:52 setup.py
drwxr-xr-x 1 UserName 4096    0 Jan 19 07:55 src
drwxr-xr-x 1 UserName 4096    0 Jan 19 07:48 venv

src:
total 24
drwxr-xr-x 1 UserName 4096 0 Jan 19 07:55 .
drwxr-xr-x 1 UserName 4096 0 Jan 19 08:10 ..
drwxr-xr-x 1 UserName 4096 0 Jan 18 15:31 super_project

src/super_project:
total 16
drwxr-xr-x 1 UserName 4096    0 Jan 18 15:31 .
drwxr-xr-x 1 UserName 4096    0 Jan 19 07:55 ..
-rw-r--r-- 1 UserName 4096  772 Jan 18 15:31 __init__.py
-rw-r--r-- 1 UserName 4096 1302 Jan 18 15:25 __main__.py

The isolated environment is based on virtualenv==20.15.1 and Python 3.8:
pip==22.1.2
setuptools==62.6.0
wheel==0.37.1

py -3.8 -VV
Python 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]

Let's spawn a venv:
py -3.8 -m virtualenv --clear --no-download --no-periodic-update --verbose venv
find interpreter for spec PythonSpec(path=C:\Program Files\Python38\python.exe)
proposed PythonInfo(spec=CPython3.8.10.final.0-64, exe=C:\Program Files\Python38\python.exe, platform=win32, version='3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]', encoding_fs_io=utf-8-utf-8)
create virtual environment via CPython3Windows(dest=C:\Users\UserName\Projects\playgrounds\super-project\venv, clear=True, no_vcs_ignore=False, global=False)
add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\UserName\AppData\Local\pypa\virtualenv)
add activators for Bash, Batch, Fish, Nushell, PowerShell, Python
created virtual environment CPython3.8.10.final.0-64 in 1082ms
  creator CPython3Windows(dest=C:\Users\UserName\Projects\playgrounds\super-project\venv, clear=True, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\UserName\AppData\Local\pypa\virtualenv)
    added seed packages: pip==22.1.2, setuptools==62.6.0, wheel==0.37.1
  activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

With solely a setup.py, an empty but existing pyproject.toml and an src-layout package:
from setuptools import setup, find_packages

setup(
    name='super-project',
    version='0.1',
    author='Super Company',
    description='Super Project',
    package_dir={'': 'src'},
    packages=find_packages(where='src'),
    python_requires='>=3.8',
)

We clearly see that pip installs build dependencies and collects setuptools>=40.8.0 and wheel:
venv/Scripts/python -m pip list --verbose
Package    Version Location                                                                         Installer
---------- ------- -------------------------------------------------------------------------------- ---------
pip        22.1.2  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
setuptools 62.6.0  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
wheel      0.37.1  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip

venv/Scripts/python -m pip install --verbose -e .
Using pip 22.1.2 from C:\Users\UserName\Projects\playgrounds\super-project\venv\lib\site-packages\pip (python 3.8)
Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
Obtaining file:///C:/Users/UserName/Projects/playgrounds/super-project
  Running command pip subprocess to install build dependencies
  Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
  Collecting setuptools>=40.8.0
    Using cached setuptools-66.0.0-py3-none-any.whl (1.3 MB)
  Collecting wheel
    Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
  Installing collected packages: wheel, setuptools
  Successfully installed setuptools-66.0.0 wheel-0.38.4
  Installing build dependencies ... done
  Running command Checking if build backend supports build_editable
  Checking if build backend supports build_editable ... done
  Running command Getting requirements to build editable
  running egg_info
  writing src\super_project.egg-info\PKG-INFO
  writing dependency_links to src\super_project.egg-info\dependency_links.txt
  writing top-level names to src\super_project.egg-info\top_level.txt
  reading manifest file 'src\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'src\super_project.egg-info\SOURCES.txt'
  Getting requirements to build editable ... done
  Running command Preparing editable metadata (pyproject.toml)
  running dist_info
  creating C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info
  writing C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\PKG-INFO
  writing dependency_links to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\dependency_links.txt
  writing top-level names to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\top_level.txt
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project.egg-info\SOURCES.txt'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-wlb2wp3z\super_project-0.1.dist-info'
  Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: super-project
  Running command Building editable for super-project (pyproject.toml)
  running editable_wheel
  creating C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info
  writing C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\PKG-INFO
  writing dependency_links to C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\dependency_links.txt
  writing top-level names to C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\top_level.txt
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project.egg-info\SOURCES.txt'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project-0.1.dist-info'
  creating C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project-0.1.dist-info\WHEEL
  running build_py

          Editable install will be performed using .pth file to extend `sys.path` with:
          ['src']

  Options like `package-data`, `include/exclude-package-data` or
  `packages.find.exclude/include` may have no effect.

  adding '__editable__.super_project-0.1.pth'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-9z9fi6cc\.tmp-mgh2jhem\super_project-0.1-0.editable-py3-none-any.whl' and adding 'C:\Users\US~1\AppData\Local\Temp\tmpdkyq_kclsuper_project-0.1-0.editable-py3-none-any.whl' to it
  adding 'super_project-0.1.dist-info/METADATA'
  adding 'super_project-0.1.dist-info/WHEEL'
  adding 'super_project-0.1.dist-info/top_level.txt'
  adding 'super_project-0.1.dist-info/RECORD'
  Building editable for super-project (pyproject.toml) ... done
  Created wheel for super-project: filename=super_project-0.1-0.editable-py3-none-any.whl size=1300 sha256=0890f9abafd171e9379d0efdf337a92668f223edcd10ef6ba5ff4a30c0aff0b6
  Stored in directory: C:\Users\UserName\AppData\Local\Temp\pip-ephem-wheel-cache-u9a7u08a\wheels\c9\f0\73\eaff4fdd06aa04be14615bd2be80763dca1cd88f5e78110aab
Successfully built super-project
Installing collected packages: super-project
Successfully installed super-project-0.1

Let's uninstall it:
venv/Scripts/python -m pip uninstall super-project
Found existing installation: super-project 0.1
Uninstalling super-project-0.1:
  Would remove:
    c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\__editable__.super_project-0.1.pth
    c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\super_project-0.1.dist-info\*
Proceed (Y/n)? Y
  Successfully uninstalled super-project-0.1

Now, we add a very basic build configuration:
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

And we re-do the installation:
venv/Scripts/python -m pip list --verbose
Package    Version Location                                                                         Installer
---------- ------- -------------------------------------------------------------------------------- ---------
pip        22.1.2  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
setuptools 62.6.0  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
wheel      0.37.1  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip

venv/Scripts/python -m pip install --verbose -e .
Using pip 22.1.2 from C:\Users\UserName\Projects\playgrounds\super-project\venv\lib\site-packages\pip (python 3.8)
Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
Obtaining file:///C:/Users/UserName/Projects/playgrounds/super-project
  Running command pip subprocess to install build dependencies
  Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
  Collecting setuptools
    Using cached setuptools-66.0.0-py3-none-any.whl (1.3 MB)
  Installing collected packages: setuptools
  Successfully installed setuptools-66.0.0
  Installing build dependencies ... done
  Running command Checking if build backend supports build_editable
  Checking if build backend supports build_editable ... done
  Running command Getting requirements to build editable
  running egg_info
  writing src\super_project.egg-info\PKG-INFO
  writing dependency_links to src\super_project.egg-info\dependency_links.txt
  writing top-level names to src\super_project.egg-info\top_level.txt
  reading manifest file 'src\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'src\super_project.egg-info\SOURCES.txt'
  Getting requirements to build editable ... done
  Running command pip subprocess to install backend dependencies
  Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
  Collecting wheel
    Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
  Installing collected packages: wheel
  Successfully installed wheel-0.38.4
  Installing backend dependencies ... done
  Running command Preparing editable metadata (pyproject.toml)
  running dist_info
  creating C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info
  writing C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\PKG-INFO
  writing dependency_links to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\dependency_links.txt
  writing top-level names to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\top_level.txt
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project.egg-info\SOURCES.txt'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-_li29tuq\super_project-0.1.dist-info'
  Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: super-project
  Running command Building editable for super-project (pyproject.toml)
  running editable_wheel
  creating C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info
  writing C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\PKG-INFO
  writing dependency_links to C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\dependency_links.txt
  writing top-level names to C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\top_level.txt
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project.egg-info\SOURCES.txt'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project-0.1.dist-info'
  creating C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project-0.1.dist-info\WHEEL
  running build_py

          Editable install will be performed using .pth file to extend `sys.path` with:
          ['src']

  Options like `package-data`, `include/exclude-package-data` or
  `packages.find.exclude/include` may have no effect.

  adding '__editable__.super_project-0.1.pth'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-wheel-m1uus3o1\.tmp-eklyw5hh\super_project-0.1-0.editable-py3-none-any.whl' and adding 'C:\Users\US~1\AppData\Local\Temp\tmpsvhh647gsuper_project-0.1-0.editable-py3-none-any.whl' to it
  adding 'super_project-0.1.dist-info/METADATA'
  adding 'super_project-0.1.dist-info/WHEEL'
  adding 'super_project-0.1.dist-info/top_level.txt'
  adding 'super_project-0.1.dist-info/RECORD'
  Building editable for super-project (pyproject.toml) ... done
  Created wheel for super-project: filename=super_project-0.1-0.editable-py3-none-any.whl size=1300 sha256=68dc8029df3d74d75e1056b49ef0c315ebb8f2950200abdb1ee25dd8ffedc7ac
  Stored in directory: C:\Users\UserName\AppData\Local\Temp\pip-ephem-wheel-cache-lgmeysey\wheels\c9\f0\73\eaff4fdd06aa04be14615bd2be80763dca1cd88f5e78110aab
Successfully built super-project
Installing collected packages: super-project
Successfully installed super-project-0.1

Again, let's uninstall it:
venv/Scripts/python -m pip uninstall super-project
Found existing installation: super-project 0.1
Uninstalling super-project-0.1:
  Would remove:
    c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\__editable__.super_project-0.1.pth
    c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\super_project-0.1.dist-info\*
Proceed (Y/n)? Y
  Successfully uninstalled super-project-0.1

And now restrict setuptools' version:
[build-system]
requires = ["setuptools>=58,<63"]
build-backend = "setuptools.build_meta"

Here our legacy-editable install happens with setup.py develop:
venv/Scripts/python -m pip list --verbose
Package    Version Location                                                                         Installer
---------- ------- -------------------------------------------------------------------------------- ---------
pip        22.1.2  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
setuptools 62.6.0  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip
wheel      0.37.1  c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages pip

venv/Scripts/python -m pip install --verbose -e .
Using pip 22.1.2 from C:\Users\UserName\Projects\playgrounds\super-project\venv\lib\site-packages\pip (python 3.8)
Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
Obtaining file:///C:/Users/UserName/Projects/playgrounds/super-project
  Running command pip subprocess to install build dependencies
  Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
  Collecting setuptools<63,>=58
    Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB)
  Installing collected packages: setuptools
  Successfully installed setuptools-62.6.0
  Installing build dependencies ... done
  Running command Checking if build backend supports build_editable
  Checking if build backend supports build_editable ... done
  Running command Getting requirements to build wheel
  running egg_info
  writing src\super_project.egg-info\PKG-INFO
  writing dependency_links to src\super_project.egg-info\dependency_links.txt
  writing top-level names to src\super_project.egg-info\top_level.txt
  reading manifest file 'src\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'src\super_project.egg-info\SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command pip subprocess to install backend dependencies
  Looking in indexes: https://gitlab.com/api/v4/groups/diamidex/-/packages/pypi/simple
  Collecting wheel
    Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
  Installing collected packages: wheel
  Successfully installed wheel-0.38.4
  Installing backend dependencies ... done
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info
  writing C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\PKG-INFO
  writing dependency_links to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\dependency_links.txt
  writing top-level names to C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\top_level.txt
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\SOURCES.txt'
  reading manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project.egg-info\SOURCES.txt'
  creating 'C:\Users\UserName\AppData\Local\Temp\pip-modern-metadata-psbfe3bh\super_project-0.1.dist-info'
  Preparing metadata (pyproject.toml) ... done
Installing collected packages: super-project
  Running setup.py develop for super-project
    Running command python setup.py develop
    running develop
    running egg_info
    writing src\super_project.egg-info\PKG-INFO
    writing dependency_links to src\super_project.egg-info\dependency_links.txt
    writing top-level names to src\super_project.egg-info\top_level.txt
    reading manifest file 'src\super_project.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'src\super_project.egg-info\SOURCES.txt'
    running build_ext
    Creating c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\super-project.egg-link (link to src)
    Adding super-project 0.1 to easy-install.pth file

    Installed c:\users\username\projects\playgrounds\super-project\src
    C:\Users\UserName\AppData\Local\Temp\pip-build-env-2j0febx5\overlay\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings. Warn(
    C:\Users\UserName\AppData\Local\Temp\pip-build-env-2j0febx5\overlay\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
Successfully installed super-project-0.1

When it gets uninstalled, files removed are a bit different:
venv/Scripts/python -m pip uninstall super-project
Found existing installation: super-project 0.1
Uninstalling super-project-0.1:
  Would remove:
    c:\users\username\projects\playgrounds\super-project\venv\lib\site-packages\super-project.egg-link
Proceed (Y/n)? Y
  Successfully uninstalled super-project-0.1


chore: Clean deprecated methods

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

493 of 1149 (42.91%)  changed or added relevant lines in 12 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 41.104%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/client/run.go
11
15
73.33%

pkg/client/metadata.go
21
27
77.78%

pkg/client/update.go
22
31
70.97%

pkg/client/logout.go
0
11
0.0%

pkg/client/package.go
17
28
60.71%

pkg/client/push.go
18
31
58.06%

pkg/client/init.go
16
31
51.61%

pkg/client/login.go
0
21
0.0%

pkg/package/deprecated.go
0
30
0.0%

pkg/client/deperated.go
376
912
41.23%

Totals

Change from base Build<PHONE_NUMBER>7:
0.008%

Covered Lines:
3997

Relevant Lines:
9724

💛  - Coveralls


Stable cadence refactor

Related: #1
This PR updates repo contents for Cadence 1.0 compatibility. While the MigrationStagingContract won't be used after 1.0 migration, staging and updating the contract will enhance auditability and transparency post-migration, enabling the migrated contracts can be validated against the code as staged. Migrating the contract also allows us to clean up the account after some time if need be.
Refactors for StagedContractUpdates are also included. Although this contract was not used as a mechanism for migration as originally intended, others may still find it useful moving forward to coordinate updates to distributed contract system.

Update: As of this writing, MigrationStagingContract migrated successfully in a local migration and has been staged for inclusion in the subsequent Testnet migration.

Codecov Report
Attention: Patch coverage is 93.44262% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (stable-cadence@735a84b). Learn more about missing BASE report.

Files
Patch %
Lines

contracts/DependencyAudit.cdc
93.02%
3 Missing :warning:

.../staged-contract-updates/StagedContractUpdates.cdc
87.50%
1 Missing :warning:

Additional details and impacted files
@@                Coverage Diff                @@
##             stable-cadence       #6   +/-   ##
=================================================
  Coverage                  ?   83.89%
=================================================
  Files                     ?        6
  Lines                     ?      298
  Branches                  ?        0
=================================================
  Hits                      ?      250
  Misses                    ?       48
  Partials                  ?        0

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


[Enhancement] Reliance on default encoding[FileLoad]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java line 67
analysis and explanation:
1.Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.
2. The method creates an IO stream object, does not assign it to any fields, pass it to other methods that might close it, or return it, and does not appear to close the stream on all paths out of the method.  This may result in a file descriptor leak.  It is generally a good idea to use a finally block to ensure that streams are closed.
Describe the solution you'd like
e.g.

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Hi,
I would like to work on this issue. Please assign it to me.
Thanks,
Sanskar

Hi,
I would like to work on this issue. Please assign it to me.
Thanks, Sanskar

OK, you can submit a pr first.


Nonces are not working with ResponseCompression

When Response compression is enabled in your ASP.NET app the nonce generation through TagHelpers does not work anymore.
The nonce used in the html stays always the same. The nonce provided in the response header is different on each request (expected behaviour).
public void ConfigureServices(IServiceCollection services)
{
	services.AddMvc();

	services.AddResponseCompression();
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
	app.UseResponseCompression();
	app.UseSecurityHeaders(Configuration);

	app.UseMvcWithDefaultRoutes();
}

internal static IApplicationBuilder UseSecurityHeaders(this IApplicationBuilder app, IConfiguration config)
{
	app.UseReferrerPolicy(opts => opts.NoReferrer());
	app.UseXContentTypeOptions();
	app.UseXRobotsTag(c => c.NoIndex().NoFollow());
	app.UseXfo(c => c.SameOrigin());
	app.UseXXssProtection(c => c.Enabled());

	Action<IFluentCspOptions> cspOptions = x =>
	{
		x.DefaultSources(s => s.Self())
		 .ScriptSources(s =>
			s.Self()
			 .CustomSources(config.GetConfigSectionArray("CSP:CustomSources:Scripts")))
		 .StyleSources(s =>
			s.Self()
			 .CustomSources(config.GetConfigSectionArray("CSP:CustomSources:Styles"))
			 .UnsafeInline()) // necessary for e.g. validation summary inline styles (display:none)
		 .ImageSources(s =>
			s.Self()
			 .CustomSources(config.GetConfigSectionArray("CSP:CustomSources:Images")))
		 .FontSources(s =>
			s.Self()
			 .CustomSources(config.GetConfigSectionArray("CSP:CustomSources:Fonts")))
		.FrameSources(s =>
			s.Self()
			.CustomSources(config.GetConfigSectionArray("CSP:CustomSources:Frames")));

		var reportUri = config["CSP:ReportUri"];
		if (!string.IsNullOrWhiteSpace(reportUri))
		{
			x.ReportUris(u => u.Uris(reportUri));
		}
	};

	if (config.GetValue<bool>("CSP:ReportOnly"))
	{
		app.UseCspReportOnly(cspOptions);
	}
	else
	{
		app.UseCsp(cspOptions);
	}

	return app;
}

I tried this in a "File -> New -> AspNet.Core Web app", with a minimal CSP config like you suggest. I wasn't able to reproduce this with compressed responses. The nonces changed as expected on each response. Are you sure you don't have output caching enabled? That could give this type of behaviour.
As a sidenote, response compression is not recommended if you're serving your site over https, see the docs. And it's also generally recommended to serve the site over https. :)


[Bullet][WIP] Parameter tuning to make it as dart as posible

After fixing the axis and setting properly the update world function, wobbling seems to be done. I was able to go all the way on that tunnel with just the go-forward command on a diff drive. Also added friction between joints that we were missing

After fixing the axis and setting properly the update world function, wobbling seems to be done. I was able to go all the way on that tunnel with just the go-forward command on a diff drive. Also added friction between joints that we were missing


Added AppBuilder.gitignore.

Thanks, but could you help explain this change with some links to documentation or examples of files which explain why this is a good addition?

Closing due to inactivity and pending feedback.


Linux documentation for Defender for Endpoint integration needs to be corrected.

[Enter feedback here]
Linux documentation is providing steps to follow on windows machine, and I believe this needs to be corrected.
https://docs.microsoft.com/en-us/azure/defender-for-cloud/integration-defender-for-endpoint?tabs=linux
Thanks
Umesh Panwar

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

ID: 970863a5-ab27-6c83-9496-b025dd6bf323
Version Independent ID: a1f053f5-1004-6b6b-8b37-bc31599aa23b
Content: Using Microsoft Defender for Endpoint in Microsoft Defender for Cloud to protect native, on-premises, and AWS machines.
Content Source: articles/defender-for-cloud/integration-defender-for-endpoint.md
Service: defender-for-cloud
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hi @panwar28 . I reviewed the section but I don't see the Windows information in the Linux tab that you are referring to. Can you be more specific?

I think, I got confused with this. I am good now. I have what I need so please close this issue and sorry for opening an issue.
@.***
Regards
Umesh Panwar
From: Ben Mansheim @.>
Sent: Sunday, August 14, 2022 5:29 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Umesh Panwar @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Linux documentation for Defender for Endpoint integration needs to be corrected. (Issue #97056)
Hi @panwar28https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpanwar28&data=05|01|umeshpanwar%40microsoft.com|358be74303bc4144252408da7dd772e5|72f988bf86f141af91ab2d7cd011db47|1|0|637960661573062232|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nfU1KsH8GVtBQhj2KR3BR0n%2F7j0LrjLSeRKmIWj7RbY%3D&reserved=0 . I reviewed the section but I don't see the Windows information in the Linux tab that you are referring to. Can you be more specific?

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F97056%23issuecomment-1214320134&data=05|01|umeshpanwar%40microsoft.com|358be74303bc4144252408da7dd772e5|72f988bf86f141af91ab2d7cd011db47|1|0|637960661573062232|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=y5Gn8j0vu6b8v8kHICwPbwLjNgKe9Mw%2FQaB0EZG4mys%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWIGU6WDZH3DA7LYCGBYWA3VZC36RANCNFSM56MLADOQ&data=05|01|umeshpanwar%40microsoft.com|358be74303bc4144252408da7dd772e5|72f988bf86f141af91ab2d7cd011db47|1|0|637960661573062232|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5QPvi3gs2XmLT2KA9JRpRp4tt6UetYUmnWSCxLKDz00%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


docs(idempotency): fix local test example

Issue number: #2072
Summary
Fix local test example
Changes

Changed documentation

User experience
Before

After

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[x] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

I am moving the comment from issue to PR.
Refer: https://github.com/awslabs/aws-lambda-powertools-python/issues/2072#issuecomment-1494339573

Heitor Lessa:
only last comment before merging is that this part shouldn't work, please double check in case I'm wrong: #2073 (files)
Reason. Unless AWS SDK changed, the DynamoDB client wouldn't connect to DynamoDB Local because the client isn't being replaced, therefore it'd use the real DynamoDB external endpoint

Yeah @heitorlessa, you're right! I was missing it because in my local tests, I was configuring the boto3.session in the app.py file and I forgot to remove it. My bad. I already sent the new code.


I have to say, the animation on your site is so cute.

I shed some tears of no skill.

Thank you!!!


[travis] disable anchor checks during link checks

Travis executes html-proofer. It does link checking, but does not find the anchors in the interactive api doc. have a look at the Travis build log.
To avoid unecessary Travis build errors, link anchor checking should be disabled.

Fixed.


Freshly installed Insomnia appears as Electron

Expected Behavior
Insomnia icon and name
Actual Behavior
Electron icon and name

Reproduction Steps
Installed and logged in to my account
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
10.1.0
What operating system are you using?
Windows
Operating System Version
Windows 11 Pro version 23H2
Installation method
download from insomnia.rest
Last Known Working Insomnia version
No response

same here🤣🤣🤣🤣🤣

Seems like a duplicate of #8092 and #8100

This will be fixed this week in a patch release.

This should have been fixed with the latest patch release.

Did it though? I just upgraded and still see Electron shortcut and icon.

I had to uninstall reinstall to fix it. Direct upgrade did not fix it.

Yes, not ideal but I am glad that it's working now.

I've reinstalled, the app icon still electron's but the name is right

@Terule a fresh new installation of Insomnia still shows the Electron icon?

@Terule a fresh new installation of Insomnia still shows the Electron icon?

Yes. But it could be a cache problem since every other place the icon was right


Server Negotiation Problem

there's a problem in server Negotiation after sending request using bearer authentication token.

Sorry but I need more information on that. Any logs or piece of code where you're facing issues.


Composer layout issue on Edge

The "Commit", "Discard Changes", and "Create Image" buttons should be at right up corner. But it's not rendered on the correct position on Edge. This issue cannot be found on Chrome and Firefox.

@jgiardino @garrett any idea what's up?

Poked around a bit on Edge and it seems that if I remove the property display: -ms-grid; from .cmpsr-grid_wrapper in custom.css it displays as it should.
I think display: -ms-grid; is a IE11 thing, and since we no longer support IE11, I think we can go with just display: grid;
I can cook up a quick PR with a fix.

Browser support for grid: https://caniuse.com/#feat=css-grid


Add with_impl option to call_historic

To assist with napari/napari#1849 and napari/napari#2080 (and specifically this comment), this adds a with_impl kwarg to the call_historic option.  If True it indicates that the result_callback callback would like to receive not only the result value itself, but also the hookimpl that was responsible.  (i.e. the signature of the callback must be callback(result, hookimpl) instead of callback(result)

yeah, the returned object is a HookImplementation instance that has all of the standard attributes: https://napari-plugin-engine.readthedocs.io/en/latest/_modules/napari_plugin_engine/implementation.html#HookImplementation

yeah, the returned object is a HookImplementation instance that has all of the standard attributes: https://napari-plugin-engine.readthedocs.io/en/latest/_modules/napari_plugin_engine/implementation.html#HookImplementation

perfect thanks for the link, was trying to find it. so distracted right now ...

perfect thanks for the link, was trying to find it. so distracted right now ...


Cannot use IPV6 in CONSUL_HTTP_ADDR override

This is due to the way it splits the value using ":" as the delimiter to extra the IP address and port number for IPV4 in Client.cs. This however doesn't work for IPV6.

Also doesn't work if you use an uri, like http://...


yarn-plugin: move Backstage version to parameters in bound descriptors

Hey, I just made a Pull Request!
The previous version of this code transformed the version range backstage:^ to backstage:<version-from-backstage.json> when writing entries in yarn.lock. This does seem to be something that the yarn plugin API supports, but it turns out to cause issues in some third-party tools which assume that version ranges will be consistent between package.json and yarn.lock.
To fix this issue, we're now leveraging the descriptor binding feature in Backstage (which I didn't know about before) to append a descriptor parameter containing the Backstage version. This keeps the selector of the descriptors consistent between package.json and yarn.lock entries, which will hopefully mean that this plugin no longer breaks other tools. Given the similarity between the naming of the APIs, I suspect this is closer to the intended usage of the Resolver#bindDescriptor method.
cf. https://github.com/snyk/nodejs-lockfile-parser/issues/256
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@mtlewis Is this feature (expressing the versions like this) supported by all v4+ versions of yarn? Or is it something that now requires to be above a certain minor version of yarn

Good callout Freben! I wouldn't have expected this to be a new feature but just to double check, I went back to the earliest version of yarn we support (4.1.1) and verified that the new version of the plugin still works.


Add malformed cache detector for pbf files

Add automatic detection of badly downloaded PBF files (geofabrik has hashes available).
When the bad file is saved in cache, the code throws an error when trying to read it. The best course of action would be to remove it and download it again.

Fixed with the switch to the QuackOSM library where the download is made using the pooch library, so no malfunctioned files are left on the device.


In the -Oz optimization mode, when enabling -mbranch-protection=standard, the program encounters an error.

The code that caused the error is as follows:(test.c)

struct i3c_dev_desc;

struct i3c_master_controller_ops {
  int (*f1)(void);
  int (*f2)(void);
  int (*f3)(void);
  int (*f4)(void);
  int (*f5)(void);
  int (*f6)(void);
  int (*f7)(void);
  int (*f8)(void);
  int (*priv_xfers)(struct i3c_dev_desc *dev, char *xfers, int nxfers);
};

struct i3c_master_controller {
  int a;
  int b;
  int c;
  unsigned long d;

  struct i3c_master_controller_ops *ops;
};

struct i3c_i2c_dev_desc {
  char *a;
  char *b;
  struct i3c_master_controller *master;
  void *master_priv;
};

struct i3c_dev_desc {
  struct i3c_i2c_dev_desc common;
};

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
int i3c_dev_do_priv_xfers_locked(struct i3c_dev_desc *dev, char *xfers, int nxfers)
{
  struct i3c_master_controller *master;

  if (!dev)
      return -2;

  master = dev->common.master;
  if (!master || !xfers)
      return -22;

  if (!master->ops->priv_xfers)
      return -138;

  return master->ops->priv_xfers(dev, xfers, nxfers);
}
#pragma GCC diagnostic pop

Compile options using clang 15.0.2 or 17.0.1 are as follows:

clang -c --target=armv8.1-m.main -mcpu=cortex-m85 -mfloat-abi=soft -mthumb -mpure-code -mbranch-protection=standard -Wall -Oz -fno-builtin -fshort-enums -fno-common -fsigned-char -fomit-frame-pointer -ffunction-sections -fdata-sections -fstack-protector-strong -fno-unroll-loops -std=c99 -g test.c -o test.o

Problem Description:

When executing "bx r12" to jump to "master->ops->priv_xfers", the value of r12 (which holds the PAC) was modified due to PAC verification earlier, causing an unexpected behavior of "bx r12" instruction and the program to run out of control. (In fact, PAC verification was not necessary before the "bx" instruction, considering the semantics of this function.)

This should be a compiler bug.
Experimental conclusion: Only when all of the following four conditions are met, will similar problems occur.

Enable -mbranch-protection=standard: Enable the compiler's branch protection (PAC/BTI) instrumentation feature.
Set optimization level to -Oz.
Enable -foptimize-sibling-calls (enabled by default under -O2/-O3/-Os/-Oz): Optimize sibling and tail recursive calls. This reduces the overhead of function calls, such as tail call functions.
The last statement of the function exit is in the form of "return a function pointer", such as return func(...);

The current temporary solution is:

Option 1: If you want to use the -Oz optimization level, it is recommended to add -fno-optimize-sibling-calls to eliminate the compiler optimization bug in these corner & cross situations.
Option 2: Use the -Os optimization level.

This is the exact same issue as https://github.com/llvm/llvm-project/issues/75998. I don't think there's a point in keeping this duplicate ticket around. This is not an issue specifically related to the embedded toolchain. (and we're already tracking the LLVM ticket)


[stable/prometheus] fix invalid argument for storage retention

The extra spaces around the = operator on the commandline made prometheus think there wasn't a value set.

/ok-to-test


[SPARK-39174][SQL] Catalogs loading swallows missing classname for ClassNotFoundException

What changes were proposed in this pull request?

this PR captures the actual missing classname when catalog loading meets ClassNotFoundException
Why are the changes needed?

ClassNotFoundException can occur when missing dependencies, we shall not always report the catalog class is missing
Does this PR introduce any user-facing change?

yes, when loading catalogs and ClassNotFoundException occurs, it shows the correct missing class.
How was this patch tested?

new test added

Merged to master, branch-3.3, branch-3.2 and branch-3.1.