Skip to content

Commit

Permalink
v3.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Nov 29, 2023
1 parent d13e6f4 commit 6d6995c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
workflow_dispatch:

env:
OPENSSL_VER: openssl-1.1.1t
OPENSSL_VER: openssl-1.1.1w
OPENLDAP_VER: openldap-2.4.59
PYTHONLDAP_VER: python-ldap-3.4.3
PYTHONLDAP_VER: python-ldap-3.4.4
CIBW_TEST_COMMAND: python -c"import ldap;print(ldap.__version__)"
CIBW_SKIP: "pp* cp36*"
MSBUILDTREATHIGHERTOOLSVERSIONASCURRENT: 1
Expand All @@ -22,7 +22,7 @@ jobs:
VS_PLATFORM: x64
OPENSSL_CONFIG: VC-WIN64A-masm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: microsoft/[email protected]
with:
msbuild-architecture: x64
Expand All @@ -35,7 +35,7 @@ jobs:
shell: cmd
- run: build_python-ldap.cmd
shell: cmd
- uses: pypa/cibuildwheel@v2.12.3
- uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_ARCHS_WINDOWS: AMD64
- uses: actions/upload-artifact@v3
Expand All @@ -51,7 +51,7 @@ jobs:
VS_PLATFORM: Win32
OPENSSL_CONFIG: VC-WIN32
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: microsoft/[email protected]
with:
msbuild-architecture: x86
Expand All @@ -65,7 +65,7 @@ jobs:
shell: cmd
- run: build_python-ldap.cmd
shell: cmd
- uses: pypa/cibuildwheel@v2.12.3
- uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_ARCHS_WINDOWS: x86
- uses: actions/upload-artifact@v3
Expand All @@ -82,7 +82,7 @@ jobs:
# VS_PLATFORM: ARM64
# OPENSSL_CONFIG: VC-WIN64-ARM
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - uses: microsoft/[email protected]
# with:
# msbuild-architecture: arm64
Expand All @@ -91,7 +91,7 @@ jobs:
# arch: amd64_arm64
# - run: build.cmd
# shell: cmd
# - uses: pypa/cibuildwheel@v2.12.3
# - uses: pypa/cibuildwheel@v2.16.2
# env:
# CIBW_SKIP: "pp* cp36* cp37* cp38* cp39* cp310*"
# CIBW_ARCHS_WINDOWS: ARM64
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# python-ldap-build

Build [python-ldap](https://github.com/python-ldap/python-ldap) wheels for Windows using [GitHub Actions](https://github.com/cgohlke/python-ldap-build/actions/workflows/wheel.yml).

The wheels can be downloaded from the [Releases](https://github.com/cgohlke/python-ldap-build/releases) page.

Install a wheel on the command line, for example for Python 3.11 64-bit:

py.exe -3.11 -m pip install python_ldap-3.4.4-cp311-cp311-win_amd64.whl
2 changes: 1 addition & 1 deletion build_openssl.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@echo on
setlocal

:: set OPENSSL_VER=openssl-1.1.1t
:: set OPENSSL_VER=openssl-1.1.1w
:: set OPENSSL_CONFIG=VC-WIN64A-masm
:: set PATH=%PATH%;X:\Perl\bin

Expand Down
2 changes: 1 addition & 1 deletion build_python-ldap.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@echo on
setlocal

:: set PYTHONLDAP_VER=python-ldap-3.4.3
:: set PYTHONLDAP_VER=python-ldap-3.4.4

curl -L -o %PYTHONLDAP_VER%.tar.gz https://github.com/python-ldap/python-ldap/archive/refs/tags/%PYTHONLDAP_VER%.tar.gz
if errorlevel 1 exit /B 1
Expand Down

0 comments on commit 6d6995c

Please sign in to comment.