Skip to content

Commit 8bd993f

Browse files
noisycomputationrallyemax
authored andcommitted
Revise README, increment version to 2.1.5
1 parent 3e1de4d commit 8bd993f

File tree

3 files changed

+53
-10
lines changed

3 files changed

+53
-10
lines changed

ChangeLog_highlights.rst

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
Recent Changes
44
==============
55

6+
Version 2.1.5 - 2019-11-27 (pymssql-linux)
7+
=================================================
8+
9+
- Add Python 3.8 support.
10+
11+
- Drop support for Python <= 3.6
12+
613
Version 3.0.3 - 2019-11-15
714
==================================
815

README.rst

+45-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,42 @@
11
.. default-role:: code
22

3-
The Pymssql Project is Being Discontinued
4-
==========================================
3+
The Original Pymssql Project Has Been Discontinued
4+
==================================================
5+
6+
The last working released version may or may not work with
7+
Python 3.7, but does not with with 3.8. To install it, run
8+
`pip install "pymssql<3.0"`.
9+
10+
This repository has been modified to work with both Python 3.7
11+
and 3.8. To build pymssql-linux, you should have:
12+
13+
* python >= 3.7 including development files.
14+
* Cython >= 0.29
15+
* FreeTDS >= 0.95 including development files. Research your
16+
OS-specific distribution channels. (Archlinux: freetds,
17+
Debian: freetds-common, freetds-dev)
18+
* gcc
19+
20+
To build, simply run `python setup.py build` in the project
21+
root directory.
522

6-
To install the last working released version, install with a version specifier like "pymssql<3.0".
7-
E.g. `pip install "pymssql<3.0"`
23+
It is possible to build a binary wheel package of pymssql-linux
24+
that pulls in and compiles a known-working version of FreeTDS.
25+
This option may become necessary if FreeTDS code evolves in a
26+
way that breaks compatibility with pymssql-linux, the development
27+
of which is, after all, frozen. Follow the binary wheel build
28+
instructions below in this case.
829

9-
Details and alternatives at: https://github.com/pymssql/pymssql/issues/668
30+
Details about the discontinuation of the original project
31+
and a discussion of alternatives to pymssql can be found
32+
at: https://github.com/pymssql/pymssql/issues/668
33+
34+
This fork is being maintained because pymssql works with
35+
older SQL Server versions that use deprecated TLS versions
36+
1.0 and 1.1. Alternatives that utilize Microsoft's native
37+
SQL driver require the installation of version 11.0 of the
38+
driver, which is difficult to achieve cleanly due to
39+
multiple dependencies on deprecated library versions.
1040

1141
pymssql - DB-API interface to Microsoft SQL Server
1242
==================================================
@@ -23,20 +53,26 @@ There is a Google Group for discussion at:
2353

2454
https://groups.google.com/forum/?fromgroups#!forum/pymssql
2555

26-
Building
27-
========
56+
Building Binary Wheels
57+
======================
2858

2959
To build manylinux Python wheels, ensure you have docker and docker-compose
3060
installed, and run the following in the project root directory:
3161

32-
.. code::
62+
.. code-block:: bash
63+
3364
docker-compose up -d
3465
docker exec pymssql-linux_x86_x64_1 ./io/dev/build_manylinux_wheels.sh
3566
docker exec pymssql-linux_i686_1 ./io/dev/build_manylinux_wheels.sh
3667
docker-compose down
3768
3869
To run unit tests, run the following before bringing the containers down:
3970

40-
.. code::
71+
.. code-block:: bash
72+
4173
docker exec pymssql-linux_x86_x64_1 ./io/dev/test_manylinux_wheels.sh
4274
docker exec pymssql-linux_i686_1 ./io/dev/test_manylinux_wheels.sh
75+
76+
If the build suceeds, the `dist` directory in the project root will
77+
contain .whl files for Python versions >= 3.7. These can be installed
78+
by running `pip install <filename.whl>`.

src/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define PYMSSQL_VERSION "2.1.4"
1+
#define PYMSSQL_VERSION "2.1.5"

0 commit comments

Comments
 (0)