Commit Graph

582 Commits (master)

Author SHA1 Message Date
Tim Burke eca7e3605e Add release notes to PyPI project URLs
Change-Id: I8cd7f190bed6e7ae8d4c86302d8f0b976d8f1844
2023-08-03 15:46:04 -07:00
Zuul e965dce7b7 Merge "Test on CentOS 9 Stream" 2023-08-02 00:03:45 +00:00
Zuul 97aa0f90c9 Merge "Switch from yasm to nasm" 2023-07-13 19:40:48 +00:00
Tim Burke d6e198797d Switch from yasm to nasm
... and build it from source so we can build latest ISA-L
(otherwise, the version shipped by some distros would
complain about a %use directive).

Change-Id: Iddba90e65c0eac135a71af920b3433775b9c8f0e
2023-07-11 13:55:29 -07:00
Tim Burke 8e71d37d31 Test on CentOS 9 Stream
Change-Id: Icc4d156748f9cd5b64a2a37cec53f51b13f9a0eb
2023-07-11 13:30:12 -07:00
Tim Burke 41ae583b1e Test under py311
Change-Id: I298000d12dbf3e702e00c9e8d754c86ee077cd32
2023-07-11 12:35:45 -07:00
Tim Burke 415efe08f2 Fix gate
Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/881890
Change-Id: I9ebf7457e0fc0c98711ba1b093b0f1b8a9f25dff
2023-05-01 08:49:55 -07:00
wangjiaqi07 4ce04d1d5c remove unicode from code
Change-Id: Ic7dba15d4ec03b92d96e85bc6fa2f3a2c87a7ac7
2022-08-25 10:56:22 +08:00
Tim Burke ce4c9f6b82 CI: Compile liberasurecode from source for py35 tests
Those jobs run on xenial, and the distro package is ancient.

Change-Id: I366738154cf6d81874bd3da1b6aa23d1915adcd0
2022-05-02 10:36:46 -07:00
Tim Burke 008840ca19 Prep for 1.6.1 release
Change-Id: I37735a81131612464caff1d08b78d5efb78d694c
2022-04-13 22:10:27 -07:00
Zuul 7f05a784fb Merge "Use hacking checks" 2022-04-14 05:05:51 +00:00
Tim Burke 2884a6b882 Use hacking checks
Change-Id: I5ed0829d1124c813fb3457cf45152a0f175cebea
2022-04-08 20:29:20 -07:00
Tim Burke 86e9f03c31 Restrict ourselves to Python's Stable ABI
This allows us to build shared libraries that work across minor CPython
releases. See also: https://docs.python.org/3/c-api/stable.html

To build abi3 wheels, run something like

   python setup.py bdist_wheel --py-limited-api=cp35

Change-Id: Iaa747d58c6ac9dd64c5e4d3b5fdd4e56e8e2cb5e
2022-04-06 10:10:16 -07:00
Tim Burke 836dc916f0 Add py310 to default tox envlist
Change-Id: Ia2b346f6b1f96a86b6ca84c06b3e4c6197a17ab5
2022-04-05 12:08:08 -07:00
Tim Burke 4c5dc672d9 Deprecate Jerasure support
It's been on its last legs ever since it got pulled from UTK and bitbucket.

See also: the notice at http://web.eecs.utk.edu/~jplank/plank/www/software.html

Change-Id: I28e050a52a2dcf738b1ce7edcfdc3fd78172d025
2022-04-05 12:07:37 -07:00
Tim Burke 067d227426 CI: Use https:// instead of git:// when cloning ISA-L
Change-Id: Ic6e513f9df5ff4bfc32a364959d85a1556106990
2022-04-05 11:53:00 -07:00
Tim Burke b50040969a Set long_description_content_type
Otherwise, `twine check` warns

   warning: `long_description_content_type` missing. defaulting to `text/x-rst`.

Change-Id: I272f50c523fbc425f169ebdcf2f4ba8e938ee1f4
2022-03-11 13:53:33 -08:00
Tim Burke c73609967b Test under py310
Change-Id: I740ce943e8ff3021393d3ecb2e9ad7a52cbaa7b7
2022-03-11 11:02:48 -08:00
Zuul 516584ab5f Merge "Move CI from CentOS 8 to CentOS 8 Stream" 2021-12-08 04:56:48 +00:00
Tim Burke cbfd4a09ab Move CI from CentOS 8 to CentOS 8 Stream
See also: http://lists.opendev.org/pipermail/service-announce/2021-December/000029.html

Change-Id: I419e5386b7a50c915f251e4bc72d88085183d799
2021-12-07 16:17:30 -08:00
Zuul ec7c246fc2 Merge "Docs build cleanup" 2021-12-03 20:39:24 +00:00
Zuul d74b43b2a4 Merge "Switch test runner from nose to pytest" 2021-12-03 20:05:41 +00:00
Tim Burke b90881f866 Docs build cleanup
Break doc requirements out to a separate file in the doc/ tree.

Drop upper-bound on sphinx -- the gate job has been pulling from
upper-constraints, anyway.

Clean up a warning:

   WARNING: html_static_path entry '_static' does not exist

Change-Id: I70010029060442fb31d96fce57e8f44a55424b7f
2021-11-29 11:16:56 -08:00
Tim Burke b34ab1b279 Move license file
Previously, building a wheel would say something about

   adding license file "AUTHORS" (matched pattern "AUTHORS*")

but not include the *actual* license.

Change-Id: I3c0d376eafed464a10eeb383c313c45e9f451526
2021-11-27 16:47:19 -08:00
Tim Burke 033fc066f3 Clean up compile warning
Previously, compiling would complain

   warning: comparison of integer expressions of different signedness:
   ‘int’ and ‘uint32_t’

Change-Id: Ic839ab02189103975985fc0557d6846052635b14
2021-10-25 21:49:40 -07:00
Tim Burke 61d1dd7d1e Clean up install warning
Previously, running `python setup.py install` would include a

   UserWarning: Unknown distribution option: bugtrack_url

Apparently, bugtrack_url isn't really a thing (anymore?), so include a
custom project URL instead.

Change-Id: I05dd64c63fe07e152b89a7f48ae7a4ab889e9b64
2021-10-25 21:45:31 -07:00
Zuul 218d5c5996 Merge "Add trove classifiers" 2021-10-25 20:35:51 +00:00
Zuul ec6074972d Merge "Update some project URLs" 2021-10-21 05:53:04 +00:00
Zuul 534224f31a Merge "Switch IRC references from freenode to OFTC" 2021-10-21 05:18:02 +00:00
Zuul 3d8db28be8 Merge "Skip building wheels for release jobs" 2021-10-21 01:04:47 +00:00
Zuul 96025e9326 Merge "Clean up extra spaces" 2021-10-15 17:36:27 +00:00
Tim Burke eb1aae1fe3 Pin ISA-L to v2.30.0
This is before they started having %use directives in their ASM.

Change-Id: Ieeed424bb43587ec93ae365afc288014e817947d
2021-10-15 09:03:02 -07:00
jinyuanliu e82d2926e0 Clean up extra spaces
Although these errors are not important, they affect the code
specification.

Change-Id: Ibfe897a406db027ac716fa216a9b8fba5885ec19
2021-09-15 02:05:47 -04:00
Zuul 3cc64adebd Merge "Add a __repr__ for ECPyECLibDriver" 2021-06-08 23:04:04 +00:00
Tim Burke 45299ec4c9 Skip building wheels for release jobs
Change-Id: I94224863b67a2ff264594dec1b958c29bef08425
2021-06-08 14:21:31 -07:00
Tim Burke 90c166617c Add trove classifiers
Change-Id: I4d6ddf874dc54009634ae6a4d309e18198921a1c
2021-06-01 12:26:23 -07:00
Tim Burke e4cc1733a2 Update some project URLs
Change-Id: I8945117faa1e8d0c9029e990c1060e6ee78100ed
2021-06-01 12:25:25 -07:00
Tim Burke 55a9c980ae Switch IRC references from freenode to OFTC
See http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
and http://lists.opendev.org/pipermail/service-discuss/2021-May/000249.html
for more information.

Change-Id: I897cefeb2dd1a5f3b097fc89acc9d336f5f71749
2021-06-01 08:17:04 -07:00
Matthew Oliver f8103903ae Add non-voting pyeclib python3 unit test jobs
Add non-voting pyeclib-libec-jobs-arm64 project template.
It includes 1 non-voting project job:
* libec-pyeclib-unit-arm64

And running on seperate pipeline `check-arm64`.

Change-Id: I14a2ebb5424ff9c76a3fd273aee047baba4d7fc1
2021-05-27 17:36:19 -07:00
Zuul 04b0e24fee Merge "Use Py_ssize_t when calling PyArg_Parse" 2021-05-11 23:37:41 +00:00
Tim Burke a21dc9f46f Switch test runner from nose to pytest
Change-Id: I3c2518c5c9bfc0bf6ce58cdc82ddafb45c4c5d76
2021-05-11 16:02:42 -07:00
Zuul 77028c8d87 Merge "Stop using a mutable default param in fragments_needed" 2021-05-11 06:41:04 +00:00
Tim Burke 8d6bc0ac70 Add a __repr__ for ECPyECLibDriver
Change-Id: I1a22049ee42fc5ee7832989e75c6c9b7147db232
2021-05-10 18:11:32 -07:00
Tim Burke a7bf798b10 Use Py_ssize_t when calling PyArg_Parse
This has been available since Python 2.5, and our old int-based approach
stopped working in Python 3.10. From https://bugs.python.org/issue36381:

   Raise warning for # use without PY_SSIZE_T_CLEAN.

   * 3.8: PendingDeprecationWarning
   * 3.9: DeprecationWarning
   * 3.10 (or 4.0): Remove PY_SSIZE_T_CLEAN and use Py_ssize_t always

Change-Id: I5394268aaf4c409a75f795a44c092fd5101178cd
2021-05-10 18:10:44 -07:00
Tim Burke c3313b3ebc Stop using a mutable default param in fragments_needed
Change-Id: I35454f050c8fb24795182fb3fe55c3bb4076e6fc
2021-05-07 16:09:35 -07:00
Tim Burke 5355c0268b Fix reconstruct docstring
Change-Id: Ia3bbea67c65b33262307085c48fc3401988bbc93
2021-05-07 16:08:22 -07:00
Tim Burke ab49ad922d Test under py39
Change-Id: Ic6a51675dbf1c4c7a7540d9a0d80ee33cb064b80
2021-03-30 14:48:10 -07:00
Tim Burke f784efde00 Move liberasurecode-git behavior into all tox envs with compilelibs marker
This should let us use that to test against master libec in the gate,
rather than relying on legacy job cruft.

It may complicate cross-project dependencies, but I don't know that we
did that much anyways.

Add a job to test against master libec on centos8, as well.

Change-Id: I33553d9a3432d97a28e4ea685ffc7bc4fb92a340
2020-09-24 11:46:42 -07:00
Tim Burke f2f83215b6 Fix liberasurecode-git tox target
Change-Id: Ia4e4421d9e8bb530aafa495ae7f80645bb2cf5fa
Related-Change: I065ca37e5d69bb6ee3c7f00374af2e9c3da7739f
2020-09-23 21:55:28 -07:00
Tim Burke 2c10fdf2b3 Update gate jobs
* Add py38 job
* Add py36-on-centos8 job

Change-Id: I020afad0bfe5144786bb8b6e1a99386f8c78a908
2020-09-22 22:49:19 -07:00