Skip to content

Commit fbe2143

Browse files
stompchickenChexDev
authored andcommitted
Internal change.
PiperOrigin-RevId: 503938136
1 parent 65ef2a3 commit fbe2143

File tree

7 files changed

+3
-13
lines changed

7 files changed

+3
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9"]
18+
python-version: ["3.8", "3.9", "3.10"]
1919
os: [ubuntu-latest]
2020

2121
steps:

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sphinx:
99
fail_on_warning: false
1010

1111
python:
12-
version: 3.7
12+
version: 3.8
1313
install:
1414
- requirements: requirements/requirements-docs.txt
1515
- requirements: requirements/requirements.txt

chex/_src/dataclass_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"""Tests for `dataclass.py`."""
1616
import copy
1717
import dataclasses
18-
import sys
1918
from typing import Any, Mapping, TypeVar, Generic
2019

2120
from absl.testing import absltest
@@ -499,12 +498,6 @@ def _is_leaf(value) -> bool:
499498
('not_mappable', False),
500499
)
501500
def test_generic_dataclass(self, mappable):
502-
# Running under Python 3.6 results in error "TypeError: Cannot inherit from
503-
# plain Generic", I'm speculating that this is a bug in cpython since
504-
# subsequent versions work
505-
if sys.version_info < (3, 7):
506-
self.skipTest('Skip test on Python version < 3.7')
507-
508501
T = TypeVar('T')
509502

510503
@chex_dataclass(mappable_dataclass=mappable)

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def _recursive_add_annotations_import():
9494
'sphinx.ext.intersphinx',
9595
'sphinx.ext.linkcode',
9696
'sphinx.ext.napoleon',
97-
'sphinxcontrib.bibtex',
9897
'sphinxcontrib.katex',
9998
'sphinx_autodoc_typehints',
10099
'sphinx_rtd_theme',

requirements/requirements-docs.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
sphinx==4.5.0
22
sphinx_rtd_theme==1.0.0
33
sphinxcontrib-katex==0.8.6
4-
sphinxcontrib-bibtex==1.0.0
54
sphinx-autodoc-typehints==1.11.1
65
IPython==7.16.3
76
ipykernel==5.3.4

requirements/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
absl-py>=0.9.0
2-
dataclasses>=0.7; python_version>="3.6" and python_version<"3.7"
32
typing_extensions>=4.2.0; python_version<"3.11"
43
dm-tree>=0.1.5
54
jax>=0.1.55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _parse_requirements(path):
5858
os.path.join(_CURRENT_DIR, 'requirements', 'requirements-test.txt')),
5959
zip_safe=False, # Required for full installation.
6060
include_package_data=True,
61-
python_requires='>=3.7',
61+
python_requires='>=3.8',
6262
classifiers=[
6363
'Development Status :: 5 - Production/Stable',
6464
'Environment :: Console',

0 commit comments

Comments
 (0)