Skip to content

Commit

Permalink
Use patch_mode() instead of removing python_requires from package_id
Browse files Browse the repository at this point in the history
  • Loading branch information
BentouDev committed Feb 11, 2024
1 parent aba0555 commit 369883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def export(self):
def package_id(self):
del self.info.settings.compiler
del self.info.settings.build_type
del self.info.python_requires
self.info.python_requires.patch_mode()

def validate(self):
if self.info.settings.os not in ['Windows', 'Linux']:
Expand Down

0 comments on commit 369883b

Please sign in to comment.