Skip to content

Commit 08a530d

Browse files
committed
[skip ci] Added more (missing) updates and skipped macosx from unittests
1 parent 7aa4157 commit 08a530d

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/regenerate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ def unittest_workflows(indentation=6):
246246
if os_type == "macos" and device_type == "gpu":
247247
continue
248248
for i, python_version in enumerate(PYTHON_VERSIONS):
249+
# Skip MacOSX and python 3.10
250+
if python_version == "3.10" and os_type == "macos":
251+
continue
249252
job = {
250253
"name": f"unittest_{os_type}_{device_type}_py{python_version}",
251254
"python_version": python_version,

.circleci/smoke_test/docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ ENV PATH /opt/conda/bin:$PATH
2828
RUN conda create -y --name python3.7 python=3.7
2929
RUN conda create -y --name python3.8 python=3.8
3030
RUN conda create -y --name python3.9 python=3.9
31+
RUN conda create -y --name python3.10 python=3.10
3132
SHELL [ "/bin/bash", "-c" ]
3233
RUN echo "source /usr/local/etc/profile.d/conda.sh" >> ~/.bashrc
3334
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.7 && conda install -y "Pillow>=5.3.0,!=8.3.*"
3435
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.8 && conda install -y "Pillow>=5.3.0,!=8.3.*"
3536
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.9 && conda install -y "Pillow>=5.3.0,!=8.3.*"
37+
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.10 && conda install -y "Pillow>=5.3.0,!=8.3.*"
3638
CMD [ "/bin/bash"]

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ supported Python versions.
2121
+--------------------------+--------------------------+---------------------------------+
2222
| ``torch`` | ``torchvision`` | ``python`` |
2323
+==========================+==========================+=================================+
24-
| ``main`` / ``nightly`` | ``main`` / ``nightly`` | ``>=3.7``, ``<=3.9`` |
24+
| ``main`` / ``nightly`` | ``main`` / ``nightly`` | ``>=3.7``, ``<=3.10`` |
2525
+--------------------------+--------------------------+---------------------------------+
2626
| ``1.10.2`` | ``0.11.3`` | ``>=3.6``, ``<=3.9`` |
2727
+--------------------------+--------------------------+---------------------------------+
@@ -159,8 +159,8 @@ so make sure that it is also available to cmake via the ``CMAKE_PREFIX_PATH``.
159159

160160
For an example setup, take a look at ``examples/cpp/hello_world``.
161161

162-
Python linking is disabled by default when compiling TorchVision with CMake, this allows you to run models without any Python
163-
dependency. In some special cases where TorchVision's operators are used from Python code, you may need to link to Python. This
162+
Python linking is disabled by default when compiling TorchVision with CMake, this allows you to run models without any Python
163+
dependency. In some special cases where TorchVision's operators are used from Python code, you may need to link to Python. This
164164
can be done by passing ``-DUSE_PYTHON=on`` to CMake.
165165

166166
TorchVision Operators

packaging/wheel/osx_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rm -rf vision
2121
git clone https://github.com/pytorch/vision
2222
pushd vision
2323

24-
desired_pythons=( "3.7" "3.8" "3.9" )
24+
desired_pythons=( "3.7" "3.8" "3.9" "3.10" )
2525
# for each python
2626
for desired_python in "${desired_pythons[@]}"
2727
do

0 commit comments

Comments
 (0)