Skip to content

Commit

Permalink
[#692] Add support for Python 3.11. (#693)
Browse files Browse the repository at this point in the history
* Try testing on CentOS 5 under Docker.

* Replaced tabs with 4 spaces.

* Updated module versions in pavement.py to match server master.

* Try fixing python-info-action.

* Test on CentOS 6.10 under Docker too.

* Try fixing old CentOS woes.

* Fixed CentOS 6.10 vault repo address.

* Do not use actions/cache on CentOS 6.10.

* Also test on Ubuntu Server 14.04/16.04 under Docker.

* Also test on macOS 11.

* macos-11 not available for us yet.

* Update for centos-5 passwd file.

* Update release version.

* Iniatil deps and lint.

* Move to non namespace package.

* Move to @Implementer.

* Move test code to chevah_compat and remove six and future.

* use distro instead of ld. remove  skippy3

* Slow test update.

* Update normal tests.

* Update elevated tests.

* Fix more tests.

* fix ci test run.

* Use newer python3.

* Try to define pam and arpy deps only on Linux. Mac and AIX will not have pam support.

* Use latest python_pam

* Update requirements.

* Try to debug centos 8.2 pam.

* Try to fix pywin32 on windowd.

* Run CI on windows with bash.

* Use pythia.

* Use pythia.

* update deps.

* Merge master.

* fix lint.

* Better unicode/binary handling for the test file.

* 1.0.4 fix md5 sum.

* 1.0.5 add skipOnPy3.

* 1.0.6 First win fixes for py3.

* 1.0.7 Win filesytem fixes.

* Cleanup md5 not used.

* Fix  tests after merge.

* Update after merge with master.

* Remove pywin32 post install.

* Try to debug windows failed ci.

* More updates after windows run.

* more ci fixes.

* Update for 1.0.8.

* Don't show password in the error. This is just dev code, but still.

* Update docker tests. Fix linux tests. Enable win debug.

* More win fixes.

* more win fixes.

* Initial 3.11 changes.

* Enable CI for any PR.

* Get wheel available for dev.

* Install wheel at the top level.

* Try fixing Docker-based testing in one go.

* Also install libxcrypt-compat on Rocky Linux 9.

* Update after review.

* Prepare new release.

* Fix pip.

* Update pythia.sh.

* Current ARM64 packages were done on Amazon Linux 2 manually.

---------

Co-authored-by: dumol <dumol@gnome.org>
  • Loading branch information
adiroiban and dumol authored Jul 4, 2023
1 parent 22902d9 commit d4a3dfc
Show file tree
Hide file tree
Showing 11 changed files with 298 additions and 1,328 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/bare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ name: Bare
on:
push:
branches: [ master ]
paths:
- '**.py'
pull_request:
branches: [ master ]
paths:
- '**.py'

concurrency:
group: ci-${{ github.ref }}
Expand Down
22 changes: 6 additions & 16 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ name: Docker
on:
push:
branches: [ master ]
paths:
- '**.py'
pull_request:
branches: [ master ]
paths:
- '**.py'


concurrency:
Expand All @@ -41,11 +36,9 @@ jobs:
- alpine:3.18
- amazonlinux:2
- amazonlinux:2022
- centos:8.2.2004
- centos-stream9-fips
- oraclelinux:8
- ubuntu:14.04
- ubuntu:16.04
- rockylinux:9
- ubuntu:18.04
- ubuntu:22.04

# ubuntu-latest is GitHub's newest well-suported Linux distro.
Expand All @@ -54,19 +47,16 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# On Alpine, OpenSSL must be updated to latest version for python-package.
- name: Alpine setup
if: startsWith(matrix.container, 'alpine')
run: |
apk upgrade -U
apk add git bash shadow sudo curl
run: apk add git bash shadow sudo curl

- name: Amazon Linux 2022 setup
if: matrix.container == 'amazonlinux:2022'
run: yum -y install libxcrypt-compat
if: matrix.container == 'amazonlinux:2022' || matrix.container == 'rockylinux:9'
run: yum -y install libxcrypt-compat findutils

- name: Yum-based setup
if: startsWith(matrix.container, 'centos') || startsWith(matrix.container, 'amazon') || startsWith(matrix.container, 'oracle')
if: startsWith(matrix.container, 'rocky') || startsWith(matrix.container, 'amazon') || startsWith(matrix.container, 'oracle')
run: yum -y install git tar which sudo

- name: Ubuntu setup
Expand Down
9 changes: 0 additions & 9 deletions brink.conf

This file was deleted.

Loading

0 comments on commit d4a3dfc

Please sign in to comment.