Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/google-crc32c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ C toolchain.

# Currently Published Wheels

Wheels are currently published for CPython 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14
for multiple architectures. PyPy 3.9 and 3.10 are also supported for Linux.
Wheels are currently published for CPython 3.10, 3.11, 3.12, 3.13 and 3.14
for multiple architectures. PyPy 3.10 is also supported for Linux.
For information on building your own wheels please view [BUILDING.md](BUILDING.md).


Expand Down
2 changes: 1 addition & 1 deletion packages/google-crc32c/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[mypy]
python_version = 3.9
python_version = 3.10
exclude = tests/unit/resources/
3 changes: 1 addition & 2 deletions packages/google-crc32c/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@

# Constants
DEFAULT_PYTHON_VERSION = "3.14"
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]
ALL_PYTHON = list(UNIT_TEST_PYTHON_VERSIONS)
ALL_PYTHON.extend(["3.7"])

FLAKE8_VERSION = "flake8==6.1.0"
BLACK_VERSION = "black[jupyter]==23.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/google-crc32c/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ name = "google-crc32c"
version = "1.8.0"
description = "A python wrapper of the C library 'Google CRC32C'"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ if [[ -z ${BUILD_PYTHON} ]]; then
# Collect all target Python versions.
for PYTHON_BIN in /opt/python/*/bin; do
# H/T: https://stackoverflow.com/a/229606/1068170
if [[ "${PYTHON_BIN}" == *"39"* ]]; then
PYTHON_VERSIONS="${PYTHON_VERSIONS} ${PYTHON_BIN}"
continue
elif [[ "${PYTHON_BIN}" == *"310"* ]]; then
if [[ "${PYTHON_BIN}" == *"310"* ]]; then
PYTHON_VERSIONS="${PYTHON_VERSIONS} ${PYTHON_BIN}"
continue
elif [[ "${PYTHON_BIN}" == *"311"* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion packages/google-crc32c/scripts/osx/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ${OSX_DIR}/build_c_lib.sh
rm -rf /Users/kbuilder/.pyenv
git clone https://github.com/pyenv/pyenv.git /Users/kbuilder/.pyenv

SUPPORTED_PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12" "3.13" "3.14")
SUPPORTED_PYTHON_VERSIONS=("3.10" "3.11" "3.12" "3.13" "3.14")

for PYTHON_VERSION in ${SUPPORTED_PYTHON_VERSIONS[@]}; do
echo "Build wheel for Python ${PYTHON_VERSION}"
Expand Down
8 changes: 4 additions & 4 deletions packages/google-crc32c/scripts/osx/publish_python_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

set -eo pipefail

if [ -z "$(pyenv versions --bare | grep 3.8)" ]; then
echo "Python 3.8 is not installed. Installing..."
pyenv install 3.8
if [ -z "$(pyenv versions --bare | grep 3.10)" ]; then
echo "Python 3.10 is not installed. Installing..."
pyenv install 3.10
fi
pyenv shell 3.8
pyenv shell 3.10

python -m pip install "setuptools<71"

Expand Down
4 changes: 1 addition & 3 deletions packages/google-crc32c/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ classifiers =
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Expand All @@ -39,7 +37,7 @@ classifiers =

[options]
zip_safe = True
python_requires = >=3.8
python_requires = >=3.10

[options.extras_require]
testing = pytest
Expand Down
4 changes: 1 addition & 3 deletions packages/google-crc32c/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ def build_c_extension():
package_dir={"": "src"},
ext_modules=[module],
cmdclass={"build_ext": BuildExtWithDLL},
install_requires=[
"importlib_resources>=1.3 ; python_version < '3.9' and os_name == 'nt'"
],
install_requires=[],
)


Expand Down
1 change: 0 additions & 1 deletion packages/google-crc32c/src/google_crc32c/__config__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def modify_path():

extra_dll_dir = str(_resources_files("google_crc32c") / "extra-dll")
if os.path.isdir(extra_dll_dir):
# Python 3.8+ uses add_dll_directory.
os.add_dll_directory(extra_dll_dir)
except ImportError:
pass
Expand Down
Loading