Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 916527a

Browse files
committed
Merge branch 'develop' of https://github.com/sagemath/sage into HEAD
2 parents 1b3d7fa + a86de04 commit 916527a

File tree

8 files changed

+40
-19
lines changed

8 files changed

+40
-19
lines changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 9.0.rc0, Release Date: 2019-12-26
1+
SageMath version 9.0.rc1, Release Date: 2019-12-29

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=e7ff5e713229f17fe8323d3def8444c2ae04b3a7
3-
md5=4fc29cbebd3f969fffdb00caa0ad6423
4-
cksum=803325929
2+
sha1=ac323e7a24f9d8ebfcf4d5998ee09cff31e50877
3+
md5=7d43a45087d30296ff4c9b3ef77597ef
4+
cksum=1450157022
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
127f3664664edef63a333470fc68f24be9edfe68
1+
7f941838a69eb6bf2715b8217ec5570d780d3622

build/pkgs/psutil/patches/cygwin-support.patch

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ new file mode 100644
12671267
index 0000000..e2f9e94
12681268
--- /dev/null
12691269
+++ b/psutil/_psutil_cygwin.c
1270-
@@ -0,0 +1,2025 @@
1270+
@@ -0,0 +1,2035 @@
12711271
+#define WIN32_LEAN_AND_MEAN
12721272
+
12731273
+#include <windows.h>
@@ -1904,8 +1904,18 @@ index 0000000..e2f9e94
19041904
+ return NULL;
19051905
+
19061906
+ num_handles = process->HandleCount;
1907-
+ for (i = 0; i < process->NumberOfThreads; i++)
1907+
+ for (i = 0; i < process->NumberOfThreads; i++) {
1908+
+ // The updated headers in mingw-w64 appear to be using an older version
1909+
+ // of this API in which the ContextSwitches member is still called
1910+
+ // Reserved3
1911+
+#if __MINGW64_VERSION_MAJOR < 7
1912+
+ // Using the copy of this struct definition included in psutil
19081913
+ ctx_switches += process->Threads[i].ContextSwitches;
1914+
+#else
1915+
+ // Using the definition from mingw-w64-w32api-headers
1916+
+ ctx_switches += process->Threads[i].Reserved3;
1917+
+#endif
1918+
+ }
19091919
+ user_time = (double)process->UserTime.HighPart * 429.4967296 + \
19101920
+ (double)process->UserTime.LowPart * 1e-7;
19111921
+ kernel_time = (double)process->KernelTime.HighPart * 429.4967296 + \
@@ -3465,28 +3475,38 @@ index 1bbbf2a..0d50f5b 100644
34653475
} KTHREAD_STATE, *PKTHREAD_STATE;
34663476

34673477

3468-
+#ifndef __CYGWIN__
3478+
+#ifndef __MINGW64_VERSION_MAJOR
34693479
typedef enum _KWAIT_REASON {
34703480
Executive = 0,
34713481
FreePage = 1,
3472-
@@ -168,6 +169,8 @@ typedef struct _CLIENT_ID {
3482+
@@ -168,7 +169,10 @@ typedef struct _CLIENT_ID {
34733483
HANDLE UniqueThread;
34743484
} CLIENT_ID, *PCLIENT_ID;
34753485

34763486
+#endif
3477-
+
34783487

3488+
+
3489+
+#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 7
34793490
typedef struct _SYSTEM_THREAD_INFORMATION {
34803491
LARGE_INTEGER KernelTime;
3481-
@@ -287,6 +290,7 @@ typedef NTSTATUS (NTAPI *_NtSetInformationProcess)(
3492+
LARGE_INTEGER UserTime;
3493+
@@ -182,6 +186,7 @@ typedef struct _SYSTEM_THREAD_INFORMATION {
3494+
ULONG ThreadState;
3495+
KWAIT_REASON WaitReason;
3496+
} SYSTEM_THREAD_INFORMATION, *PSYSTEM_THREAD_INFORMATION;
3497+
+#endif
3498+
3499+
3500+
typedef struct _TEB *PTEB;
3501+
@@ -287,6 +292,7 @@ typedef NTSTATUS (NTAPI *_NtSetInformationProcess)(
34823502
);
34833503

34843504

34853505
+#ifndef __CYGWIN__
34863506
typedef enum _PROCESSINFOCLASS2 {
34873507
_ProcessBasicInformation,
34883508
ProcessQuotaLimits,
3489-
@@ -338,4 +342,6 @@ typedef enum _PROCESSINFOCLASS2 {
3509+
@@ -338,4 +344,6 @@ typedef enum _PROCESSINFOCLASS2 {
34903510
#define ProcessImageFileName _ProcessImageFileName
34913511
#define ProcessBreakOnTermination _ProcessBreakOnTermination
34923512

build/pkgs/singular/spkg-install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ config()
8585
--enable-factory \
8686
--disable-doc \
8787
--disable-polymake \
88+
--with-python=sage-python23 \
8889
$SINGULAR_CONFIGURE
8990
}
9091

docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://github.com/sagemath/sage/COPYING.txt) [![Maintained](https://img.shields.io/maintenance/yes/2019.svg)](https://github.com/sagemath/sage/commits/master)
1+
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://github.com/sagemath/sage/COPYING.txt) [![Maintained](https://img.shields.io/maintenance/yes/2020.svg)](https://github.com/sagemath/sage/commits/master)
22

33
# Supported tags
44

src/bin/sage-version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sage version information for shell scripts
22
# This file is auto-generated by the sage-update-version script, do not edit!
3-
SAGE_VERSION='9.0.rc0'
4-
SAGE_RELEASE_DATE='2019-12-26'
5-
SAGE_VERSION_BANNER='SageMath version 9.0.rc0, Release Date: 2019-12-26'
3+
SAGE_VERSION='9.0.rc1'
4+
SAGE_RELEASE_DATE='2019-12-29'
5+
SAGE_VERSION_BANNER='SageMath version 9.0.rc1, Release Date: 2019-12-29'

src/sage/version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sage version information for Python scripts
22
# This file is auto-generated by the sage-update-version script, do not edit!
3-
version = '9.0.rc0'
4-
date = '2019-12-26'
5-
banner = 'SageMath version 9.0.rc0, Release Date: 2019-12-26'
3+
version = '9.0.rc1'
4+
date = '2019-12-29'
5+
banner = 'SageMath version 9.0.rc1, Release Date: 2019-12-29'

0 commit comments

Comments
 (0)