Skip to content

Commit c19a2bd

Browse files
committed
PyQ Release 5.0.0
1 parent 99f3310 commit c19a2bd

28 files changed

+258
-669
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ MANIFEST
2020

2121
.pytest_cache/
2222

23+
.kdb/

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ addons:
5656
- gcc-multilib
5757
script:
5858
- pyq --versions
59-
- pyq -mpytest --pyargs pyq --cov pyq
60-
after_success:
61-
- bash <(curl -s https://codecov.io/bash)
59+
- pyq -mpytest --pyargs pyq
60+
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
61+
$QHOME/l32/q src/pyq/tests/test_embed.q;
62+
fi

HISTORY.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# PyQ History
22

3+
## PyQ 5.0
4+
5+
Released on 2020-06-02
6+
7+
Deprecations and removals:
8+
9+
- !688 - #1037 - remove python 2 support; python >=3.6 is now required;
10+
users of python 2.7 - see 4.2.x series.
11+
- !703 - drop embedPy
12+
13+
14+
Enhancements:
15+
16+
- !702 - #1051 - add support for deleting columns using `.delete()`
17+
- !707 - #1057 - add support for numpy 1.18
18+
- !703 - #1055 - use setuptools_scm to specify version
19+
- !697 - #1048 - drop 32-bit support
20+
21+
Bug fixes:
22+
23+
- !695 - #1047 Fix `K.inspect(str)`
24+
- !704 - #1054 Don't try to define scov when running under older versions of kdb+
25+
- !722 - #1068 Set program name in pyq.so, which fixes several issues related to venv and virtualenv20 modules on macOS.
26+
327
## PyQ 4.2.1
428

529
Released on 2019-02-12

MANIFEST.in

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,24 @@ include HISTORY.md
33
include LICENSE
44
include README.md
55
include src/pyq/_k.c
6-
include src/pyq/mv.c
76
include src/pyq/pyq.c
87
include src/pyq/pyq.def
98
include src/pyq/p.k
109
include src/pyq/python.q
1110
include src/pyq/pyq-operators.q
1211
include src/pyq/pyq-print.q
1312
include src/pyq.c
14-
include doc/*.rst
1513
include src/pyq/kx/*
1614
include src/pyq/kx/*/*
17-
include embedPy/p.q
18-
include embedPy/py.c
19-
include embedPy/py.h
20-
15+
prune .travis
16+
prune src/ipy
17+
prune doc
18+
exclude *.yml
19+
exclude .*.yml
20+
exclude *.sh
21+
exclude .git*
22+
exclude .mailmap
23+
exclude meta.yaml
24+
exclude tox.ini
25+
exclude .clang-format
26+
exclude .coveragerc

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = '4.2.1'
57+
version = '5.0.0'
5858
# The full version, including alpha/beta/rc tags.
5959
release = version
6060

embedPy

Lines changed: 0 additions & 1 deletion
This file was deleted.

meta.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
{% set name = "PyQ" %}
2-
{% set setup_data = load_setup_py_data() %}
32

43
package:
54
name: '{{ name|lower }}'
6-
version: '{{ setup_data.version }}'
5+
version: '5.0.0'
76

87
source:
98
path: .
109

1110
build:
1211
number: 0
13-
script_env:
14-
- QHOME
15-
- QLIC
16-
script: 'python setup.py install'
17-
requires:
18-
- kdb
12+
script:
13+
- python -m pip install -f file://`pwd`/dist pyq
1914
detect_binary_files_with_prefix: false
2015
has_prefix_files:
2116
- q/pyq-config.q
2217

2318
requirements:
24-
host:
19+
build:
2520
- python
21+
- setuptools_scm
2622
- kdb
2723
run:
2824
- python
@@ -35,6 +31,7 @@ test:
3531
- pytest-pyq
3632
- numpy
3733
commands:
34+
- echo .z.l | q
3835
# NB: For this to work, use conda build . --no-long-test-prefix
3936
- pyq --versions
4037
- pyq -mpytest --pyargs pyq

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build-system]
2+
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[pytest]
2-
addopts = --showlocals
2+
addopts = --showlocals -p no:faulthandler

0 commit comments

Comments
 (0)