Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
0632974d
Commit
0632974d
authored
Aug 01, 2023
by
Jens Vagelpohl
Committed by
GitHub
Aug 01, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #388 from zopefoundation/config-with-pure-python-template-
6f887812
parents
6f887812
d9c889f7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
6 deletions
+11
-6
.github/workflows/tests.yml
.github/workflows/tests.yml
+1
-0
.meta.toml
.meta.toml
+2
-2
CHANGES.rst
CHANGES.rst
+2
-0
src/ZODB/ConflictResolution.py
src/ZODB/ConflictResolution.py
+1
-1
src/ZODB/FileStorage/FileStorage.py
src/ZODB/FileStorage/FileStorage.py
+0
-2
src/ZODB/tests/StorageTestBase.py
src/ZODB/tests/StorageTestBase.py
+1
-1
tox.ini
tox.ini
+4
-0
No files found.
.github/workflows/tests.yml
View file @
0632974d
...
@@ -27,6 +27,7 @@ jobs:
...
@@ -27,6 +27,7 @@ jobs:
-
[
"
3.9"
,
"
py39"
]
-
[
"
3.9"
,
"
py39"
]
-
[
"
3.10"
,
"
py310"
]
-
[
"
3.10"
,
"
py310"
]
-
[
"
3.11"
,
"
py311"
]
-
[
"
3.11"
,
"
py311"
]
-
[
"
3.12.0-beta.4"
,
"
py312"
]
-
[
"
pypy-3.9"
,
"
pypy3"
]
-
[
"
pypy-3.9"
,
"
pypy3"
]
-
[
"
3.9"
,
"
docs"
]
-
[
"
3.9"
,
"
docs"
]
-
[
"
3.9"
,
"
coverage"
]
-
[
"
3.9"
,
"
coverage"
]
...
...
.meta.toml
View file @
0632974d
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
[meta]
template
=
"pure-python"
template
=
"pure-python"
commit-id
=
"
b99ba750
"
commit-id
=
"
49beb029
"
[python]
[python]
with-windows
=
true
with-windows
=
true
with-pypy
=
true
with-pypy
=
true
with-future-python
=
fals
e
with-future-python
=
tru
e
with-docs
=
true
with-docs
=
true
with-sphinx-doctests
=
false
with-sphinx-doctests
=
false
with-macos
=
false
with-macos
=
false
...
...
CHANGES.rst
View file @
0632974d
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
6.0 (unreleased)
6.0 (unreleased)
================
================
- Add preliminary support for Python 3.12b4.
- Drop support for Python 2.7, 3.5, 3.6.
- Drop support for Python 2.7, 3.5, 3.6.
...
...
src/ZODB/ConflictResolution.py
View file @
0632974d
...
@@ -123,7 +123,7 @@ class IPersistentReference(zope.interface.Interface):
...
@@ -123,7 +123,7 @@ class IPersistentReference(zope.interface.Interface):
class
PersistentReference
:
class
PersistentReference
:
weak
=
False
weak
=
False
oid
=
database_name
=
klass
=
None
oid
=
database_name
=
None
def
__init__
(
self
,
data
):
def
__init__
(
self
,
data
):
self
.
data
=
data
self
.
data
=
data
...
...
src/ZODB/FileStorage/FileStorage.py
View file @
0632974d
...
@@ -535,8 +535,6 @@ class FileStorage(
...
@@ -535,8 +535,6 @@ class FileStorage(
except
TypeError
:
except
TypeError
:
raise
TypeError
(
"invalid oid {!r}"
.
format
(
oid
))
raise
TypeError
(
"invalid oid {!r}"
.
format
(
oid
))
load
=
load_current
# Keep load for now for old clients
def
load
(
self
,
oid
,
version
=
''
):
def
load
(
self
,
oid
,
version
=
''
):
"""Return pickle data and serial number."""
"""Return pickle data and serial number."""
assert
not
version
assert
not
version
...
...
src/ZODB/tests/StorageTestBase.py
View file @
0632974d
...
@@ -150,7 +150,7 @@ class StorageTestBase(ZODB.tests.util.TestCase):
...
@@ -150,7 +150,7 @@ class StorageTestBase(ZODB.tests.util.TestCase):
revid
=
ZERO
revid
=
ZERO
if
data
is
None
:
if
data
is
None
:
data
=
MinPO
(
7
)
data
=
MinPO
(
7
)
if
type
(
data
)
==
int
:
if
isinstance
(
data
,
int
)
:
data
=
MinPO
(
data
)
data
=
MinPO
(
data
)
if
not
already_pickled
:
if
not
already_pickled
:
data
=
zodb_pickle
(
data
)
data
=
zodb_pickle
(
data
)
...
...
tox.ini
View file @
0632974d
...
@@ -9,6 +9,7 @@ envlist =
...
@@ -9,6 +9,7 @@ envlist =
py39
py39
py310
py310
py311
py311
py312
pypy3
pypy3
docs
docs
coverage
coverage
...
@@ -18,9 +19,12 @@ envlist =
...
@@ -18,9 +19,12 @@ envlist =
usedevelop
=
true
usedevelop
=
true
package
=
wheel
package
=
wheel
wheel_build_env
=
.pkg
wheel_build_env
=
.pkg
pip_pre
=
py312: true
deps
=
deps
=
setenv
=
setenv
=
ZOPE_INTERFACE_STRICT_IRO
=
1
ZOPE_INTERFACE_STRICT_IRO
=
1
py312:
VIRTUALENV_PIP
=
23.1.2
py312:
PIP_REQUIRE_VIRTUALENV
=
0
commands
=
commands
=
zope-testrunner
--test-path
=
src -a 1000 {posargs:-vc}
zope-testrunner
--test-path
=
src -a 1000 {posargs:-vc}
extras
=
extras
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment