python-simple-salesforce fails to build with Python 3.15.0a8. The failure is in all 6 tests similar: _________________________ TestSFBulk2Type.test_upsert __________________________ self = <simple_salesforce.tests.test_bulk2.TestSFBulk2Type testMethod=test_upsert> @responses.activate def test_upsert(self): """Test bulk2 upsert records""" operation = Operation.upsert total = len(self.upsert_data) ingest_responses(operation, processed=total, failed=0) > results = ingest_data( operation, self.upsert_data, external_id_field="Custom_Id__c" ) simple_salesforce/tests/test_bulk2.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ simple_salesforce/tests/test_bulk2.py:169: in ingest_data results = getattr(client.bulk2.Contact, operation)(csv_file, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ simple_salesforce/bulk2.py:754: in upsert return self._upload_file( simple_salesforce/bulk2.py:665: in _upload_file result = self._upload_data( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <simple_salesforce.bulk2.SFBulk2Type object at 0x7fce6d2fe250> operation = <Operation.upsert: 'upsert'> data = 'Custom_Id__c,LastName\nCustomID1,X\nCustomID2,Y\n' column_delimiter = <ColumnDelimiter.COMMA: 'COMMA'> line_ending = <LineEnding.LF: 'LF'>, external_id_field = 'Custom_Id__c' wait = 5 def _upload_data( self, operation, data: Union[str, Tuple[int, str]], column_delimiter=ColumnDelimiter.COMMA, line_ending=LineEnding.LF, external_id_field=None, wait=5, ) -> Dict: """Upload data to Salesforce""" if len(data) == 2: total, data = data else: total = _count_csv( data=data, line_ending=line_ending, skip_header=True ) res = self._client.create_job( operation, column_delimiter=column_delimiter, line_ending=line_ending, external_id_field=external_id_field, ) job_id = res["id"] try: if res["state"] == JobState.open: self._client.upload_job_data(job_id, data) self._client.close_job(job_id) self._client.wait_for_job(job_id, False, wait) res = self._client.get_job(job_id, False) return { "numberRecordsFailed": int(res["numberRecordsFailed"]), "numberRecordsProcessed": int( res["numberRecordsProcessed"] ), "numberRecordsTotal": int(total), "job_id": job_id, } > raise SalesforceBulkV2LoadError( f"Failed to upload job data. Response content: {res}" ) E simple_salesforce.exceptions.SalesforceBulkV2LoadError: Failed to upload job data. Response content: OrderedDict({'apiVersion': 52.0, 'columnDelimiter': 'COMMA', 'concurrencyMode': 'Parallel', 'contentType': 'CSV', 'id': 'Job-1', 'jobType': 'V2Ingest', 'lineEnding': 'LF', 'object': 'Contact', 'operation': 'Operation.upsert', 'state': 'JobState.open'}) simple_salesforce/bulk2.py:612: SalesforceBulkV2LoadError =========================== short test summary info ============================ FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_get_failed_record_results FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_get_unprocessed_record_results FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_hard_delete FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_insert - ... FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_query - s... FAILED simple_salesforce/tests/test_bulk2.py::TestSFBulk2Type::test_upsert - ... ============== 6 failed, 102 passed in 86442.07s (1 day, 0:00:42) ============== https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10332882-python-simple-salesforce/ For all our attempts to build python-simple-salesforce with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-simple-salesforce/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.