mercurial-devel | Failed pipeline for branch/default | 62fec90c

2021-11-03 Thread Heptapod


Pipeline #28602 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )

Commit: 62fec90c ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/62fec90c7d40ee2878e62e1e0e7d0791ce5c7faf
 )
Commit Message: compat: don't rely on cpython-specific builtins...
Commit Author: Raphaël Gomès

Pipeline #28602 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/pipelines/28602 ) 
triggered by Raphaël Gomès ( https://foss.heptapod.net/raphael.gomes )
had 1 failed job.

Job #260776 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260776/raw )

Stage: tests
Name: test-py3

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11734: pyoxidizer: use in-memory resources on non-Windows platforms

2021-11-03 Thread spectral (Kyle Lippincott)
spectral created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  In-memory resources were disabled for macOS in 7bc1beed 
, 
and for all platforms
  in c900d962 
. 
Unfortunately this made it so that we were no longer producing
  standalone binaries on these platforms, and would have to ship the .py and 
.pyc
  files alongside the pyoxidized binary.
  
  These changes are no longer necessary after f6b04591 
, 
which disabled pep517 and
  solved the issue we were encountering.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11734

AFFECTED FILES
  rust/hgcli/pyoxidizer.bzl

CHANGE DETAILS

diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl
--- a/rust/hgcli/pyoxidizer.bzl
+++ b/rust/hgcli/pyoxidizer.bzl
@@ -34,7 +34,10 @@
 
 IS_WINDOWS = "windows" in BUILD_TARGET_TRIPLE
 
-USE_IN_MEMORY_RESOURCES = False
+# Use in-memory resources for all resources. If false, most of the Python
+# stdlib will be in memory, but other things such as Mercurial itself will not
+# be. See the comment in resource_callback, below.
+USE_IN_MEMORY_RESOURCES = not IS_WINDOWS
 
 # Code to run in Python interpreter.
 RUN_CODE = """



To: spectral, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial-devel | Failed pipeline for branch/default | 62fec90c

2021-11-03 Thread Heptapod


Pipeline #28546 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )

Commit: 62fec90c ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/62fec90c7d40ee2878e62e1e0e7d0791ce5c7faf
 )
Commit Message: compat: don't rely on cpython-specific builtins...
Commit Author: Raphaël Gomès

Pipeline #28546 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/pipelines/28546 ) 
triggered by Raphaël Gomès ( https://foss.heptapod.net/raphael.gomes )
had 3 failed jobs.

Job #260465 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260465/raw )

Stage: tests
Name: test-py3-rhg
Job #260455 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260455/raw )

Stage: tests
Name: checks-py2
Job #260456 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260456/raw )

Stage: tests
Name: checks-py3

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial-devel | Failed pipeline for branch/default | 62fec90c

2021-11-03 Thread Heptapod


Pipeline #28541 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )

Commit: 62fec90c ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/62fec90c7d40ee2878e62e1e0e7d0791ce5c7faf
 )
Commit Message: compat: don't rely on cpython-specific builtins...
Commit Author: Raphaël Gomès

Pipeline #28541 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/pipelines/28541 ) 
triggered by Administrator ( https://foss.heptapod.net/root )
had 3 failed jobs.

Job #260453 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260453/raw )

Stage: tests
Name: test-py3-rhg
Job #260451 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260451/raw )

Stage: tests
Name: checks-py2
Job #260452 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260452/raw )

Stage: tests
Name: checks-py3

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial-devel | Failed pipeline for branch/default | 62fec90c

2021-11-03 Thread Heptapod


Pipeline #28541 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )

Commit: 62fec90c ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/62fec90c7d40ee2878e62e1e0e7d0791ce5c7faf
 )
Commit Message: compat: don't rely on cpython-specific builtins...
Commit Author: Raphaël Gomès

Pipeline #28541 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/pipelines/28541 ) 
triggered by Administrator ( https://foss.heptapod.net/root )
had 4 failed jobs.

Job #260351 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260351/raw )

Stage: tests
Name: test-py3-chg
Job #260349 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260349/raw )

Stage: tests
Name: test-py3-rhg
Job #260339 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260339/raw )

Stage: tests
Name: checks-py2
Job #260340 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/260340/raw )

Stage: tests
Name: checks-py3

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11733: rust-format: update rustfmt version

2021-11-03 Thread Raphaël Gomès
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This hasn't been updated in a while, and since we're updating the MSRV to
  1.48.0, we might as well do this.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11733

AFFECTED FILES
  tests/test-check-rust-format.t

CHANGE DETAILS

diff --git a/tests/test-check-rust-format.t b/tests/test-check-rust-format.t
--- a/tests/test-check-rust-format.t
+++ b/tests/test-check-rust-format.t
@@ -3,7 +3,7 @@
   $ . "$TESTDIR/helpers-testrepo.sh"
 
   $ cd "$TESTDIR"/..
-  $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt)
+  $ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt)
   $ for f in `testrepohg files 'glob:**/*.rs'` ; do
   >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
   > done



To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D11732: compat: don't rely on cpython-specific builtins manipulation

2021-11-03 Thread Raphaël Gomès
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Pierre Augier signaled on the mailing list that this fails on Pypy and pointed
  out the correct solution.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11732

AFFECTED FILES
  mercurial/pycompat.py

CHANGE DETAILS

diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py
--- a/mercurial/pycompat.py
+++ b/mercurial/pycompat.py
@@ -44,6 +44,7 @@
 FileNotFoundError = OSError
 
 else:
+import builtins
 import concurrent.futures as futures
 import http.cookiejar as cookielib
 import http.client as httplib
@@ -55,7 +56,7 @@
 def future_set_exception_info(f, exc_info):
 f.set_exception(exc_info[0])
 
-FileNotFoundError = __builtins__['FileNotFoundError']
+FileNotFoundError = builtins.FileNotFoundError
 
 
 def identity(a):



To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel