Skip to content

Commit

Permalink
Fix openssl and zlib version compatibility
Browse files Browse the repository at this point in the history
This matches recent conan-center-index practices.
  • Loading branch information
dean0x7d committed Nov 17, 2023
1 parent 91de7df commit d2c2c0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## v1.8.2 | In development
## v1.8.2 | 2023-11-17

- Fixed a packaging error on Linux in case the `bin` directory was not created during build.
- Fixed `openssl` and `zlib` version compatibility by requiring version ranges instead of exact versions.

## v1.8.1 | 2023-10-02

Expand Down
6 changes: 3 additions & 3 deletions core/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def requirements(self):
self.requires("sqlite3/3.42.0")
self.requires("bzip2/1.0.8")
self.requires("xz_utils/5.4.2")
self.requires("zlib/1.2.13")
self.requires("zlib/[>=1.2.11 <2]")
if self.settings.os == "Linux":
self.requires("libffi/3.4.4")
self.requires("libuuid/1.0.3")
Expand All @@ -63,9 +63,9 @@ def requirements(self):
self.requires("mpdecimal/2.5.0")

if self.pyversion >= scm.Version("3.11.0"):
self.requires("openssl/3.1.2")
self.requires("openssl/[>=3 <4]")
else:
self.requires("openssl/1.1.1w")
self.requires("openssl/[>=1.1 <2]")

@property
def pyversion(self):
Expand Down

0 comments on commit d2c2c0d

Please sign in to comment.